MEPP2 Project
Namespaces | Typedefs | Functions
color_mesh.h File Reference
#include <CGAL/boost/graph/properties.h>
#include <boost/foreach.hpp>
#include <limits>
#include <stdexcept>
#include <cmath>
#include <vector>
Include dependency graph for color_mesh.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 FEVV
 Interfaces for plugins These interfaces will be used for different plugins.
 
 FEVV::Filters
 

Typedefs

typedef std::vector< float > FEVV::Filters::ColorMeshLUT
 

Functions

ColorMeshLUT FEVV::Filters::make_LUT (bool color_in_0_255=true, unsigned int colors_nbr=256, float h1=240, float h2=0)
 Create a RGB LUT based on an HSV range. Default range creates a blue-cyan-green-yellow-red gradient. More...
 
template<typename Descriptor , typename PropertyMap , typename ColorMap , typename MapType = typename PropertyMap::value_type>
void FEVV::Filters::color_descriptor_from_map (const Descriptor &d, const PropertyMap &prop_map, ColorMap &color_pmap, const MapType min_metric, const MapType max_metric, const ColorMeshLUT &colors)
 Set the color for the descriptor using a numerical property map and the color array given. More...
 
template<typename HalfedgeGraph , typename PropertyMap , typename ColorMap , typename MapType = typename PropertyMap::value_type>
void FEVV::Filters::color_faces_from_map (const HalfedgeGraph &g, const PropertyMap &prop_map, ColorMap &color_pmap, const MapType min_metric, const MapType max_metric, const ColorMeshLUT &colors=make_LUT())
 Fill the color map for the faces of a mesh using a numerical property map. More...
 
template<typename HalfedgeGraph , typename PropertyMap , typename ColorMap , typename MapType = typename PropertyMap::value_type>
void FEVV::Filters::color_vertices_from_map (const HalfedgeGraph &g, const PropertyMap &prop_map, ColorMap &color_pmap, const MapType min_metric, const MapType max_metric, const ColorMeshLUT &colors=make_LUT())
 Fill the color map for the vertices of a mesh using a numerical property map. More...
 
template<typename HalfedgeGraph , typename PropertyMap , typename ColorMap , typename MapType = typename PropertyMap::value_type>
void FEVV::Filters::color_halfedges_from_map (const HalfedgeGraph &g, const PropertyMap &prop_map, ColorMap &color_pmap, const MapType min_metric, const MapType max_metric, const ColorMeshLUT &colors=make_LUT())
 Fill the color map for the halfedges of a mesh using a numerical property map. More...
 
template<typename Descriptor , typename BooleanMap , typename ColorMap , typename Color = typename boost::property_traits< ColorMap >::value_type>
void FEVV::Filters::color_descriptor_from_bool (const Descriptor &d, const BooleanMap &prop_map, ColorMap &color_pmap, const Color &color1, const Color &color2)
 Set the color for the descriptor using a boolean property map and the colors given. More...
 
template<typename HalfedgeGraph , typename BooleanMap , typename ColorMap , typename Color = typename boost::property_traits< ColorMap >::value_type>
void FEVV::Filters::color_faces_from_bool_map (const HalfedgeGraph &g, const BooleanMap &prop_map, ColorMap &color_pmap, const Color &color1, const Color &color2)
 Fill the color map for the faces of a mesh using a boolean property map. More...
 
template<typename HalfedgeGraph , typename BooleanMap , typename ColorMap , typename Color = typename boost::property_traits< ColorMap >::value_type>
void FEVV::Filters::color_vertices_from_bool_map (const HalfedgeGraph &g, const BooleanMap &prop_map, ColorMap &color_pmap, const Color &color1, const Color &color2)
 Fill the color map for the vertices of a mesh using a boolean property map. More...
 
template<typename HalfedgeGraph , typename BooleanMap , typename ColorMap , typename Color = typename boost::property_traits< ColorMap >::value_type>
void FEVV::Filters::color_halfedge_from_bool_map (const HalfedgeGraph &g, const BooleanMap &prop_map, ColorMap &color_pmap, const Color &color1, const Color &color2)
 Fill the color map for the halfedges of a mesh using a boolean property map. More...