Main MRPT website > C++ reference for MRPT 1.4.0
List of all members | Public Member Functions | Public Attributes
mrpt::maps::COctoMapBase< OCTREE, OCTREE_NODE >::TRenderingOptions Struct Reference

Detailed Description

template<class OCTREE, class OCTREE_NODE>
struct mrpt::maps::COctoMapBase< OCTREE, OCTREE_NODE >::TRenderingOptions

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

Definition at line 168 of file maps/COctoMapBase.h.

#include <mrpt/maps/COctoMapBase.h>

Public Member Functions

 TRenderingOptions ()
 
void writeToStream (mrpt::utils::CStream &out) const
 Binary dump to stream.
 
void readFromStream (mrpt::utils::CStream &in)
 Binary dump to stream.
 

Public Attributes

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

Constructor & Destructor Documentation

◆ TRenderingOptions()

template<class OCTREE , class OCTREE_NODE >
mrpt::maps::COctoMapBase< OCTREE, OCTREE_NODE >::TRenderingOptions::TRenderingOptions ( )
inline

Definition at line 178 of file maps/COctoMapBase.h.

Member Function Documentation

◆ readFromStream()

template<class OCTREE , class OCTREE_NODE >
void mrpt::maps::COctoMapBase< OCTREE, OCTREE_NODE >::TRenderingOptions::readFromStream ( mrpt::utils::CStream in)

Binary dump to stream.

Definition at line 369 of file COctoMapBase_impl.h.

References MRPT_THROW_UNKNOWN_SERIALIZATION_VERSION.

◆ writeToStream()

template<class OCTREE , class OCTREE_NODE >
void mrpt::maps::COctoMapBase< OCTREE, OCTREE_NODE >::TRenderingOptions::writeToStream ( mrpt::utils::CStream out) const

Binary dump to stream.

Definition at line 360 of file COctoMapBase_impl.h.

Member Data Documentation

◆ generateFreeVoxels

template<class OCTREE , class OCTREE_NODE >
bool mrpt::maps::COctoMapBase< OCTREE, OCTREE_NODE >::TRenderingOptions::generateFreeVoxels

Generate voxels for the freespace (Default=true)

Definition at line 175 of file maps/COctoMapBase.h.

◆ generateGridLines

template<class OCTREE , class OCTREE_NODE >
bool mrpt::maps::COctoMapBase< OCTREE, OCTREE_NODE >::TRenderingOptions::generateGridLines

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

Definition at line 170 of file maps/COctoMapBase.h.

◆ generateOccupiedVoxels

template<class OCTREE , class OCTREE_NODE >
bool mrpt::maps::COctoMapBase< OCTREE, OCTREE_NODE >::TRenderingOptions::generateOccupiedVoxels

Generate voxels for the occupied volumes (Default=true)

Definition at line 172 of file maps/COctoMapBase.h.

◆ visibleFreeVoxels

template<class OCTREE , class OCTREE_NODE >
bool mrpt::maps::COctoMapBase< OCTREE, OCTREE_NODE >::TRenderingOptions::visibleFreeVoxels

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

Definition at line 176 of file maps/COctoMapBase.h.

◆ visibleOccupiedVoxels

template<class OCTREE , class OCTREE_NODE >
bool mrpt::maps::COctoMapBase< OCTREE, OCTREE_NODE >::TRenderingOptions::visibleOccupiedVoxels

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

Definition at line 173 of file maps/COctoMapBase.h.




Page generated by Doxygen 1.9.6 for MRPT 1.4.0 SVN: at Wed Mar 22 06:08:57 UTC 2023