#include <CountingOcTree.h>
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 (const OcTreeDataNode &rhs) | |
OcTreeDataNode (unsigned int initVal) | |
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 int v) |
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... | |
An Octree-node which stores an internal counter per node / volume.
Count is recursive, parent nodes have the summed count of their children.
Definition at line 53 of file CountingOcTree.h.
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.
|
inline |
Definition at line 60 of file CountingOcTree.h.
|
inline |
Definition at line 61 of file CountingOcTree.h.
|
inline |
Definition at line 62 of file CountingOcTree.h.