Public Member Functions | Protected Attributes
pcl::octree::BufferedBranchNode< ContainerT > Class Template Reference

#include <octree2buf_base.h>

Inheritance diagram for pcl::octree::BufferedBranchNode< ContainerT >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 BufferedBranchNode ()
 Empty constructor.
 BufferedBranchNode (const BufferedBranchNode &source)
 Copy constructor.
virtual BufferedBranchNodedeepCopy () const
 Method to perform a deep copy of the octree.
OctreeNodegetChildPtr (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.
BufferedBranchNodeoperator= (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

OctreeNodechildNodeArray_ [2][8]
int postBuf
int preBuf

Detailed Description

template<typename ContainerT>
class pcl::octree::BufferedBranchNode< ContainerT >

Definition at line 59 of file octree2buf_base.h.


Constructor & Destructor Documentation

template<typename ContainerT >
pcl::octree::BufferedBranchNode< ContainerT >::BufferedBranchNode ( ) [inline]

Empty constructor.

Definition at line 67 of file octree2buf_base.h.

template<typename ContainerT >
pcl::octree::BufferedBranchNode< ContainerT >::BufferedBranchNode ( const BufferedBranchNode< ContainerT > &  source) [inline]

Copy constructor.

Definition at line 73 of file octree2buf_base.h.

template<typename ContainerT >
virtual pcl::octree::BufferedBranchNode< ContainerT >::~BufferedBranchNode ( ) [inline, virtual]

Empty constructor.

Definition at line 97 of file octree2buf_base.h.


Member Function Documentation

template<typename ContainerT >
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.

template<typename ContainerT >
OctreeNode* pcl::octree::BufferedBranchNode< ContainerT >::getChildPtr ( unsigned char  buffer_arg,
unsigned char  index_arg 
) const [inline]

Get child pointer in current branch node.

Parameters:
buffer_arg,:buffer selector
index_arg,:index of child in node
Returns:
pointer to child node

Definition at line 114 of file octree2buf_base.h.

template<typename ContainerT >
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.

template<typename ContainerT >
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.

Parameters:
buffer_arg,:buffer selector
index_arg,:index of child in node
Returns:
"true" if pointer to child node exists; "false" otherwise

Definition at line 137 of file octree2buf_base.h.

template<typename ContainerT >
BufferedBranchNode& pcl::octree::BufferedBranchNode< ContainerT >::operator= ( const BufferedBranchNode< ContainerT > &  source_arg) [inline]

Copy operator.

Definition at line 80 of file octree2buf_base.h.

template<typename ContainerT >
void pcl::octree::BufferedBranchNode< ContainerT >::reset ( ) [inline]

Reset branch node container for every branch buffer.

Definition at line 150 of file octree2buf_base.h.

template<typename ContainerT >
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.

Parameters:
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.


Member Data Documentation

template<typename ContainerT >
OctreeNode* pcl::octree::BufferedBranchNode< ContainerT >::childNodeArray_[2][8] [protected]

Definition at line 158 of file octree2buf_base.h.

template<typename ContainerT >
int pcl::octree::BufferedBranchNode< ContainerT >::postBuf [protected]

Definition at line 159 of file octree2buf_base.h.

template<typename ContainerT >
int pcl::octree::BufferedBranchNode< ContainerT >::preBuf [protected]

Definition at line 157 of file octree2buf_base.h.


The documentation for this class was generated from the following file:


pcl
Author(s): Open Perception
autogenerated on Mon Oct 6 2014 03:20:18