|implementation of CountingOcTreeNode ---------------------------------- |
|bool||createChild (unsigned int i)|
|initialize i-th child, allocate children array if needed |
|CountingOcTreeNode *||getChild (unsigned int i)|
|const CountingOcTreeNode *||getChild (unsigned int i) const|
|unsigned int||getCount () const|
|void||setCount (unsigned c)|
An Octree-node which stores an internal counter per node / volume.
Count is recursive, parent nodes have the summed count of their children.
|bool octomap::CountingOcTreeNode::createChild||(||unsigned int||i||)|
Expands a node (reverse of pruning): All children are created and their occupancy probability is set to the node's value.
You need to verify that this is indeed a pruned node (i.e. not a leaf at the lowest level)
Reimplemented from octomap::OcTreeDataNode< unsigned int >.
|unsigned int octomap::CountingOcTreeNode::getCount||(||)|| const