Main MRPT website > C++ reference for MRPT 1.5.5
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 160 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. More...
 
void readFromStream (mrpt::utils::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_t, class octree_node_t>
mrpt::maps::COctoMapBase< octree_t, octree_node_t >::TRenderingOptions::TRenderingOptions ( )
inline

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

Member Function Documentation

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

Binary dump to stream.

Definition at line 364 of file COctoMapBase_impl.h.

References MRPT_THROW_UNKNOWN_SERIALIZATION_VERSION, and version.

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

Binary dump to stream.

Definition at line 355 of file COctoMapBase_impl.h.

References version.

Member Data Documentation

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

Generate voxels for the freespace (Default=true)

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

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, useful to draw the "structure" of the octree, but computationally costly (Default: false)

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

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

Generate voxels for the occupied volumes (Default=true)

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

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

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

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

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

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

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




Page generated by Doxygen 1.8.6 for MRPT 1.5.5 Git: e06b63d Fri Dec 1 14:41:11 2017 +0100 at sáb dic 2 13:00:21 CET 2017