#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. | |
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. | |
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 * | childNodeArray_ [2][8] |
int | postBuf |
int | preBuf |
Definition at line 59 of file octree2buf_base.h.
pcl::octree::BufferedBranchNode< ContainerT >::BufferedBranchNode | ( | ) | [inline] |
Empty constructor.
Definition at line 67 of file octree2buf_base.h.
pcl::octree::BufferedBranchNode< ContainerT >::BufferedBranchNode | ( | const BufferedBranchNode< ContainerT > & | source | ) | [inline] |
Copy constructor.
Definition at line 73 of file octree2buf_base.h.
virtual pcl::octree::BufferedBranchNode< ContainerT >::~BufferedBranchNode | ( | ) | [inline, virtual] |
Empty constructor.
Definition at line 97 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 103 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 114 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 144 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 137 of file octree2buf_base.h.
BufferedBranchNode& pcl::octree::BufferedBranchNode< ContainerT >::operator= | ( | const BufferedBranchNode< ContainerT > & | source_arg | ) | [inline] |
Copy operator.
Definition at line 80 of file octree2buf_base.h.
void pcl::octree::BufferedBranchNode< ContainerT >::reset | ( | ) | [inline] |
Reset branch node container for every branch buffer.
Definition at line 150 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 125 of file octree2buf_base.h.
OctreeNode* pcl::octree::BufferedBranchNode< ContainerT >::childNodeArray_[2][8] [protected] |
Definition at line 158 of file octree2buf_base.h.
int pcl::octree::BufferedBranchNode< ContainerT >::postBuf [protected] |
Definition at line 159 of file octree2buf_base.h.
int pcl::octree::BufferedBranchNode< ContainerT >::preBuf [protected] |
Definition at line 157 of file octree2buf_base.h.