#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"
Go to the source code of this file.
|
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...
|
|