#include <simple_octree.h>
Public Member Functions | |
void | deleteChildren () |
void | deleteData () |
const Scalar * | getBounds () const |
void | getBounds (Scalar b[6]) const |
const Scalar * | getCenter () const |
Node * | getChild (int id) |
Node * | getChildren () |
NodeData & | getData () |
const NodeData & | getData () const |
const std::set< Node * > & | getNeighbors () const |
Node * | getParent () |
float | getRadius () const |
bool | hasChildren () |
bool | hasData () |
Node () | |
void | setBounds (const Scalar *b) |
void | setCenter (const Scalar *c) |
void | setData (const NodeData &src) |
virtual | ~Node () |
Protected Member Functions | |
void | computeRadius () |
Computes the "radius" of the node which is half the diagonal length. | |
bool | createChildren () |
void | makeNeighbors (Node *node) |
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. | |
void | setData (NodeData *data) |
void | setParent (Node *parent) |
Protected Attributes | |
Scalar | bounds_ [6] |
Scalar | center_ [3] |
Node * | children_ |
NodeData * | data_ |
std::set< Node * > | full_leaf_neighbors_ |
Node * | parent_ |
Scalar | radius_ |
Friends | |
class | SimpleOctree |
Definition at line 60 of file simple_octree.h.
pcl::recognition::SimpleOctree< NodeData, NodeDataCreator, Scalar >::Node::Node | ( | ) | [inline] |
Definition at line 14 of file simple_octree.hpp.
pcl::recognition::SimpleOctree< NodeData, NodeDataCreator, Scalar >::Node::~Node | ( | ) | [inline] |
Definition at line 23 of file simple_octree.hpp.
void pcl::recognition::SimpleOctree< NodeData, NodeDataCreator, Scalar >::Node::computeRadius | ( | ) | [inline, protected] |
Computes the "radius" of the node which is half the diagonal length.
Definition at line 55 of file simple_octree.hpp.
bool pcl::recognition::SimpleOctree< NodeData, NodeDataCreator, Scalar >::Node::createChildren | ( | ) | [inline, protected] |
Definition at line 67 of file simple_octree.hpp.
void pcl::recognition::SimpleOctree< NodeData, NodeDataCreator, Scalar >::Node::deleteChildren | ( | ) | [inline] |
Definition at line 155 of file simple_octree.hpp.
void pcl::recognition::SimpleOctree< NodeData, NodeDataCreator, Scalar >::Node::deleteData | ( | ) | [inline] |
Definition at line 167 of file simple_octree.hpp.
const Scalar* pcl::recognition::SimpleOctree< NodeData, NodeDataCreator, Scalar >::Node::getBounds | ( | ) | const [inline] |
Definition at line 77 of file simple_octree.h.
void pcl::recognition::SimpleOctree< NodeData, NodeDataCreator, Scalar >::Node::getBounds | ( | Scalar | b[6] | ) | const [inline] |
Definition at line 80 of file simple_octree.h.
const Scalar* pcl::recognition::SimpleOctree< NodeData, NodeDataCreator, Scalar >::Node::getCenter | ( | ) | const [inline] |
Definition at line 74 of file simple_octree.h.
Node* pcl::recognition::SimpleOctree< NodeData, NodeDataCreator, Scalar >::Node::getChild | ( | int | id | ) | [inline] |
Definition at line 83 of file simple_octree.h.
Node* pcl::recognition::SimpleOctree< NodeData, NodeDataCreator, Scalar >::Node::getChildren | ( | ) | [inline] |
Definition at line 86 of file simple_octree.h.
NodeData& pcl::recognition::SimpleOctree< NodeData, NodeDataCreator, Scalar >::Node::getData | ( | ) | [inline] |
Definition at line 92 of file simple_octree.h.
const NodeData& pcl::recognition::SimpleOctree< NodeData, NodeDataCreator, Scalar >::Node::getData | ( | ) | const [inline] |
Definition at line 95 of file simple_octree.h.
const std::set<Node*>& pcl::recognition::SimpleOctree< NodeData, NodeDataCreator, Scalar >::Node::getNeighbors | ( | ) | const [inline] |
Definition at line 110 of file simple_octree.h.
Node* pcl::recognition::SimpleOctree< NodeData, NodeDataCreator, Scalar >::Node::getParent | ( | ) | [inline] |
Definition at line 98 of file simple_octree.h.
float pcl::recognition::SimpleOctree< NodeData, NodeDataCreator, Scalar >::Node::getRadius | ( | ) | const [inline] |
Definition at line 101 of file simple_octree.h.
bool pcl::recognition::SimpleOctree< NodeData, NodeDataCreator, Scalar >::Node::hasChildren | ( | ) | [inline] |
Definition at line 107 of file simple_octree.h.
bool pcl::recognition::SimpleOctree< NodeData, NodeDataCreator, Scalar >::Node::hasData | ( | ) | [inline] |
Definition at line 104 of file simple_octree.h.
void pcl::recognition::SimpleOctree< NodeData, NodeDataCreator, Scalar >::Node::makeNeighbors | ( | Node * | node | ) | [inline, protected] |
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 179 of file simple_octree.hpp.
void pcl::recognition::SimpleOctree< NodeData, NodeDataCreator, Scalar >::Node::setBounds | ( | const Scalar * | b | ) | [inline] |
Definition at line 42 of file simple_octree.hpp.
void pcl::recognition::SimpleOctree< NodeData, NodeDataCreator, Scalar >::Node::setCenter | ( | const Scalar * | c | ) | [inline] |
Definition at line 32 of file simple_octree.hpp.
void pcl::recognition::SimpleOctree< NodeData, NodeDataCreator, Scalar >::Node::setData | ( | const NodeData & | src | ) | [inline] |
Definition at line 89 of file simple_octree.h.
void pcl::recognition::SimpleOctree< NodeData, NodeDataCreator, Scalar >::Node::setData | ( | NodeData * | data | ) | [inline, protected] |
Definition at line 122 of file simple_octree.h.
void pcl::recognition::SimpleOctree< NodeData, NodeDataCreator, Scalar >::Node::setParent | ( | Node * | parent | ) | [inline, protected] |
Definition at line 133 of file simple_octree.h.
friend class SimpleOctree [friend] |
Definition at line 118 of file simple_octree.h.
Scalar pcl::recognition::SimpleOctree< NodeData, NodeDataCreator, Scalar >::Node::bounds_[6] [protected] |
Definition at line 141 of file simple_octree.h.
Scalar pcl::recognition::SimpleOctree< NodeData, NodeDataCreator, Scalar >::Node::center_[3] [protected] |
Definition at line 141 of file simple_octree.h.
Node * pcl::recognition::SimpleOctree< NodeData, NodeDataCreator, Scalar >::Node::children_ [protected] |
Definition at line 142 of file simple_octree.h.
NodeData* pcl::recognition::SimpleOctree< NodeData, NodeDataCreator, Scalar >::Node::data_ [protected] |
Definition at line 140 of file simple_octree.h.
std::set<Node*> pcl::recognition::SimpleOctree< NodeData, NodeDataCreator, Scalar >::Node::full_leaf_neighbors_ [protected] |
Definition at line 144 of file simple_octree.h.
Node* pcl::recognition::SimpleOctree< NodeData, NodeDataCreator, Scalar >::Node::parent_ [protected] |
Definition at line 142 of file simple_octree.h.
Scalar pcl::recognition::SimpleOctree< NodeData, NodeDataCreator, Scalar >::Node::radius_ [protected] |
Definition at line 143 of file simple_octree.h.