MRPT  2.0.4
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 261 of file COctoMapBase.h.

#include <mrpt/maps/COctoMapBase.h>

Public Member Functions

 TRenderingOptions ()=default
 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 {true}
 generateOccupiedVoxels=true) (Default=true) More...
 
bool visibleFreeVoxels {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 ( )
default

generateFreeVoxels=true) (Default=true)

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 422 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 412 of file COctoMapBase_impl.h.

References out.

Member Data Documentation

◆ generateFreeVoxels

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

generateOccupiedVoxels=true) (Default=true)

Generate voxels for the freespace

Definition at line 277 of file COctoMapBase.h.

◆ generateGridLines

template<class octree_t, class octree_node_t>
bool mrpt::maps::COctoMapBase< octree_t, octree_node_t >::TRenderingOptions::generateGridLines
Initial value:
{
false}

Generate grid lines for all octree nodes,.

Definition at line 263 of file COctoMapBase.h.

◆ generateOccupiedVoxels

template<class octree_t, class octree_node_t>
bool mrpt::maps::COctoMapBase< octree_t, octree_node_t >::TRenderingOptions::generateOccupiedVoxels
Initial value:
{
true}

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

Generate voxels for the occupied

Definition at line 269 of file COctoMapBase.h.

◆ visibleFreeVoxels

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

(Default=true)

Set free voxels visible (requires

Definition at line 279 of file COctoMapBase.h.

◆ visibleOccupiedVoxels

template<class octree_t, class octree_node_t>
bool mrpt::maps::COctoMapBase< octree_t, octree_node_t >::TRenderingOptions::visibleOccupiedVoxels
Initial value:
{
true}

volumes (Default=true)

Set occupied voxels visible (requires

Definition at line 272 of file COctoMapBase.h.




Page generated by Doxygen 1.8.14 for MRPT 2.0.4 Git: 7ea9b7e81 Mon May 25 11:43:10 2020 +0200 at lun may 25 11:45:15 CEST 2020