Point Cloud Library (PCL) 1.13.0
|
Abstract octree leaf class More...
#include <pcl/octree/octree_nodes.h>
Public Member Functions | |
OctreeLeafNode () | |
Empty constructor. More... | |
OctreeLeafNode (const OctreeLeafNode &source) | |
Copy constructor. More... | |
~OctreeLeafNode () override=default | |
Empty deconstructor. More... | |
OctreeLeafNode< ContainerT > * | deepCopy () const override |
Method to perform a deep copy of the octree. More... | |
node_type_t | getNodeType () const override |
Get the type of octree node. 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... | |
![]() | |
OctreeNode ()=default | |
virtual | ~OctreeNode ()=default |
virtual node_type_t | getNodeType () const =0 |
Pure virtual method for retrieving the type of octree node (branch or leaf) More... | |
virtual OctreeNode * | deepCopy () const =0 |
Pure virtual method to perform a deep copy of the octree. More... | |
Protected Attributes | |
ContainerT | container_ |
Abstract octree leaf class
Definition at line 81 of file octree_nodes.h.
|
inline |
Empty constructor.
Definition at line 84 of file octree_nodes.h.
|
inline |
Copy constructor.
Definition at line 87 of file octree_nodes.h.
References pcl::octree::OctreeLeafNode< ContainerT >::container_.
|
overridedefault |
Empty deconstructor.
|
inlineoverridevirtual |
Method to perform a deep copy of the octree.
Implements pcl::octree::OctreeNode.
Definition at line 98 of file octree_nodes.h.
|
inline |
Get reference to container.
Definition at line 147 of file octree_nodes.h.
References pcl::octree::OctreeLeafNode< ContainerT >::container_.
|
inline |
Get const reference to container.
Definition at line 140 of file octree_nodes.h.
References pcl::octree::OctreeLeafNode< ContainerT >::container_.
|
inline |
Get pointer to container.
Definition at line 161 of file octree_nodes.h.
References pcl::octree::OctreeLeafNode< ContainerT >::container_.
|
inline |
Get const pointer to container.
Definition at line 154 of file octree_nodes.h.
References pcl::octree::OctreeLeafNode< ContainerT >::container_.
Referenced by pcl::octree::Octree2BufBase< LeafContainerT, BranchContainerT >::createLeaf(), pcl::octree::OctreeBase< LeafContainerT, BranchContainerT >::createLeaf(), and pcl::octree::Octree2BufBase< OctreeContainerPointIndices, OctreeContainerEmpty >::serializeLeafs().
|
inlineoverridevirtual |
Get the type of octree node.
Returns LEAVE_NODE type
Implements pcl::octree::OctreeNode.
Definition at line 105 of file octree_nodes.h.
References pcl::octree::LEAF_NODE.
|
inline |
Get reference to container.
Definition at line 133 of file octree_nodes.h.
References pcl::octree::OctreeLeafNode< ContainerT >::container_.
|
inline |
Get const reference to container.
Definition at line 126 of file octree_nodes.h.
References pcl::octree::OctreeLeafNode< ContainerT >::container_.
|
inline |
Get pointer to container.
Definition at line 119 of file octree_nodes.h.
References pcl::octree::OctreeLeafNode< ContainerT >::container_.
|
inline |
Get const pointer to container.
Definition at line 112 of file octree_nodes.h.
References pcl::octree::OctreeLeafNode< ContainerT >::container_.
|
protected |
Definition at line 167 of file octree_nodes.h.
Referenced by pcl::octree::OctreeLeafNode< ContainerT >::getContainer(), pcl::octree::OctreeLeafNode< ContainerT >::getContainerPtr(), pcl::octree::OctreeLeafNode< ContainerT >::OctreeLeafNode(), pcl::octree::OctreeLeafNode< ContainerT >::operator*(), and pcl::octree::OctreeLeafNode< ContainerT >::operator->().