#include <CountingOcTree.h>
Classes | |
class | StaticMemberInitializer |
Public Member Functions | |
CountingOcTree (double resolution) | |
Default constructor, sets resolution of leafs. | |
void | getCentersMinHits (point3d_list &node_centers, unsigned int min_hits) const |
virtual CountingOcTreeNode * | updateNode (const point3d &value) |
implementation of CountingOcTree -------------------------------------- | |
CountingOcTreeNode * | updateNode (const OcTreeKey &k) |
Protected Member Functions | |
void | getCentersMinHitsRecurs (point3d_list &node_centers, unsigned int &min_hits, unsigned int max_depth, CountingOcTreeNode *node, unsigned int depth, const OcTreeKey &parent_key) const |
Static Protected Attributes | |
static StaticMemberInitializer | countingOcTreeMemberInit |
static member to ensure static initialization (only once) |
An AbstractOcTree which stores an internal counter per node / volume.
Count is recursive, parent nodes have the summed count of their children.
Definition at line 88 of file CountingOcTree.h.
octomap::CountingOcTree::CountingOcTree | ( | double | resolution | ) | [inline] |
Default constructor, sets resolution of leafs.
Definition at line 92 of file CountingOcTree.h.
void octomap::CountingOcTree::getCentersMinHits | ( | point3d_list & | node_centers, |
unsigned int | min_hits | ||
) | const |
Definition at line 109 of file CountingOcTree.cpp.
void octomap::CountingOcTree::getCentersMinHitsRecurs | ( | point3d_list & | node_centers, |
unsigned int & | min_hits, | ||
unsigned int | max_depth, | ||
CountingOcTreeNode * | node, | ||
unsigned int | depth, | ||
const OcTreeKey & | parent_key | ||
) | const [protected] |
Definition at line 117 of file CountingOcTree.cpp.
CountingOcTreeNode * octomap::CountingOcTree::updateNode | ( | const point3d & | value | ) | [virtual] |
implementation of CountingOcTree --------------------------------------
Definition at line 75 of file CountingOcTree.cpp.
CountingOcTreeNode * octomap::CountingOcTree::updateNode | ( | const OcTreeKey & | k | ) |
Definition at line 84 of file CountingOcTree.cpp.
CountingOcTree::StaticMemberInitializer octomap::CountingOcTree::countingOcTreeMemberInit [static, protected] |
static member to ensure static initialization (only once)
Definition at line 117 of file CountingOcTree.h.