struct mola::NDT::TRenderOptions
Overview
Rendering options, used in getAs3DObject()
#include <NDT.h> struct TRenderOptions: public mrpt::config::CLoadableOptions { // fields bool points_visible = false; float point_size = 1.0f; mrpt::img::TColorf points_color {.0f, .0f, 1.0f}; bool planes_visible = true; mrpt::img::TColorf planes_color {1.0f, .0f, 1.0f}; bool normals_visible = true; mrpt::img::TColorf normals_color {1.0f, 0.0f, 0.0f}; mrpt::img::TColormap points_colormap = mrpt::img::cmHOT; mrpt::img::TColormap planes_colormap = mrpt::img::cmHOT; uint8_t recolorizeByCoordinateIndex = 2; // methods void loadFromConfigFile( const mrpt::config::CConfigFileBase& source, const std::string& section ); void dumpToTextStream(std::ostream& out) const; void writeToStream(mrpt::serialization::CArchive& out) const; void readFromStream(mrpt::serialization::CArchive& in); };
Fields
mrpt::img::TColormap points_colormap = mrpt::img::cmHOT
Colormap to use. Can be set to cmNone for uniform color
uint8_t recolorizeByCoordinateIndex = 2
If colormap!=mrpt::img::cmNONE, use this coordinate as color index: 0=x 1=y 2=z
Methods
void writeToStream(mrpt::serialization::CArchive& out) const
Binary dump to stream - used in derived classes’ serialization
void readFromStream(mrpt::serialization::CArchive& in)
Binary dump to stream - used in derived classes’ serialization