Go to the documentation of this file.
   37 #ifndef LVR2_ALGORITHM_COLORALGORITHMS_H_ 
   38 #define LVR2_ALGORITHM_COLORALGORITHMS_H_ 
   43 #include <boost/optional.hpp> 
   67 template<
typename BaseVecT>
 
  111 template<
typename BaseVecT>
 
  120 #include "lvr2/algorithm/ColorAlgorithms.tcc" 
  
Rgb8Color calcColorForFaceCentroid(const BaseMesh< BaseVecT > &mesh, const PointsetSurface< BaseVecT > &surface, FaceHandle faceH)
Calculate the color for the centroid of a given face.
Handle to access faces of the mesh.
static Rgb8Color floatToRainbowColor(float value)
Convert a given float to an 8-bit RGB-Color, using the rainbowcolor scale.
std::array< uint8_t, 3 > Rgb8Color
std::shared_ptr< PointsetSurface< BaseVecT > > PointsetSurfacePtr
An interface class to wrap all functionality that is needed to generate a surface approximation from ...
static Rgb8Color floatToGrayScaleColor(float value)
Convert a given float to an 8-bit Grayscale-Color.
Interface for triangle-meshes with adjacency information.
boost::optional< DenseVertexMap< Rgb8Color > > calcColorFromPointCloud(const BaseMesh< BaseVecT > &mesh, const PointsetSurfacePtr< BaseVecT > surface)
Calculates the color of each vertex from the point cloud.
lvr2
Author(s): Thomas Wiemann 
, Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr 
autogenerated on Wed Mar 2 2022 00:37:23