Main MRPT website > C++ reference for MRPT 1.5.7
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

◆ TRenderingOptions()

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

◆ 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 364 of file COctoMapBase_impl.h.

References MRPT_THROW_UNKNOWN_SERIALIZATION_VERSION, and 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 355 of file COctoMapBase_impl.h.

References version.

Member Data Documentation

◆ generateFreeVoxels

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.

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

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

◆ generateOccupiedVoxels

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.

◆ visibleFreeVoxels

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.

◆ visibleOccupiedVoxels

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.14 for MRPT 1.5.7 Git: 8277875f6 Mon Jun 11 02:47:32 2018 +0200 at lun oct 28 01:50:49 CET 2019