#include <orr_octree.h>
Classes | |
class | Data |
Public Member Functions | |
void | computeRadius () |
Computes the "radius" of the node which is half the diagonal length. | |
bool | createChildren () |
void | deleteChildren () |
void | deleteData () |
const float * | getBounds () const |
void | getBounds (float b[6]) const |
const float * | getCenter () const |
Node * | getChild (int id) |
Node * | getChildren () |
Node::Data * | getData () |
const Node::Data * | getData () const |
Node * | getParent () |
float | getRadius () |
Computes the "radius" of the node which is half the diagonal length. | |
bool | hasChildren () |
bool | hasData () |
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. | |
Node () | |
void | setBounds (const float *b) |
void | setCenter (const float *c) |
void | setData (Node::Data *data) |
void | setParent (Node *parent) |
void | setUserData (void *user_data) |
virtual | ~Node () |
Protected Attributes | |
float | bounds_ [6] |
float | center_ [3] |
Node * | children_ |
Node::Data * | data_ |
Node * | parent_ |
float | radius_ |
Definition at line 78 of file orr_octree.h.
pcl::recognition::ORROctree::Node::Node | ( | ) | [inline] |
Definition at line 168 of file orr_octree.h.
virtual pcl::recognition::ORROctree::Node::~Node | ( | ) | [inline] |
Definition at line 174 of file orr_octree.h.
void pcl::recognition::ORROctree::Node::computeRadius | ( | ) | [inline] |
Computes the "radius" of the node which is half the diagonal length.
Definition at line 194 of file orr_octree.h.
Definition at line 205 of file orr_octree.cpp.
void pcl::recognition::ORROctree::Node::deleteChildren | ( | ) | [inline] |
Definition at line 244 of file orr_octree.h.
void pcl::recognition::ORROctree::Node::deleteData | ( | ) | [inline] |
Definition at line 254 of file orr_octree.h.
const float* pcl::recognition::ORROctree::Node::getBounds | ( | ) | const [inline] |
Definition at line 204 of file orr_octree.h.
void pcl::recognition::ORROctree::Node::getBounds | ( | float | b[6] | ) | const [inline] |
Definition at line 207 of file orr_octree.h.
const float* pcl::recognition::ORROctree::Node::getCenter | ( | ) | const [inline] |
Definition at line 201 of file orr_octree.h.
Node* pcl::recognition::ORROctree::Node::getChild | ( | int | id | ) | [inline] |
Definition at line 213 of file orr_octree.h.
Node* pcl::recognition::ORROctree::Node::getChildren | ( | ) | [inline] |
Definition at line 216 of file orr_octree.h.
Node::Data* pcl::recognition::ORROctree::Node::getData | ( | ) | [inline] |
Definition at line 219 of file orr_octree.h.
const Node::Data* pcl::recognition::ORROctree::Node::getData | ( | ) | const [inline] |
Definition at line 222 of file orr_octree.h.
Node* pcl::recognition::ORROctree::Node::getParent | ( | ) | [inline] |
Definition at line 228 of file orr_octree.h.
float pcl::recognition::ORROctree::Node::getRadius | ( | ) | [inline] |
Computes the "radius" of the node which is half the diagonal length.
Definition at line 238 of file orr_octree.h.
bool pcl::recognition::ORROctree::Node::hasChildren | ( | ) | [inline] |
Definition at line 234 of file orr_octree.h.
bool pcl::recognition::ORROctree::Node::hasData | ( | ) | [inline] |
Definition at line 231 of file orr_octree.h.
void pcl::recognition::ORROctree::Node::makeNeighbors | ( | Node * | node | ) | [inline] |
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 266 of file orr_octree.h.
void pcl::recognition::ORROctree::Node::setBounds | ( | const float * | b | ) | [inline] |
Definition at line 184 of file orr_octree.h.
void pcl::recognition::ORROctree::Node::setCenter | ( | const float * | c | ) | [inline] |
Definition at line 181 of file orr_octree.h.
void pcl::recognition::ORROctree::Node::setData | ( | Node::Data * | data | ) | [inline] |
Definition at line 190 of file orr_octree.h.
void pcl::recognition::ORROctree::Node::setParent | ( | Node * | parent | ) | [inline] |
Definition at line 187 of file orr_octree.h.
void pcl::recognition::ORROctree::Node::setUserData | ( | void * | user_data | ) | [inline] |
Definition at line 225 of file orr_octree.h.
float pcl::recognition::ORROctree::Node::bounds_[6] [protected] |
Definition at line 277 of file orr_octree.h.
float pcl::recognition::ORROctree::Node::center_[3] [protected] |
Definition at line 277 of file orr_octree.h.
Node * pcl::recognition::ORROctree::Node::children_ [protected] |
Definition at line 278 of file orr_octree.h.
Node::Data* pcl::recognition::ORROctree::Node::data_ [protected] |
Definition at line 276 of file orr_octree.h.
Node* pcl::recognition::ORROctree::Node::parent_ [protected] |
Definition at line 278 of file orr_octree.h.
float pcl::recognition::ORROctree::Node::radius_ [protected] |
Definition at line 277 of file orr_octree.h.