Public Member Functions | List of all members
octomap::CountingOcTreeNode Class Reference

#include <CountingOcTree.h>

Inheritance diagram for octomap::CountingOcTreeNode:
Inheritance graph

Public Member Functions

 CountingOcTreeNode ()
 implementation of CountingOcTreeNode -------------------------------— More...
unsigned int getCount () const
void increaseCount ()
void setCount (unsigned c)
 ~CountingOcTreeNode ()
- Public Member Functions inherited from octomap::OcTreeDataNode< unsigned int >
void copyData (const OcTreeDataNode &from)
unsigned int getValue () const
 OCTOMAP_DEPRECATED (bool childExists(unsigned int i) const)
 OCTOMAP_DEPRECATED (bool hasChildren() const)
 OcTreeDataNode ()
 OcTreeDataNode (unsigned intinitVal)
 OcTreeDataNode (const OcTreeDataNode &rhs)
bool operator== (const OcTreeDataNode &rhs) const
 Equals operator, compares if the stored value is identical. More...
std::istream & readData (std::istream &s)
 Read node payload (data only) from binary stream. More...
void setValue (unsigned intv)
 sets value to be stored in the node More...
std::ostream & writeData (std::ostream &s) const
 Write node payload (data only) to binary stream. More...
 ~OcTreeDataNode ()

Additional Inherited Members

- Public Types inherited from octomap::OcTreeDataNode< unsigned int >
typedef unsigned int DataType
 Make the templated data type available from the outside. More...
- Protected Member Functions inherited from octomap::OcTreeDataNode< unsigned int >
void allocChildren ()
- Protected Attributes inherited from octomap::OcTreeDataNode< unsigned int >
AbstractOcTreeNode ** children
unsigned int value
 stored data (payload) More...

Detailed Description

An Octree-node which stores an internal counter per node / volume.

Count is recursive, parent nodes have the summed count of their children.

In our mapping system this data structure is used in CountingOcTree in the sensor model only

Definition at line 53 of file CountingOcTree.h.

Constructor & Destructor Documentation

octomap::CountingOcTreeNode::CountingOcTreeNode ( )

implementation of CountingOcTreeNode -------------------------------—

Definition at line 42 of file CountingOcTree.cpp.

octomap::CountingOcTreeNode::~CountingOcTreeNode ( )

Definition at line 47 of file CountingOcTree.cpp.

Member Function Documentation

unsigned int octomap::CountingOcTreeNode::getCount ( ) const

Definition at line 60 of file CountingOcTree.h.

void octomap::CountingOcTreeNode::increaseCount ( )

Definition at line 61 of file CountingOcTree.h.

void octomap::CountingOcTreeNode::setCount ( unsigned  c)

Definition at line 62 of file CountingOcTree.h.

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

Author(s): Kai M. Wurm , Armin Hornung
autogenerated on Wed Jun 5 2019 19:26:27