|
octomap
1.9.7
|
An Octree-node which stores an internal counter per node / volume. More...
Inheritance diagram for octomap::CountingOcTreeNode:
Collaboration diagram for octomap::CountingOcTreeNode:Public Types | |
| typedef unsigned int | DataType |
| Make the templated data type available from the outside. More... | |
Public Member Functions | |
| void | copyData (const OcTreeDataNode &from) |
| Copy the payload (data in "value") from rhs into this node Opposed to copy ctor, this does not clone the children as well. More... | |
| CountingOcTreeNode () | |
| implementation of CountingOcTreeNode -------------------------------— More... | |
| unsigned int | getCount () const |
| unsigned int | getValue () const |
| void | increaseCount () |
| OCTOMAP_DEPRECATED (bool childExists(unsigned int i) const) | |
| Test whether the i-th child exists. More... | |
| OCTOMAP_DEPRECATED (bool hasChildren() const) | |
| 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 | setCount (unsigned c) |
| 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... | |
| ~CountingOcTreeNode () | |
Protected Member Functions | |
| void | allocChildren () |
Protected Attributes | |
| AbstractOcTreeNode ** | children |
| pointer to array of children, may be NULL More... | |
| 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.
|
inherited |
Make the templated data type available from the outside.
| octomap::CountingOcTreeNode::CountingOcTreeNode | ( | ) |
implementation of CountingOcTreeNode -------------------------------—
| octomap::CountingOcTreeNode::~CountingOcTreeNode | ( | ) |
|
protectedinherited |
|
inherited |
Copy the payload (data in "value") from rhs into this node Opposed to copy ctor, this does not clone the children as well.
|
inline |
References octomap::OcTreeDataNode< unsigned int >::getValue().
Referenced by octomap::CountingOcTree::getCentersMinHitsRecurs().
|
inlineinherited |
|
inline |
References octomap::OcTreeDataNode< unsigned int >::value.
Referenced by octomap::CountingOcTree::updateNode().
|
inherited |
Test whether the i-th child exists.
|
inherited |
|
inherited |
Equals operator, compares if the stored value is identical.
|
inherited |
Read node payload (data only) from binary stream.
|
inline |
|
inlineinherited |
sets value to be stored in the node
|
inherited |
Write node payload (data only) to binary stream.
|
protectedinherited |
pointer to array of children, may be NULL
|
protectedinherited |
stored data (payload)