#include <pcl/recognition/ransac_based/simple_octree.h>
|
|
SimpleOctree () |
|
virtual |
~SimpleOctree () |
|
void |
clear () |
|
void |
build (const Scalar *bounds, Scalar voxel_size, NodeDataCreator *node_data_creator) |
|
Creates an empty octree with bounds at least as large as the ones provided as input and with leaf size equal to 'voxel_size'. More...
|
|
Node * |
createLeaf (Scalar x, Scalar y, Scalar z) |
|
Creates the leaf containing p = (x, y, z) and returns a pointer to it, however, only if p lies within the octree bounds! A more general version which allows p to be out of bounds is not implemented yet. More...
|
|
Node * |
getFullLeaf (int i, int j, int k) |
|
Since the leaves are aligned in a rectilinear grid, each leaf has a unique id. More...
|
|
Node * |
getFullLeaf (Scalar x, Scalar y, Scalar z) |
|
Returns a pointer to the full leaf, i.e., one having a data pbject, containing p = (x, y, z) or NULL if no such leaf exists. More...
|
|
std::vector< Node * > & |
getFullLeaves () |
|
const std::vector< Node * > & |
getFullLeaves () const |
|
Node * |
getRoot () |
|
const Scalar * |
getBounds () const |
|
void |
getBounds (Scalar b[6]) const |
|
Scalar |
getVoxelSize () const |
|
template<typename NodeData, typename NodeDataCreator, typename Scalar = float>
class pcl::recognition::SimpleOctree< NodeData, NodeDataCreator, Scalar >
Definition at line 58 of file simple_octree.h.
SimpleOctree()
template<typename NodeData , typename NodeDataCreator , typename Scalar >
~SimpleOctree()
template<typename NodeData , typename NodeDataCreator , typename Scalar >
build()
template<typename NodeData , typename NodeDataCreator , typename Scalar >
void pcl::recognition::SimpleOctree< NodeData, NodeDataCreator, Scalar >::build | ( | const Scalar * |
bounds, | | | Scalar |
voxel_size, | | | NodeDataCreator * |
node_data_creator | | ) | |
| | inline |
Creates an empty octree with bounds at least as large as the ones provided as input and with leaf size equal to 'voxel_size'.
Definition at line 208 of file simple_octree.hpp.
clear()
template<typename NodeData , typename NodeDataCreator , typename Scalar >
createLeaf()
template<typename NodeData , typename NodeDataCreator , typename Scalar >
Creates the leaf containing p = (x, y, z) and returns a pointer to it, however, only if p lies within the octree bounds! A more general version which allows p to be out of bounds is not implemented yet.
The method returns NULL if p is not within the root bounds. If the leaf containing p already exists nothing happens and method just returns a pointer to the leaf. Note that for a new created leaf, the method also creates its data object.
Definition at line 254 of file simple_octree.hpp.
getBounds() [1/2]
template<typename NodeData , typename NodeDataCreator , typename Scalar = float>
getBounds() [2/2]
template<typename NodeData , typename NodeDataCreator , typename Scalar = float>
getFullLeaf() [1/2]
template<typename NodeData , typename NodeDataCreator , typename Scalar >
Since the leaves are aligned in a rectilinear grid, each leaf has a unique id.
The method returns the full leaf, i.e., the one having a data object, with id [i, j, k] or NULL is no such leaf exists.
Definition at line 293 of file simple_octree.hpp.
getFullLeaf() [2/2]
template<typename NodeData , typename NodeDataCreator , typename Scalar >
Returns a pointer to the full leaf, i.e., one having a data pbject, containing p = (x, y, z) or NULL if no such leaf exists.
Definition at line 306 of file simple_octree.hpp.
getFullLeaves() [1/2]
template<typename NodeData , typename NodeDataCreator , typename Scalar = float>
getFullLeaves() [2/2]
template<typename NodeData , typename NodeDataCreator , typename Scalar = float>
getRoot()
template<typename NodeData , typename NodeDataCreator , typename Scalar = float>
getVoxelSize()
template<typename NodeData , typename NodeDataCreator , typename Scalar = float>
insertNeighbors()
template<typename NodeData , typename NodeDataCreator , typename Scalar >
bounds_
template<typename NodeData , typename NodeDataCreator , typename Scalar = float>
full_leaves_
template<typename NodeData , typename NodeDataCreator , typename Scalar = float>
node_data_creator_
template<typename NodeData , typename NodeDataCreator , typename Scalar = float>
root_
template<typename NodeData , typename NodeDataCreator , typename Scalar = float>
tree_levels_
template<typename NodeData , typename NodeDataCreator , typename Scalar = float>
voxel_size_
template<typename NodeData , typename NodeDataCreator , typename Scalar = float>
The documentation for this class was generated from the following files: