MRPT  2.0.0
List of all members | Public Member Functions | Public Attributes
mrpt::maps::COccupancyGridMap3D::TRenderingOptions Struct Reference

Detailed Description

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

Definition at line 306 of file COccupancyGridMap3D.h.

#include <mrpt/maps/COccupancyGridMap3D.h>

Public Member Functions

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

Constructor & Destructor Documentation

◆ TRenderingOptions()

mrpt::maps::COccupancyGridMap3D::TRenderingOptions::TRenderingOptions ( )
default

Member Function Documentation

◆ readFromStream()

void COccupancyGridMap3D::TRenderingOptions::readFromStream ( mrpt::serialization::CArchive in)

Binary dump to stream.

Definition at line 475 of file COccupancyGridMap3D.cpp.

References MRPT_THROW_UNKNOWN_SERIALIZATION_VERSION.

Referenced by mrpt::maps::COccupancyGridMap3D::serializeFrom().

Here is the caller graph for this function:

◆ writeToStream()

void COccupancyGridMap3D::TRenderingOptions::writeToStream ( mrpt::serialization::CArchive out) const

Binary dump to stream.

Definition at line 466 of file COccupancyGridMap3D.cpp.

References out.

Referenced by mrpt::maps::COccupancyGridMap3D::serializeTo().

Here is the caller graph for this function:

Member Data Documentation

◆ generateFreeVoxels

bool mrpt::maps::COccupancyGridMap3D::TRenderingOptions::generateFreeVoxels {true}

Generate voxels for the freespace (Default=true)

Definition at line 323 of file COccupancyGridMap3D.h.

Referenced by mrpt::maps::COccupancyGridMap3D::getAsOctoMapVoxels().

◆ generateGridLines

bool mrpt::maps::COccupancyGridMap3D::TRenderingOptions::generateGridLines {false}

Generate grid lines for all octree nodes, useful to draw the "structure" of the octree, but computationally costly (Default: false)

Definition at line 313 of file COccupancyGridMap3D.h.

Referenced by mrpt::maps::COccupancyGridMap3D::getAsOctoMapVoxels().

◆ generateOccupiedVoxels

bool mrpt::maps::COccupancyGridMap3D::TRenderingOptions::generateOccupiedVoxels {true}

Generate voxels for the occupied volumes (Default=true)

Definition at line 316 of file COccupancyGridMap3D.h.

Referenced by mrpt::maps::COccupancyGridMap3D::getAsOctoMapVoxels().

◆ visibleFreeVoxels

bool mrpt::maps::COccupancyGridMap3D::TRenderingOptions::visibleFreeVoxels {true}

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

Definition at line 327 of file COccupancyGridMap3D.h.

Referenced by mrpt::maps::COccupancyGridMap3D::getAsOctoMapVoxels().

◆ visibleOccupiedVoxels

bool mrpt::maps::COccupancyGridMap3D::TRenderingOptions::visibleOccupiedVoxels {true}

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

Definition at line 320 of file COccupancyGridMap3D.h.

Referenced by mrpt::maps::COccupancyGridMap3D::getAsOctoMapVoxels().




Page generated by Doxygen 1.8.14 for MRPT 2.0.0 Git: b38439d21 Tue Mar 31 19:58:06 2020 +0200 at miƩ abr 1 00:50:30 CEST 2020