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

Abstract octree branch class More...

#include <octree_nodes.h>

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

List of all members.

Public Member Functions

virtual OctreeBranchNodedeepCopy () const
 Octree deep copy method.
OctreeNodegetChildPtr (unsigned char childIdx_arg) const
 Get pointer to child.
virtual node_type_t getNodeType () const
 Get the type of octree node. Returns LEAVE_NODE type.
bool hasChild (unsigned char childIdx_arg) const
 Check if branch is pointing to a particular child node.
 OctreeBranchNode ()
 Empty constructor.
 OctreeBranchNode (const OctreeBranchNode &source)
 Empty constructor.
OctreeBranchNodeoperator= (const OctreeBranchNode &source)
 Copy operator.
OctreeNode *& operator[] (unsigned char childIdx_arg)
 Access operator.
void reset ()
void setChildPtr (OctreeNode *child, unsigned char index)
 Get pointer to child.
virtual ~OctreeBranchNode ()
 Empty deconstructor.

Protected Attributes

OctreeNodechildNodeArray_ [8]

Detailed Description

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

Abstract octree branch class

Note:
Octree branch classes may collect data of type DataT
Author:
Julius Kammerl (julius@kammerl.de)

Definition at line 153 of file octree_nodes.h.


Constructor & Destructor Documentation

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

Empty constructor.

Definition at line 162 of file octree_nodes.h.

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

Empty constructor.

Definition at line 170 of file octree_nodes.h.

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

Empty deconstructor.

Definition at line 205 of file octree_nodes.h.


Member Function Documentation

template<typename ContainerT >
virtual OctreeBranchNode* pcl::octree::OctreeBranchNode< ContainerT >::deepCopy ( ) const [inline, virtual]

Octree deep copy method.

Implements pcl::octree::OctreeNode.

Definition at line 198 of file octree_nodes.h.

template<typename ContainerT >
OctreeNode* pcl::octree::OctreeBranchNode< ContainerT >::getChildPtr ( unsigned char  childIdx_arg) const [inline]

Get pointer to child.

Parameters:
childIdx_arg,:index to child node
Returns:
OctreeNode pointer

Definition at line 233 of file octree_nodes.h.

template<typename ContainerT >
virtual node_type_t pcl::octree::OctreeBranchNode< ContainerT >::getNodeType ( ) const [inline, virtual]

Get the type of octree node. Returns LEAVE_NODE type.

Implements pcl::octree::OctreeNode.

Definition at line 260 of file octree_nodes.h.

template<typename ContainerT >
bool pcl::octree::OctreeBranchNode< ContainerT >::hasChild ( unsigned char  childIdx_arg) const [inline]

Check if branch is pointing to a particular child node.

Parameters:
childIdx_arg,:index to child node
Returns:
"true" if pointer to child node exists; "false" otherwise

Definition at line 253 of file octree_nodes.h.

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

Copy operator.

Definition at line 184 of file octree_nodes.h.

template<typename ContainerT >
OctreeNode*& pcl::octree::OctreeBranchNode< ContainerT >::operator[] ( unsigned char  childIdx_arg) [inline]

Access operator.

Parameters:
childIdx_arg,:index to child node
Returns:
OctreeNode pointer

Definition at line 222 of file octree_nodes.h.

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

Definition at line 211 of file octree_nodes.h.

template<typename ContainerT >
void pcl::octree::OctreeBranchNode< ContainerT >::setChildPtr ( OctreeNode child,
unsigned char  index 
) [inline]

Get pointer to child.

Returns:
OctreeNode pointer

Definition at line 242 of file octree_nodes.h.


Member Data Documentation

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

Definition at line 266 of file octree_nodes.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