Namespaces | Typedefs | Functions
ColorAlgorithms.hpp File Reference
#include <vector>
#include <array>
#include <boost/optional.hpp>
#include "lvr2/geometry/BaseMesh.hpp"
#include "lvr2/reconstruction/PointsetSurface.hpp"
#include "lvr2/attrmaps/AttrMaps.hpp"
#include "lvr2/algorithm/ColorAlgorithms.tcc"
Include dependency graph for ColorAlgorithms.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 lvr2
 

Typedefs

using lvr2::Rgb8Color = std::array< uint8_t, 3 >
 

Functions

template<typename BaseVecT >
Rgb8Color lvr2::calcColorForFaceCentroid (const BaseMesh< BaseVecT > &mesh, const PointsetSurface< BaseVecT > &surface, FaceHandle faceH)
 Calculate the color for the centroid of a given face. More...
 
template<typename BaseVecT >
boost::optional< DenseVertexMap< Rgb8Color > > lvr2::calcColorFromPointCloud (const BaseMesh< BaseVecT > &mesh, const PointsetSurfacePtr< BaseVecT > surface)
 Calculates the color of each vertex from the point cloud. More...
 
static Rgb8Color lvr2::floatToGrayScaleColor (float value)
 Convert a given float to an 8-bit Grayscale-Color. More...
 
static Rgb8Color lvr2::floatToRainbowColor (float value)
 Convert a given float to an 8-bit RGB-Color, using the rainbowcolor scale. More...
 


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:25