Point Cloud Library (PCL)
1.14.1-dev
|
#include <pcl/octree/octree2buf_base.h>
Public Member Functions | |
BufferedBranchNode () | |
Empty constructor. More... | |
BufferedBranchNode (const BufferedBranchNode &source) | |
Copy constructor. More... | |
BufferedBranchNode & | operator= (const BufferedBranchNode &source_arg) |
Copy operator. More... | |
~BufferedBranchNode () override=default | |
Empty constructor. More... | |
BufferedBranchNode * | deepCopy () const override |
Method to perform a deep copy of the octree. More... | |
OctreeNode * | getChildPtr (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... | |
node_type_t | getNodeType () const override |
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 ()=default | |
virtual | ~OctreeNode ()=default |
Protected Types | |
template<typename T , std::size_t ROW, std::size_t COL> | |
using | OctreeMatrix = std::array< std::array< T, COL >, ROW > |
Protected Attributes | |
ContainerT | container_ |
OctreeMatrix< OctreeNode *, 2, 8 > | child_node_array_ {} |
Definition at line 54 of file octree2buf_base.h.
|
protected |
Definition at line 203 of file octree2buf_base.h.
|
inline |
Empty constructor.
Definition at line 58 of file octree2buf_base.h.
References pcl::octree::BufferedBranchNode< ContainerT >::reset().
Referenced by pcl::octree::BufferedBranchNode< ContainerT >::deepCopy().
|
inline |
Copy constructor.
Definition at line 61 of file octree2buf_base.h.
|
overridedefault |
Empty constructor.
|
inlineoverridevirtual |
Method to perform a deep copy of the octree.
Implements pcl::octree::OctreeNode.
Definition at line 86 of file octree2buf_base.h.
References pcl::octree::BufferedBranchNode< ContainerT >::BufferedBranchNode().
|
inline |
Get child pointer in current branch node.
buffer_arg | buffer selector, must be less than 2 |
index_arg | index of child in node, must be less than 8 |
Definition at line 97 of file octree2buf_base.h.
References pcl::octree::BufferedBranchNode< ContainerT >::child_node_array_.
Referenced by pcl::octree::Octree2BufBase< LeafContainerT, BranchContainerT >::branchHasChild(), pcl::octree::Octree2BufBase< LeafContainerT, BranchContainerT >::createLeafRecursive(), pcl::octree::Octree2BufBase< LeafContainerT, BranchContainerT >::deleteBranch(), pcl::octree::Octree2BufBase< LeafContainerT, BranchContainerT >::deleteBranchChild(), pcl::octree::Octree2BufBase< LeafContainerT, BranchContainerT >::deleteLeafRecursive(), pcl::octree::Octree2BufBase< LeafContainerT, BranchContainerT >::deserializeTreeRecursive(), pcl::octree::Octree2BufBase< LeafContainerT, BranchContainerT >::findLeafRecursive(), pcl::octree::Octree2BufBase< LeafContainerT, BranchContainerT >::getBranchBitPattern(), pcl::octree::Octree2BufBase< LeafContainerT, BranchContainerT >::getBranchChildPtr(), pcl::octree::Octree2BufBase< LeafContainerT, BranchContainerT >::getBranchXORBitPattern(), pcl::octree::Octree2BufBase< LeafContainerT, BranchContainerT >::serializeTreeRecursive(), and pcl::octree::Octree2BufBase< LeafContainerT, BranchContainerT >::treeCleanUpRecursive().
|
inline |
Get reference to container.
Definition at line 180 of file octree2buf_base.h.
References pcl::octree::BufferedBranchNode< ContainerT >::container_.
|
inline |
Get const reference to container.
Definition at line 173 of file octree2buf_base.h.
References pcl::octree::BufferedBranchNode< ContainerT >::container_.
|
inline |
Get pointer to container.
Definition at line 194 of file octree2buf_base.h.
References pcl::octree::BufferedBranchNode< ContainerT >::container_.
|
inline |
Get const pointer to container.
Definition at line 187 of file octree2buf_base.h.
References pcl::octree::BufferedBranchNode< ContainerT >::container_.
|
inlineoverridevirtual |
Get the type of octree node.
Returns LEAVE_NODE type
Implements pcl::octree::OctreeNode.
Definition at line 131 of file octree2buf_base.h.
References pcl::octree::BRANCH_NODE.
|
inline |
Check if branch is pointing to a particular child node.
buffer_arg | buffer selector, must be less than 2 |
index_arg | index of child in node, must be less than 8 |
Definition at line 123 of file octree2buf_base.h.
References pcl::octree::BufferedBranchNode< ContainerT >::child_node_array_.
Referenced by pcl::octree::Octree2BufBase< LeafContainerT, BranchContainerT >::createLeafRecursive(), pcl::octree::Octree2BufBase< LeafContainerT, BranchContainerT >::deleteBranchChild(), pcl::octree::Octree2BufBase< LeafContainerT, BranchContainerT >::deleteLeafRecursive(), pcl::octree::Octree2BufBase< LeafContainerT, BranchContainerT >::deserializeTreeRecursive(), pcl::octree::Octree2BufBase< LeafContainerT, BranchContainerT >::findLeafRecursive(), pcl::octree::Octree2BufBase< LeafContainerT, BranchContainerT >::serializeTreeRecursive(), and pcl::octree::Octree2BufBase< LeafContainerT, BranchContainerT >::treeCleanUpRecursive().
|
inline |
Get reference to container.
Definition at line 166 of file octree2buf_base.h.
References pcl::octree::BufferedBranchNode< ContainerT >::container_.
|
inline |
Get const reference to container.
Definition at line 159 of file octree2buf_base.h.
References pcl::octree::BufferedBranchNode< ContainerT >::container_.
|
inline |
Get pointer to container.
Definition at line 152 of file octree2buf_base.h.
References pcl::octree::BufferedBranchNode< ContainerT >::container_.
|
inline |
Get const pointer to container.
Definition at line 145 of file octree2buf_base.h.
References pcl::octree::BufferedBranchNode< ContainerT >::container_.
|
inline |
Copy operator.
Definition at line 68 of file octree2buf_base.h.
References pcl::octree::BufferedBranchNode< ContainerT >::child_node_array_.
|
inline |
Reset branch node container for every branch buffer.
Definition at line 138 of file octree2buf_base.h.
References pcl::octree::BufferedBranchNode< ContainerT >::child_node_array_.
Referenced by pcl::octree::BufferedBranchNode< ContainerT >::BufferedBranchNode().
|
inline |
Set child pointer in current branch node.
buffer_arg | buffer selector, must be less than 2 |
index_arg | index of child in node, must be less than 8 |
newNode_arg | pointer to new child node |
Definition at line 109 of file octree2buf_base.h.
References pcl::octree::BufferedBranchNode< ContainerT >::child_node_array_.
Referenced by pcl::octree::Octree2BufBase< LeafContainerT, BranchContainerT >::createBranchChild(), pcl::octree::Octree2BufBase< LeafContainerT, BranchContainerT >::createLeafChild(), pcl::octree::Octree2BufBase< LeafContainerT, BranchContainerT >::createLeafRecursive(), pcl::octree::Octree2BufBase< LeafContainerT, BranchContainerT >::deleteBranch(), pcl::octree::Octree2BufBase< LeafContainerT, BranchContainerT >::deleteBranchChild(), pcl::octree::Octree2BufBase< LeafContainerT, BranchContainerT >::deserializeTreeRecursive(), and pcl::octree::Octree2BufBase< LeafContainerT, BranchContainerT >::setBranchChildPtr().
|
protected |
Definition at line 205 of file octree2buf_base.h.
Referenced by pcl::octree::BufferedBranchNode< ContainerT >::getChildPtr(), pcl::octree::BufferedBranchNode< ContainerT >::hasChild(), pcl::octree::BufferedBranchNode< ContainerT >::operator=(), pcl::octree::BufferedBranchNode< ContainerT >::reset(), and pcl::octree::BufferedBranchNode< ContainerT >::setChildPtr().
|
protected |
Definition at line 200 of file octree2buf_base.h.
Referenced by pcl::octree::BufferedBranchNode< ContainerT >::getContainer(), pcl::octree::BufferedBranchNode< ContainerT >::getContainerPtr(), pcl::octree::BufferedBranchNode< ContainerT >::operator*(), and pcl::octree::BufferedBranchNode< ContainerT >::operator->().