Abstract octree branch class More...
#include <octree_nodes.h>
Public Member Functions | |
virtual OctreeBranchNode * | deepCopy () const |
Octree deep copy method. | |
OctreeNode * | getChildPtr (unsigned char child_idx_arg) const |
Get pointer to child. | |
const ContainerT & | getContainer () const |
Get const reference to container. | |
ContainerT & | getContainer () |
Get reference to container. | |
const ContainerT * | getContainerPtr () const |
Get const pointer to container. | |
ContainerT * | getContainerPtr () |
Get pointer to container. | |
virtual node_type_t | getNodeType () const |
Check if branch can be pruned. | |
bool | hasChild (unsigned char child_idx_arg) const |
Check if branch is pointing to a particular child node. | |
OctreeBranchNode () | |
Empty constructor. | |
OctreeBranchNode (const OctreeBranchNode &source) | |
Empty constructor. | |
const ContainerT & | operator* () const |
Get const reference to container. | |
ContainerT & | operator* () |
Get reference to container. | |
const ContainerT * | operator-> () const |
Get const pointer to container. | |
ContainerT * | operator-> () |
Get pointer to container. | |
OctreeBranchNode & | operator= (const OctreeBranchNode &source) |
Copy operator. | |
OctreeNode *& | operator[] (unsigned char child_idx_arg) |
Access operator. | |
void | reset () |
void | setChildPtr (OctreeNode *child, unsigned char index) |
Get pointer to child. | |
virtual | ~OctreeBranchNode () |
Empty deconstructor. | |
Protected Attributes | |
OctreeNode * | child_node_array_ [8] |
ContainerT | container_ |
Abstract octree branch class
Definition at line 201 of file octree_nodes.h.
pcl::octree::OctreeBranchNode< ContainerT >::OctreeBranchNode | ( | ) | [inline] |
Empty constructor.
Definition at line 206 of file octree_nodes.h.
pcl::octree::OctreeBranchNode< ContainerT >::OctreeBranchNode | ( | const OctreeBranchNode< ContainerT > & | source | ) | [inline] |
Empty constructor.
Definition at line 214 of file octree_nodes.h.
virtual pcl::octree::OctreeBranchNode< ContainerT >::~OctreeBranchNode | ( | ) | [inline, virtual] |
Empty deconstructor.
Definition at line 249 of file octree_nodes.h.
virtual OctreeBranchNode* pcl::octree::OctreeBranchNode< ContainerT >::deepCopy | ( | ) | const [inline, virtual] |
Octree deep copy method.
Implements pcl::octree::OctreeNode.
Definition at line 242 of file octree_nodes.h.
OctreeNode* pcl::octree::OctreeBranchNode< ContainerT >::getChildPtr | ( | unsigned char | child_idx_arg | ) | const [inline] |
Get pointer to child.
child_idx_arg,: | index to child node |
Definition at line 269 of file octree_nodes.h.
const ContainerT& pcl::octree::OctreeBranchNode< ContainerT >::getContainer | ( | ) | const [inline] |
Get const reference to container.
Definition at line 363 of file octree_nodes.h.
ContainerT& pcl::octree::OctreeBranchNode< ContainerT >::getContainer | ( | ) | [inline] |
Get reference to container.
Definition at line 370 of file octree_nodes.h.
const ContainerT* pcl::octree::OctreeBranchNode< ContainerT >::getContainerPtr | ( | ) | const [inline] |
Get const pointer to container.
Definition at line 377 of file octree_nodes.h.
ContainerT* pcl::octree::OctreeBranchNode< ContainerT >::getContainerPtr | ( | ) | [inline] |
Get pointer to container.
Definition at line 384 of file octree_nodes.h.
virtual node_type_t pcl::octree::OctreeBranchNode< ContainerT >::getNodeType | ( | ) | const [inline, virtual] |
Check if branch can be pruned.
Implements pcl::octree::OctreeNode.
Definition at line 320 of file octree_nodes.h.
bool pcl::octree::OctreeBranchNode< ContainerT >::hasChild | ( | unsigned char | child_idx_arg | ) | const [inline] |
Check if branch is pointing to a particular child node.
child_idx_arg,: | index to child node |
Definition at line 289 of file octree_nodes.h.
const ContainerT& pcl::octree::OctreeBranchNode< ContainerT >::operator* | ( | ) | const [inline] |
Get const reference to container.
Definition at line 349 of file octree_nodes.h.
ContainerT& pcl::octree::OctreeBranchNode< ContainerT >::operator* | ( | ) | [inline] |
Get reference to container.
Definition at line 356 of file octree_nodes.h.
const ContainerT* pcl::octree::OctreeBranchNode< ContainerT >::operator-> | ( | ) | const [inline] |
Get const pointer to container.
Definition at line 335 of file octree_nodes.h.
ContainerT* pcl::octree::OctreeBranchNode< ContainerT >::operator-> | ( | ) | [inline] |
Get pointer to container.
Definition at line 342 of file octree_nodes.h.
OctreeBranchNode& pcl::octree::OctreeBranchNode< ContainerT >::operator= | ( | const OctreeBranchNode< ContainerT > & | source | ) | [inline] |
Copy operator.
Definition at line 228 of file octree_nodes.h.
OctreeNode*& pcl::octree::OctreeBranchNode< ContainerT >::operator[] | ( | unsigned char | child_idx_arg | ) | [inline] |
Access operator.
child_idx_arg,: | index to child node |
Definition at line 258 of file octree_nodes.h.
void pcl::octree::OctreeBranchNode< ContainerT >::reset | ( | ) | [inline] |
Definition at line 326 of file octree_nodes.h.
void pcl::octree::OctreeBranchNode< ContainerT >::setChildPtr | ( | OctreeNode * | child, |
unsigned char | index | ||
) | [inline] |
OctreeNode* pcl::octree::OctreeBranchNode< ContainerT >::child_node_array_[8] [protected] |
Definition at line 390 of file octree_nodes.h.
ContainerT pcl::octree::OctreeBranchNode< ContainerT >::container_ [protected] |
Definition at line 392 of file octree_nodes.h.