MRPT  1.9.9
List of all members | Public Member Functions | Public Attributes
mrpt::maps::COccupancyGridMap3D::TRenderingOptions Struct Reference

Detailed Description

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

Definition at line 309 of file COccupancyGridMap3D.h.

#include <mrpt/maps/COccupancyGridMap3D.h>

Public Member Functions

 TRenderingOptions ()=default
 
void writeToStream (mrpt::serialization::CArchive &out) const
 Binary dump to stream. More...
 
void readFromStream (mrpt::serialization::CArchive &in)
 Binary dump to stream. More...
 

Public Attributes

bool generateGridLines {false}
 Generate grid lines for all octree nodes, useful to draw the "structure" of the octree, but computationally costly (Default: false) More...
 
bool generateOccupiedVoxels {true}
 Generate voxels for the occupied volumes (Default=true) More...
 
bool visibleOccupiedVoxels {true}
 Set occupied voxels visible (requires generateOccupiedVoxels=true) (Default=true) More...
 
bool generateFreeVoxels {true}
 Generate voxels for the freespace (Default=true) More...
 
bool visibleFreeVoxels {true}
 Set free voxels visible (requires generateFreeVoxels=true) (Default=true) More...
 

Constructor & Destructor Documentation

◆ TRenderingOptions()

mrpt::maps::COccupancyGridMap3D::TRenderingOptions::TRenderingOptions ( )
default

Member Function Documentation

◆ readFromStream()

void COccupancyGridMap3D::TRenderingOptions::readFromStream ( mrpt::serialization::CArchive in)

Binary dump to stream.

Definition at line 480 of file COccupancyGridMap3D.cpp.

References MRPT_THROW_UNKNOWN_SERIALIZATION_VERSION.

Referenced by mrpt::maps::COccupancyGridMap3D::serializeFrom().

Here is the caller graph for this function:

◆ writeToStream()

void COccupancyGridMap3D::TRenderingOptions::writeToStream ( mrpt::serialization::CArchive out) const

Binary dump to stream.

Definition at line 471 of file COccupancyGridMap3D.cpp.

References out.

Referenced by mrpt::maps::COccupancyGridMap3D::serializeTo().

Here is the caller graph for this function:

Member Data Documentation

◆ generateFreeVoxels

bool mrpt::maps::COccupancyGridMap3D::TRenderingOptions::generateFreeVoxels {true}

Generate voxels for the freespace (Default=true)

Definition at line 326 of file COccupancyGridMap3D.h.

Referenced by mrpt::maps::COccupancyGridMap3D::getAsOctoMapVoxels().

◆ generateGridLines

bool mrpt::maps::COccupancyGridMap3D::TRenderingOptions::generateGridLines {false}

Generate grid lines for all octree nodes, useful to draw the "structure" of the octree, but computationally costly (Default: false)

Definition at line 316 of file COccupancyGridMap3D.h.

Referenced by mrpt::maps::COccupancyGridMap3D::getAsOctoMapVoxels().

◆ generateOccupiedVoxels

bool mrpt::maps::COccupancyGridMap3D::TRenderingOptions::generateOccupiedVoxels {true}

Generate voxels for the occupied volumes (Default=true)

Definition at line 319 of file COccupancyGridMap3D.h.

Referenced by mrpt::maps::COccupancyGridMap3D::getAsOctoMapVoxels().

◆ visibleFreeVoxels

bool mrpt::maps::COccupancyGridMap3D::TRenderingOptions::visibleFreeVoxels {true}

Set free voxels visible (requires generateFreeVoxels=true) (Default=true)

Definition at line 330 of file COccupancyGridMap3D.h.

Referenced by mrpt::maps::COccupancyGridMap3D::getAsOctoMapVoxels().

◆ visibleOccupiedVoxels

bool mrpt::maps::COccupancyGridMap3D::TRenderingOptions::visibleOccupiedVoxels {true}

Set occupied voxels visible (requires generateOccupiedVoxels=true) (Default=true)

Definition at line 323 of file COccupancyGridMap3D.h.

Referenced by mrpt::maps::COccupancyGridMap3D::getAsOctoMapVoxels().




Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 24b95e159 Thu Jan 23 01:15:46 2020 +0100 at jue ene 23 01:30:10 CET 2020