Classes | Public Member Functions | Protected Member Functions | Static Protected Attributes
octomap::CountingOcTree Class Reference

#include <CountingOcTree.h>

Inheritance diagram for octomap::CountingOcTree:
Inheritance graph
[legend]

List of all members.

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 CountingOcTreeNodeupdateNode (const point3d &value)
 implementation of CountingOcTree --------------------------------------
CountingOcTreeNodeupdateNode (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)

Detailed Description

An AbstractOcTree which stores an internal counter per node / volume.

Count is recursive, parent nodes have the summed count of their children.

Note:
In our mapping system this data structure is used in the sensor model only. Do not use, e.g., insertScan.

Definition at line 88 of file CountingOcTree.h.


Constructor & Destructor Documentation

octomap::CountingOcTree::CountingOcTree ( double  resolution) [inline]

Default constructor, sets resolution of leafs.

Definition at line 92 of file CountingOcTree.h.


Member Function Documentation

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.

implementation of CountingOcTree --------------------------------------

Definition at line 75 of file CountingOcTree.cpp.

Definition at line 84 of file CountingOcTree.cpp.


Member Data Documentation

static member to ensure static initialization (only once)

Definition at line 117 of file CountingOcTree.h.


The documentation for this class was generated from the following files:


octomap
Author(s): Kai M. Wurm , Armin Hornung
autogenerated on Thu Aug 27 2015 14:13:14