#include <octree2buf_base.h>
Public Member Functions | |
BufferedBranchNode () | |
Empty constructor. | |
BufferedBranchNode (const BufferedBranchNode &source) | |
Copy constructor. | |
virtual BufferedBranchNode * | deepCopy () const |
Method to perform a deep copy of the octree. | |
OctreeNode * | getChildPtr (unsigned char buffer_arg, unsigned char index_arg) const |
Get child pointer in current branch node. | |
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 |
Get the type of octree node. Returns LEAVE_NODE type. | |
bool | hasChild (unsigned char buffer_arg, unsigned char index_arg) const |
Check if branch is pointing to a particular child node. | |
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. | |
BufferedBranchNode & | operator= (const BufferedBranchNode &source_arg) |
Copy operator. | |
void | reset () |
Reset branch node container for every branch buffer. | |
void | setChildPtr (unsigned char buffer_arg, unsigned char index_arg, OctreeNode *newNode_arg) |
Set child pointer in current branch node. | |
virtual | ~BufferedBranchNode () |
Empty constructor. | |
Protected Attributes | |
OctreeNode * | child_node_array_ [2][8] |
ContainerT | container_ |
Definition at line 58 of file octree2buf_base.h.
pcl::octree::BufferedBranchNode< ContainerT >::BufferedBranchNode | ( | ) | [inline] |
Empty constructor.
Definition at line 63 of file octree2buf_base.h.
pcl::octree::BufferedBranchNode< ContainerT >::BufferedBranchNode | ( | const BufferedBranchNode< ContainerT > & | source | ) | [inline] |
Copy constructor.
Definition at line 69 of file octree2buf_base.h.
virtual pcl::octree::BufferedBranchNode< ContainerT >::~BufferedBranchNode | ( | ) | [inline, virtual] |
Empty constructor.
Definition at line 93 of file octree2buf_base.h.
virtual BufferedBranchNode* pcl::octree::BufferedBranchNode< ContainerT >::deepCopy | ( | ) | const [inline, virtual] |
Method to perform a deep copy of the octree.
Implements pcl::octree::OctreeNode.
Definition at line 99 of file octree2buf_base.h.
OctreeNode* pcl::octree::BufferedBranchNode< ContainerT >::getChildPtr | ( | unsigned char | buffer_arg, |
unsigned char | index_arg | ||
) | const [inline] |
Get child pointer in current branch node.
buffer_arg,: | buffer selector |
index_arg,: | index of child in node |
Definition at line 110 of file octree2buf_base.h.
const ContainerT& pcl::octree::BufferedBranchNode< ContainerT >::getContainer | ( | ) | const [inline] |
Get const reference to container.
Definition at line 181 of file octree2buf_base.h.
ContainerT& pcl::octree::BufferedBranchNode< ContainerT >::getContainer | ( | ) | [inline] |
Get reference to container.
Definition at line 188 of file octree2buf_base.h.
const ContainerT* pcl::octree::BufferedBranchNode< ContainerT >::getContainerPtr | ( | ) | const [inline] |
Get const pointer to container.
Definition at line 195 of file octree2buf_base.h.
ContainerT* pcl::octree::BufferedBranchNode< ContainerT >::getContainerPtr | ( | ) | [inline] |
Get pointer to container.
Definition at line 202 of file octree2buf_base.h.
virtual node_type_t pcl::octree::BufferedBranchNode< ContainerT >::getNodeType | ( | ) | const [inline, virtual] |
Get the type of octree node. Returns LEAVE_NODE type.
Implements pcl::octree::OctreeNode.
Definition at line 140 of file octree2buf_base.h.
bool pcl::octree::BufferedBranchNode< ContainerT >::hasChild | ( | unsigned char | buffer_arg, |
unsigned char | index_arg | ||
) | const [inline] |
Check if branch is pointing to a particular child node.
buffer_arg,: | buffer selector |
index_arg,: | index of child in node |
Definition at line 133 of file octree2buf_base.h.
const ContainerT& pcl::octree::BufferedBranchNode< ContainerT >::operator* | ( | ) | const [inline] |
Get const reference to container.
Definition at line 167 of file octree2buf_base.h.
ContainerT& pcl::octree::BufferedBranchNode< ContainerT >::operator* | ( | ) | [inline] |
Get reference to container.
Definition at line 174 of file octree2buf_base.h.
const ContainerT* pcl::octree::BufferedBranchNode< ContainerT >::operator-> | ( | ) | const [inline] |
Get const pointer to container.
Definition at line 153 of file octree2buf_base.h.
ContainerT* pcl::octree::BufferedBranchNode< ContainerT >::operator-> | ( | ) | [inline] |
Get pointer to container.
Definition at line 160 of file octree2buf_base.h.
BufferedBranchNode& pcl::octree::BufferedBranchNode< ContainerT >::operator= | ( | const BufferedBranchNode< ContainerT > & | source_arg | ) | [inline] |
Copy operator.
Definition at line 76 of file octree2buf_base.h.
void pcl::octree::BufferedBranchNode< ContainerT >::reset | ( | ) | [inline] |
Reset branch node container for every branch buffer.
Definition at line 146 of file octree2buf_base.h.
void pcl::octree::BufferedBranchNode< ContainerT >::setChildPtr | ( | unsigned char | buffer_arg, |
unsigned char | index_arg, | ||
OctreeNode * | newNode_arg | ||
) | [inline] |
Set child pointer in current branch node.
buffer_arg,: | buffer selector |
index_arg,: | index of child in node |
newNode_arg,: | pointer to new child node |
Definition at line 121 of file octree2buf_base.h.
OctreeNode* pcl::octree::BufferedBranchNode< ContainerT >::child_node_array_[2][8] [protected] |
Definition at line 210 of file octree2buf_base.h.
ContainerT pcl::octree::BufferedBranchNode< ContainerT >::container_ [protected] |
Definition at line 208 of file octree2buf_base.h.