#include <pcl/recognition/ransac_based/simple_octree.h>
Public Member Functions |
|
Node () | |
virtual | ~ Node () |
void | setCenter (const Scalar *c) |
void | setBounds (const Scalar *b) |
const Scalar * | getCenter () const |
const Scalar * | getBounds () const |
void | getBounds (Scalar b[6]) const |
Node * | getChild (int id) |
Node * | getChildren () |
void | setData (const NodeData &src) |
NodeData & | getData () |
const NodeData & | getData () const |
Node * | getParent () |
float | getRadius () const |
bool | hasData () |
bool | hasChildren () |
const std::set< Node * > & | getNeighbors () const |
void | deleteChildren () |
void | deleteData () |
Protected Member Functions |
|
void | setData (NodeData *data) |
bool | createChildren () |
void | makeNeighbors (Node *node) |
Make this and 'node' neighbors by inserting each node in the others node neighbor set. More... |
|
void | setParent (Node *parent) |
void | computeRadius () |
Computes the "radius" of the node which is half the diagonal length. More... |
|
Protected Attributes |
|
NodeData * | data_ |
Scalar | center_ [3] |
Scalar | bounds_ [6] |
Node * | parent_ |
Node * | children_ |
Scalar | radius_ |
std::set< Node * > | full_leaf_neighbors_ |
Friends |
|
class | SimpleOctree |
Detailed Description
template<typename NodeData, typename NodeDataCreator, typename Scalar = float>
class pcl::recognition::SimpleOctree< NodeData, NodeDataCreator, Scalar >::Node
Definition at line 61 of file simple_octree.h.
Constructor & Destructor Documentation
Node()
|
inline |
Definition at line 21 of file simple_octree.hpp.
~ Node()
virtual pcl::recognition::SimpleOctree< NodeData, NodeDataCreator, Scalar >::Node::~ Node | ( | ) |
Member Function Documentation
computeRadius()
|
inlineprotected |
Computes the "radius" of the node which is half the diagonal length.
Definition at line 58 of file simple_octree.hpp.
References pcl::recognition::SimpleOctree< NodeData, NodeDataCreator, Scalar >::bounds_.
createChildren()
|
inlineprotected |
Definition at line 69 of file simple_octree.hpp.
References pcl::recognition::SimpleOctree< NodeData, NodeDataCreator, Scalar >::bounds_.
deleteChildren()
|
inline |
Definition at line 156 of file simple_octree.hpp.
deleteData()
|
inline |
Definition at line 164 of file simple_octree.hpp.
getBounds() [1/2]
|
inline |
Definition at line 78 of file simple_octree.h.
getBounds() [2/2]
|
inline |
Definition at line 81 of file simple_octree.h.
getCenter()
|
inline |
Definition at line 75 of file simple_octree.h.
getChild()
|
inline |
Definition at line 84 of file simple_octree.h.
getChildren()
|
inline |
Definition at line 87 of file simple_octree.h.
getData() [1/2]
|
inline |
Definition at line 93 of file simple_octree.h.
getData() [2/2]
|
inline |
Definition at line 96 of file simple_octree.h.
getNeighbors()
|
inline |
Definition at line 111 of file simple_octree.h.
getParent()
|
inline |
Definition at line 99 of file simple_octree.h.
getRadius()
|
inline |
Definition at line 102 of file simple_octree.h.
hasChildren()
|
inline |
Definition at line 108 of file simple_octree.h.
hasData()
|
inline |
Definition at line 105 of file simple_octree.h.
Referenced by pcl::recognition::SimpleOctree< NodeData, NodeDataCreator, Scalar >::Node::makeNeighbors().
makeNeighbors()
|
inlineprotected |
Make this and 'node' neighbors by inserting each node in the others node neighbor set.
Nothing happens of either of the nodes has no data.
Definition at line 172 of file simple_octree.hpp.
References pcl::recognition::SimpleOctree< NodeData, NodeDataCreator, Scalar >::Node::full_leaf_neighbors_, and pcl::recognition::SimpleOctree< NodeData, NodeDataCreator, Scalar >::Node::hasData().
setBounds()
|
inline |
Definition at line 46 of file simple_octree.hpp.
References pcl::recognition::SimpleOctree< NodeData, NodeDataCreator, Scalar >::bounds_.
setCenter()
|
inline |
Definition at line 37 of file simple_octree.hpp.
setData() [1/2]
|
inline |
Definition at line 90 of file simple_octree.h.
setData() [2/2]
|
inlineprotected |
Definition at line 123 of file simple_octree.h.
setParent()
|
inlineprotected |
Definition at line 134 of file simple_octree.h.
Friends And Related Function Documentation
SimpleOctree
|
friend |
Definition at line 119 of file simple_octree.h.
Member Data Documentation
bounds_
|
protected |
Definition at line 142 of file simple_octree.h.
center_
|
protected |
Definition at line 142 of file simple_octree.h.
children_
|
protected |
Definition at line 143 of file simple_octree.h.
data_
|
protected |
Definition at line 141 of file simple_octree.h.
full_leaf_neighbors_
|
protected |
Definition at line 145 of file simple_octree.h.
Referenced by pcl::recognition::SimpleOctree< NodeData, NodeDataCreator, Scalar >::Node::makeNeighbors().
parent_
|
protected |
Definition at line 143 of file simple_octree.h.
radius_
|
protected |
Definition at line 144 of file simple_octree.h.
The documentation for this class was generated from the following files:
- pcl/recognition/ransac_based/simple_octree.h
- pcl/recognition/impl/ransac_based/simple_octree.hpp
© 2009–2012, Willow Garage, Inc.
© 2012–, Open Perception, Inc.
Licensed under the BSD License.
https://pointclouds.org/documentation/classpcl_1_1recognition_1_1_simple_octree_1_1_node.html