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

Detailed Description

template<class octree_t, class octree_node_t>
struct mrpt::maps::COctoMapBase< octree_t, octree_node_t >::TRenderingOptions

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

Definition at line 259 of file COctoMapBase.h.

#include <mrpt/maps/COctoMapBase.h>

Public Member Functions

 TRenderingOptions ()
 generateFreeVoxels=true) (Default=true) More...
 
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
 Generate grid lines for all octree nodes,. More...
 
bool generateOccupiedVoxels
 useful to draw the "structure" of the octree, but computationally costly (Default: false) More...
 
bool visibleOccupiedVoxels
 volumes (Default=true) More...
 
bool generateFreeVoxels
 generateOccupiedVoxels=true) (Default=true) More...
 
bool visibleFreeVoxels
 (Default=true) More...
 

Constructor & Destructor Documentation

◆ TRenderingOptions()

template<class octree_t, class octree_node_t>
mrpt::maps::COctoMapBase< octree_t, octree_node_t >::TRenderingOptions::TRenderingOptions ( )
inline

generateFreeVoxels=true) (Default=true)

Definition at line 277 of file COctoMapBase.h.

Member Function Documentation

◆ readFromStream()

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

Binary dump to stream.

Definition at line 407 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::serialization::CArchive out) const

Binary dump to stream.

Definition at line 397 of file COctoMapBase_impl.h.

Member Data Documentation

◆ generateFreeVoxels

template<class octree_t, class octree_node_t>
bool mrpt::maps::COctoMapBase< octree_t, octree_node_t >::TRenderingOptions::generateFreeVoxels

generateOccupiedVoxels=true) (Default=true)

Generate voxels for the freespace

Definition at line 272 of file COctoMapBase.h.

◆ generateGridLines

template<class octree_t, class octree_node_t>
bool mrpt::maps::COctoMapBase< octree_t, octree_node_t >::TRenderingOptions::generateGridLines

Generate grid lines for all octree nodes,.

Definition at line 261 of file COctoMapBase.h.

◆ generateOccupiedVoxels

template<class octree_t, class octree_node_t>
bool mrpt::maps::COctoMapBase< octree_t, octree_node_t >::TRenderingOptions::generateOccupiedVoxels

useful to draw the "structure" of the octree, but computationally costly (Default: false)

Generate voxels for the occupied

Definition at line 266 of file COctoMapBase.h.

◆ visibleFreeVoxels

template<class octree_t, class octree_node_t>
bool mrpt::maps::COctoMapBase< octree_t, octree_node_t >::TRenderingOptions::visibleFreeVoxels

(Default=true)

Set free voxels visible (requires

Definition at line 274 of file COctoMapBase.h.

◆ visibleOccupiedVoxels

template<class octree_t, class octree_node_t>
bool mrpt::maps::COctoMapBase< octree_t, octree_node_t >::TRenderingOptions::visibleOccupiedVoxels

volumes (Default=true)

Set occupied voxels visible (requires

Definition at line 268 of file COctoMapBase.h.




Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at lun oct 28 00:14:14 CET 2019