Point Cloud Library (PCL)  1.7.0
Public Member Functions | Protected Attributes
pcl::octree::BufferedBranchNode< ContainerT > Class Template Reference

#include <pcl/octree/octree2buf_base.h>

+ Inheritance diagram for pcl::octree::BufferedBranchNode< ContainerT >:

List of all members.

Public Member Functions

 BufferedBranchNode ()
 Empty constructor.
 BufferedBranchNode (const BufferedBranchNode &source)
 Copy constructor.
BufferedBranchNodeoperator= (const BufferedBranchNode &source_arg)
 Copy operator.
virtual ~BufferedBranchNode ()
 Empty 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.
void setChildPtr (unsigned char buffer_arg, unsigned char index_arg, OctreeNode *newNode_arg)
 Set child pointer in current branch node.
bool hasChild (unsigned char buffer_arg, unsigned char index_arg) const
 Check if branch is pointing to a particular child node.
virtual node_type_t getNodeType () const
 Get the type of octree node.
void reset ()
 Reset branch node container for every branch buffer.
const ContainerT * operator-> () const
 Get const pointer to container.
ContainerT * operator-> ()
 Get pointer to container.
const ContainerT & operator* () const
 Get const reference to container.
ContainerT & operator* ()
 Get reference to container.
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.

Protected Attributes

ContainerT container_
OctreeNodechild_node_array_ [2][8]

Detailed Description

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

Definition at line 58 of file octree2buf_base.h.


Constructor & Destructor Documentation

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

Copy constructor.

Definition at line 69 of file octree2buf_base.h.

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

Empty constructor.

Definition at line 93 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 99 of file octree2buf_base.h.

References pcl::octree::BufferedBranchNode< ContainerT >::BufferedBranchNode().

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

Get const reference to container.

Definition at line 181 of file octree2buf_base.h.

References pcl::octree::BufferedBranchNode< ContainerT >::container_.

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

Get reference to container.

Definition at line 188 of file octree2buf_base.h.

References pcl::octree::BufferedBranchNode< ContainerT >::container_.

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

Get const pointer to container.

Definition at line 195 of file octree2buf_base.h.

References pcl::octree::BufferedBranchNode< ContainerT >::container_.

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

Get pointer to container.

Definition at line 202 of file octree2buf_base.h.

References pcl::octree::BufferedBranchNode< ContainerT >::container_.

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 140 of file octree2buf_base.h.

References pcl::octree::BRANCH_NODE.

template<typename ContainerT >
bool pcl::octree::BufferedBranchNode< ContainerT >::hasChild ( unsigned char  buffer_arg,
unsigned char  index_arg 
) const [inline]
template<typename ContainerT >
const ContainerT& pcl::octree::BufferedBranchNode< ContainerT >::operator* ( ) const [inline]

Get const reference to container.

Definition at line 167 of file octree2buf_base.h.

References pcl::octree::BufferedBranchNode< ContainerT >::container_.

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

Get reference to container.

Definition at line 174 of file octree2buf_base.h.

References pcl::octree::BufferedBranchNode< ContainerT >::container_.

template<typename ContainerT >
const ContainerT* pcl::octree::BufferedBranchNode< ContainerT >::operator-> ( ) const [inline]

Get const pointer to container.

Definition at line 153 of file octree2buf_base.h.

References pcl::octree::BufferedBranchNode< ContainerT >::container_.

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

Get pointer to container.

Definition at line 160 of file octree2buf_base.h.

References pcl::octree::BufferedBranchNode< ContainerT >::container_.

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

Reset branch node container for every branch buffer.

Definition at line 146 of file octree2buf_base.h.

References pcl::octree::BufferedBranchNode< ContainerT >::child_node_array_.

Referenced by pcl::octree::BufferedBranchNode< ContainerT >::BufferedBranchNode().

template<typename ContainerT >
void pcl::octree::BufferedBranchNode< ContainerT >::setChildPtr ( unsigned char  buffer_arg,
unsigned char  index_arg,
OctreeNode newNode_arg 
) [inline]

Member Data Documentation

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

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