Struct NDT::TRenderOptions

Nested Relationships

This struct is a nested type of Class NDT.

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 &section) 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

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

Colormap to use. Can be set to cmNone for uniform color

mrpt::img::TColormap planes_colormap = mrpt::img::cmHOT
uint8_t recolorizeByCoordinateIndex = 2

If colormap!=mrpt::img::cmNONE, use this coordinate as color index: 0=x 1=y 2=z