Struct SparseVoxelPointCloud::TRenderOptions
Defined in File SparseVoxelPointCloud.h
Nested Relationships
This struct is a nested type of Class SparseVoxelPointCloud.
Inheritance Relationships
Base Type
public mrpt::config::CLoadableOptions
Struct Documentation
-
struct TRenderOptions : public mrpt::config::CLoadableOptions
Rendering options, used in getAs3DObject()
Public Functions
-
void loadFromConfigFile(const mrpt::config::CConfigFileBase &source, const std::string §ion) override
-
void dumpToTextStream(std::ostream &out) const override
-
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
Public Members
-
float point_size = 1.0f
-
bool show_mean_only = true
If true, when rendering a voxel map only the mean point per voxel will be rendered instead of all contained points.
-
bool show_inner_grid_boxes = false
-
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
-
void loadFromConfigFile(const mrpt::config::CConfigFileBase &source, const std::string §ion) override