Point Cloud Library (PCL)  1.6.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions
pcl::octree::OctreeBranchNode< ContainerT > Class Template Reference

Abstract octree branch class More...

#include <pcl/octree/octree_nodes.h>

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

Public Member Functions

 OctreeBranchNode ()
 Empty constructor. More...
 
 OctreeBranchNode (const OctreeBranchNode &source)
 Empty constructor. More...
 
OctreeBranchNodeoperator= (const OctreeBranchNode &source)
 Copy operator. More...
 
virtual OctreeBranchNodedeepCopy () const
 Octree deep copy method. More...
 
virtual ~OctreeBranchNode ()
 Empty deconstructor. More...
 
void reset ()
 
OctreeNode *& operator[] (unsigned char childIdx_arg)
 Access operator. More...
 
OctreeNodegetChildPtr (unsigned char childIdx_arg) const
 Get pointer to child. More...
 
void setChildPtr (OctreeNode *child, unsigned char index)
 Get pointer to child. More...
 
bool hasChild (unsigned char childIdx_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...
 

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 (juliu.nosp@m.s@ka.nosp@m.mmerl.nosp@m..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 ( )
inlinevirtual

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
inlinevirtual

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
inlinevirtual

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.


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