34#ifndef OCTOMAP_COUNTING_OCTREE_HH
35#define OCTOMAP_COUNTING_OCTREE_HH
88 unsigned int& min_hits,
89 unsigned int max_depth,
static void registerTreeType(AbstractOcTree *tree)
Definition: AbstractOcTree.cpp:205
An Octree-node which stores an internal counter per node / volume.
Definition: CountingOcTree.h:53
~CountingOcTreeNode()
Definition: CountingOcTree.cpp:47
void increaseCount()
Definition: CountingOcTree.h:61
void setCount(unsigned c)
Definition: CountingOcTree.h:62
CountingOcTreeNode()
implementation of CountingOcTreeNode -------------------------------—
Definition: CountingOcTree.cpp:42
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
StaticMemberInitializer()
Definition: CountingOcTree.h:102
void ensureLinking()
Dummy function to ensure that MSVC does not drop the StaticMemberInitializer, causing this tree faili...
Definition: CountingOcTree.h:113
An AbstractOcTree which stores an internal counter per node / volume.
Definition: CountingOcTree.h:76
void getCentersMinHits(point3d_list &node_centers, unsigned int min_hits) const
Definition: CountingOcTree.cpp:94
static StaticMemberInitializer countingOcTreeMemberInit
static member to ensure static initialization (only once)
Definition: CountingOcTree.h:116
CountingOcTree(double resolution)
Default constructor, sets resolution of leafs.
Definition: CountingOcTree.cpp:52
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
virtual CountingOcTreeNode * updateNode(const point3d &value)
Definition: CountingOcTree.cpp:57
void clearKeyRays()
Clear KeyRay vector to minimize unneeded memory.
Definition: OcTreeBaseImpl.h:120
double resolution
in meters
Definition: OcTreeBaseImpl.h:547
Definition: OcTreeBase.h:44
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
void setValue(unsigned int v)
sets value to be stored in the node
Definition: OcTreeDataNode.h:105
unsigned int getValue() const
Definition: OcTreeDataNode.h:103
OcTreeKey is a container class for internal key addressing.
Definition: OcTreeKey.h:70
This class represents a three-dimensional vector.
Definition: Vector3.h:50
Namespace the OctoMap library and visualization tools.
std::list< octomath::Vector3 > point3d_list
Definition: octomap_types.h:54