Classes | Public Member Functions | Protected Member Functions | Static Protected Attributes
rtabmap::RtabmapColorOcTree Class Reference

#include <OctoMap.h>

Inheritance diagram for rtabmap::RtabmapColorOcTree:
Inheritance graph
[legend]

List of all members.

Classes

class  StaticMemberInitializer

Public Member Functions

RtabmapColorOcTreeNodeaverageNodeColor (const octomap::OcTreeKey &key, uint8_t r, uint8_t g, uint8_t b)
RtabmapColorOcTreeNodeaverageNodeColor (float x, float y, float z, uint8_t r, uint8_t g, uint8_t b)
RtabmapColorOcTreecreate () const
std::string getTreeType () const
RtabmapColorOcTreeNodeintegrateNodeColor (const octomap::OcTreeKey &key, uint8_t r, uint8_t g, uint8_t b)
RtabmapColorOcTreeNodeintegrateNodeColor (float x, float y, float z, uint8_t r, uint8_t g, uint8_t b)
virtual bool isNodeCollapsible (const RtabmapColorOcTreeNode *node) const
virtual bool pruneNode (RtabmapColorOcTreeNode *node)
 RtabmapColorOcTree (double resolution)
 Default constructor, sets resolution of leafs.
RtabmapColorOcTreeNodesetNodeColor (const octomap::OcTreeKey &key, uint8_t r, uint8_t g, uint8_t b)
RtabmapColorOcTreeNodesetNodeColor (float x, float y, float z, uint8_t r, uint8_t g, uint8_t b)
void updateInnerOccupancy ()

Protected Member Functions

void updateInnerOccupancyRecurs (RtabmapColorOcTreeNode *node, unsigned int depth)

Static Protected Attributes

static StaticMemberInitializer RtabmapColorOcTreeMemberInit
 static member to ensure static initialization (only once)

Detailed Description

Definition at line 82 of file OctoMap.h.


Constructor & Destructor Documentation

Default constructor, sets resolution of leafs.

Definition at line 107 of file OctoMap.cpp.


Member Function Documentation

RtabmapColorOcTreeNode * rtabmap::RtabmapColorOcTree::averageNodeColor ( const octomap::OcTreeKey key,
uint8_t  r,
uint8_t  g,
uint8_t  b 
)

Definition at line 172 of file OctoMap.cpp.

RtabmapColorOcTreeNode* rtabmap::RtabmapColorOcTree::averageNodeColor ( float  x,
float  y,
float  z,
uint8_t  r,
uint8_t  g,
uint8_t  b 
) [inline]

Definition at line 120 of file OctoMap.h.

virtual constructor: creates a new object of same type (Covariant return type requires an up-to-date compiler)

Definition at line 90 of file OctoMap.h.

std::string rtabmap::RtabmapColorOcTree::getTreeType ( ) const [inline]
RtabmapColorOcTreeNode * rtabmap::RtabmapColorOcTree::integrateNodeColor ( const octomap::OcTreeKey key,
uint8_t  r,
uint8_t  g,
uint8_t  b 
)

Definition at line 189 of file OctoMap.cpp.

RtabmapColorOcTreeNode* rtabmap::RtabmapColorOcTree::integrateNodeColor ( float  x,
float  y,
float  z,
uint8_t  r,
uint8_t  g,
uint8_t  b 
) [inline]

Definition at line 132 of file OctoMap.h.

Definition at line 148 of file OctoMap.cpp.

Prunes a node when it is collapsible. This overloaded version only considers the node occupancy for pruning, different colors of child nodes are ignored.

Returns:
true if pruning was successful

Definition at line 123 of file OctoMap.cpp.

RtabmapColorOcTreeNode * rtabmap::RtabmapColorOcTree::setNodeColor ( const octomap::OcTreeKey key,
uint8_t  r,
uint8_t  g,
uint8_t  b 
)

Definition at line 112 of file OctoMap.cpp.

RtabmapColorOcTreeNode* rtabmap::RtabmapColorOcTree::setNodeColor ( float  x,
float  y,
float  z,
uint8_t  r,
uint8_t  g,
uint8_t  b 
) [inline]

Definition at line 108 of file OctoMap.h.

Reimplemented from octomap::OccupancyOcTreeBase< RtabmapColorOcTreeNode >.

Definition at line 214 of file OctoMap.cpp.

void rtabmap::RtabmapColorOcTree::updateInnerOccupancyRecurs ( RtabmapColorOcTreeNode node,
unsigned int  depth 
) [protected]

Definition at line 218 of file OctoMap.cpp.


Member Data Documentation

static member to ensure static initialization (only once)

Definition at line 165 of file OctoMap.h.


The documentation for this class was generated from the following files:


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jun 6 2019 21:59:42