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

Detailed Description

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

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

Definition at line 183 of file COctoMapBase.h.

#include <mrpt/slam/COctoMapBase.h>

Public Member Functions

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

Public Attributes

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

Constructor & Destructor Documentation

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

Definition at line 193 of file COctoMapBase.h.

Member Function Documentation

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

Binary dump to stream.

Definition at line 368 of file COctoMapBase_impl.h.

References MRPT_THROW_UNKNOWN_SERIALIZATION_VERSION.

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

Binary dump to stream.

Definition at line 359 of file COctoMapBase_impl.h.

Member Data Documentation

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

Generate voxels for the freespace (Default=true)

Definition at line 190 of file COctoMapBase.h.

template<class OCTREE, class OCTREE_NODE>
bool mrpt::slam::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 185 of file COctoMapBase.h.

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

Generate voxels for the occupied volumes (Default=true)

Definition at line 187 of file COctoMapBase.h.

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

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

Definition at line 191 of file COctoMapBase.h.

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

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

Definition at line 188 of file COctoMapBase.h.




Page generated by Doxygen 1.8.8 for MRPT 1.2.2 SVN:Unversioned directory at Tue Oct 14 02:14:08 UTC 2014