struct mrpt::maps::TVoxelMap_RenderingOptions

Options for the conversion of a mrpt::maps::COctoMap into a mrpt::opengl::COctoMapVoxels.

#include <mrpt/maps/CVoxelMapOccupancyBase.h>

struct TVoxelMap_RenderingOptions
{
    //
fields

    bool generateOccupiedVoxels = true;
    double occupiedThreshold = 0.60;
    bool visibleOccupiedVoxels = true;
    bool generateFreeVoxels = true;
    double freeThreshold = 0.40;
    bool visibleFreeVoxels = true;

    // construction

    TVoxelMap_RenderingOptions();

    //
methods

    void writeToStream(mrpt::serialization::CArchive& out) const;
    void readFromStream(mrpt::serialization::CArchive& in);
};

Methods

void writeToStream(mrpt::serialization::CArchive& out) const

Binary dump to stream.

void readFromStream(mrpt::serialization::CArchive& in)

Binary dump to stream.