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

OctreeNodechild_node_array_ [2][8]
ContainerT container_

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]

Empty constructor.

Definition at line 63 of file octree2buf_base.h.

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.

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

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.

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

Get reference to container.

Definition at line 188 of file octree2buf_base.h.

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.

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

Get pointer to container.

Definition at line 202 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 140 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 133 of file octree2buf_base.h.

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.

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

Get reference to container.

Definition at line 174 of file octree2buf_base.h.

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.

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

Get pointer to container.

Definition at line 160 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 76 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 146 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 121 of file octree2buf_base.h.


Member Data Documentation

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

Definition at line 210 of file octree2buf_base.h.

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

Definition at line 208 of file octree2buf_base.h.


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


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:44:23