struct mola::SparseTreesPointCloud::TRenderOptions
Overview
Rendering options, used in getAs3DObject()
#include <SparseTreesPointCloud.h> struct TRenderOptions: public mrpt::config::CLoadableOptions { // fields float point_size = 1.0f; bool show_inner_grid_boxes = false; mrpt::img::TColorf color {.0f, .0f, 1.0f}; mrpt::img::TColormap 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::TColorf color {.0f, .0f, 1.0f}
Color of points. Superseded by colormap if the latter is set.
mrpt::img::TColormap colormap = mrpt::img::cmHOT
Colormap for points (index is “z” coordinates)
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