Go to the documentation of this file.
34 #ifndef OCTOMAP_COUNTING_OCTREE_HH
35 #define OCTOMAP_COUNTING_OCTREE_HH
88 unsigned int& min_hits,
89 unsigned int max_depth,
unsigned int getCount() const
Definition: CountingOcTree.h:60
Static member object which ensures that this OcTree's prototype ends up in the classIDMapping only on...
Definition: CountingOcTree.h:100
Basic node in the OcTree that can hold arbitrary data of type T in value.
Definition: OcTreeDataNode.h:63
unsigned int value
stored data (payload)
Definition: OcTreeDataNode.h:128
An AbstractOcTree which stores an internal counter per node / volume.
Definition: CountingOcTree.h:76
void getCentersMinHitsRecurs(point3d_list &node_centers, unsigned int &min_hits, unsigned int max_depth, CountingOcTreeNode *node, unsigned int depth, const OcTreeKey &parent_key) const
Definition: CountingOcTree.cpp:102
This class represents a three-dimensional vector.
Definition: Vector3.h:50
void setValue(unsigned int v)
sets value to be stored in the node
Definition: OcTreeDataNode.h:105
CountingOcTree(double resolution)
Default constructor, sets resolution of leafs.
Definition: CountingOcTree.cpp:52
CountingOcTreeNode()
implementation of CountingOcTreeNode -------------------------------—
Definition: CountingOcTree.cpp:42
static StaticMemberInitializer countingOcTreeMemberInit
static member to ensure static initialization (only once)
Definition: CountingOcTree.h:116
~CountingOcTreeNode()
Definition: CountingOcTree.cpp:47
OcTreeKey is a container class for internal key addressing.
Definition: OcTreeKey.h:70
void setCount(unsigned c)
Definition: CountingOcTree.h:62
void ensureLinking()
Dummy function to ensure that MSVC does not drop the StaticMemberInitializer, causing this tree faili...
Definition: CountingOcTree.h:113
StaticMemberInitializer()
Definition: CountingOcTree.h:102
static void registerTreeType(AbstractOcTree *tree)
Definition: AbstractOcTree.cpp:205
std::list< octomath::Vector3 > point3d_list
Definition: octomap_types.h:54
Definition: OcTreeBase.h:44
An Octree-node which stores an internal counter per node / volume.
Definition: CountingOcTree.h:53
void getCentersMinHits(point3d_list &node_centers, unsigned int min_hits) const
Definition: CountingOcTree.cpp:94
void increaseCount()
Definition: CountingOcTree.h:61
unsigned int getValue() const
Definition: OcTreeDataNode.h:103
virtual CountingOcTreeNode * updateNode(const point3d &value)
Definition: CountingOcTree.cpp:57
Tables used by the Marching Cubes Algorithm The tables are from Paul Bourke's web page http://paulbou...
double resolution
in meters
Definition: OcTreeBaseImpl.h:547
void clearKeyRays()
Clear KeyRay vector to minimize unneeded memory.
Definition: OcTreeBaseImpl.h:120