Point Cloud Library (PCL)  1.9.1-dev
List of all members | 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 >:

Public Member Functions

 BufferedBranchNode ()
 Empty constructor. More...
 
 BufferedBranchNode (const BufferedBranchNode &source)
 Copy constructor. More...
 
BufferedBranchNodeoperator= (const BufferedBranchNode &source_arg)
 Copy operator. More...
 
virtual ~BufferedBranchNode ()
 Empty constructor. More...
 
virtual BufferedBranchNodedeepCopy () const
 Method to perform a deep copy of the octree. More...
 
OctreeNodegetChildPtr (unsigned char buffer_arg, unsigned char index_arg) const
 Get child pointer in current branch node. More...
 
void setChildPtr (unsigned char buffer_arg, unsigned char index_arg, OctreeNode *newNode_arg)
 Set child pointer in current branch node. More...
 
bool hasChild (unsigned char buffer_arg, unsigned char index_arg) const
 Check if branch is pointing to a particular child node. More...
 
virtual node_type_t getNodeType () const
 Get the type of octree node. More...
 
void reset ()
 Reset branch node container for every branch buffer. More...
 
const ContainerT * operator-> () const
 Get const pointer to container. More...
 
ContainerT * operator-> ()
 Get pointer to container. More...
 
const ContainerT & operator* () const
 Get const reference to container. More...
 
ContainerT & operator* ()
 Get reference to container. More...
 
const ContainerT & getContainer () const
 Get const reference to container. More...
 
ContainerT & getContainer ()
 Get reference to container. More...
 
const ContainerT * getContainerPtr () const
 Get const pointer to container. More...
 
ContainerT * getContainerPtr ()
 Get pointer to container. More...
 
- Public Member Functions inherited from pcl::octree::OctreeNode
 OctreeNode ()
 
virtual ~OctreeNode ()
 

Protected Attributes

ContainerT container_
 
OctreeNodechild_node_array_ [2][8]
 

Detailed Description

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

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

template<typename ContainerT >
virtual pcl::octree::BufferedBranchNode< ContainerT >::~BufferedBranchNode ( )
inlinevirtual

Empty constructor.

Definition at line 90 of file octree2buf_base.h.

Member Function Documentation

template<typename ContainerT >
virtual BufferedBranchNode* pcl::octree::BufferedBranchNode< ContainerT >::deepCopy ( ) const
inlinevirtual

Method to perform a deep copy of the octree.

Implements pcl::octree::OctreeNode.

Definition at line 96 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 178 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 185 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 192 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 199 of file octree2buf_base.h.

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

template<typename ContainerT >
virtual node_type_t pcl::octree::BufferedBranchNode< ContainerT >::getNodeType ( ) const
inlinevirtual

Get the type of octree node.

Returns LEAVE_NODE type

Implements pcl::octree::OctreeNode.

Definition at line 137 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 164 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 171 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 150 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 157 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 143 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: