Abstract octree branch class More...
#include <pcl/octree/octree_nodes.h>
Public Member Functions | |
OctreeBranchNode () | |
Empty constructor. More... |
|
OctreeBranchNode (const OctreeBranchNode &source) | |
Empty constructor. More... |
|
OctreeBranchNode & | operator= (const OctreeBranchNode &source) |
Copy operator. More... |
|
OctreeBranchNode * | deepCopy () const override |
Octree deep copy method. More... |
|
~OctreeBranchNode () | |
Empty deconstructor. More... |
|
OctreeNode *& | operator[] (unsigned char child_idx_arg) |
Access operator. More... |
|
OctreeNode * | getChildPtr (unsigned char child_idx_arg) const |
Get pointer to child. More... |
|
void | setChildPtr (OctreeNode *child, unsigned char index) |
Get pointer to child. More... |
|
bool | hasChild (unsigned char child_idx_arg) const |
Check if branch is pointing to a particular child node. More... |
|
node_type_t | getNodeType () const override |
Check if branch can be pruned. More... |
|
void | reset () |
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 () | |
virtual | ~OctreeNode () |
Protected Attributes | |
OctreeNode * | child_node_array_ [8] |
ContainerT | container_ |
Abstract octree branch class
Definition at line 179 of file octree_nodes.h.
| inline |
Empty constructor.
Definition at line 182 of file octree_nodes.h.
References pcl::octree::OctreeBranchNode< ContainerT >::child_node_array_.
| inline |
Empty constructor.
Definition at line 189 of file octree_nodes.h.
References pcl::octree::OctreeBranchNode< ContainerT >::child_node_array_, and pcl::octree::OctreeNode::deepCopy().
| inline |
Empty deconstructor.
Definition at line 219 of file octree_nodes.h.
| inlineoverridevirtual |
Octree deep copy method.
Implements pcl::octree::OctreeNode.
Definition at line 212 of file octree_nodes.h.
| inline |
Get pointer to child.
child_idx_arg | index to child node |
Definition at line 237 of file octree_nodes.h.
References pcl::octree::OctreeBranchNode< ContainerT >::child_node_array_.
Referenced by pcl::octree::OctreeBase< OctreePointCloudVoxelCentroidContainer< PointT >, OctreeContainerEmpty >::branchHasChild(), pcl::octree::OctreeBase< OctreePointCloudVoxelCentroidContainer< PointT >, OctreeContainerEmpty >::getBranchBitPattern(), pcl::octree::OctreeBase< OctreePointCloudVoxelCentroidContainer< PointT >, OctreeContainerEmpty >::getBranchChildPtr(), and pcl::octree::OctreeBase< OctreePointCloudVoxelCentroidContainer< PointT >, OctreeContainerEmpty >::serializeTreeRecursive().
| inline |
Get reference to container.
Definition at line 339 of file octree_nodes.h.
References pcl::octree::OctreeBranchNode< ContainerT >::container_.
| inline |
Get const reference to container.
Definition at line 332 of file octree_nodes.h.
References pcl::octree::OctreeBranchNode< ContainerT >::container_.
| inline |
Get pointer to container.
Definition at line 353 of file octree_nodes.h.
References pcl::octree::OctreeBranchNode< ContainerT >::container_.
| inline |
Get const pointer to container.
Definition at line 346 of file octree_nodes.h.
References pcl::octree::OctreeBranchNode< ContainerT >::container_.
| inlineoverridevirtual |
Check if branch can be pruned.
Get the type of octree node. Returns LEAVE_NODE type
Implements pcl::octree::OctreeNode.
Definition at line 289 of file octree_nodes.h.
References pcl::octree::BRANCH_NODE.
| inline |
Check if branch is pointing to a particular child node.
child_idx_arg | index to child node |
Definition at line 258 of file octree_nodes.h.
References pcl::octree::OctreeBranchNode< ContainerT >::child_node_array_.
Referenced by pcl::octree::OctreeBase< OctreePointCloudVoxelCentroidContainer< PointT >, OctreeContainerEmpty >::deleteBranchChild(), pcl::octree::OctreeBase< OctreePointCloudVoxelCentroidContainer< PointT >, OctreeContainerEmpty >::deleteLeafRecursive(), and pcl::octree::OctreeBase< OctreePointCloudVoxelCentroidContainer< PointT >, OctreeContainerEmpty >::serializeTreeRecursive().
| inline |
Get reference to container.
Definition at line 325 of file octree_nodes.h.
References pcl::octree::OctreeBranchNode< ContainerT >::container_.
| inline |
Get const reference to container.
Definition at line 318 of file octree_nodes.h.
References pcl::octree::OctreeBranchNode< ContainerT >::container_.
| inline |
Get pointer to container.
Definition at line 311 of file octree_nodes.h.
References pcl::octree::OctreeBranchNode< ContainerT >::container_.
| inline |
Get const pointer to container.
Definition at line 304 of file octree_nodes.h.
References pcl::octree::OctreeBranchNode< ContainerT >::container_.
| inline |
Copy operator.
Definition at line 200 of file octree_nodes.h.
References pcl::octree::OctreeBranchNode< ContainerT >::child_node_array_, and pcl::octree::OctreeNode::deepCopy().
| inline |
Access operator.
child_idx_arg | index to child node |
Definition at line 226 of file octree_nodes.h.
References pcl::octree::OctreeBranchNode< ContainerT >::child_node_array_.
| inline |
Definition at line 296 of file octree_nodes.h.
References pcl::octree::OctreeBranchNode< ContainerT >::child_node_array_, and pcl::octree::OctreeBranchNode< ContainerT >::container_.
| inline |
Get pointer to child.
Definition at line 247 of file octree_nodes.h.
References pcl::octree::OctreeBranchNode< ContainerT >::child_node_array_.
| protected |
Definition at line 359 of file octree_nodes.h.
Referenced by pcl::octree::OctreeBranchNode< ContainerT >::getChildPtr(), pcl::octree::OctreeBranchNode< ContainerT >::hasChild(), pcl::octree::OctreeBranchNode< ContainerT >::OctreeBranchNode(), pcl::octree::OctreeBranchNode< ContainerT >::operator=(), pcl::octree::OctreeBranchNode< ContainerT >::operator[](), pcl::octree::OctreeBranchNode< ContainerT >::reset(), and pcl::octree::OctreeBranchNode< ContainerT >::setChildPtr().
| protected |
Definition at line 361 of file octree_nodes.h.
Referenced by pcl::octree::OctreeBranchNode< ContainerT >::getContainer(), pcl::octree::OctreeBranchNode< ContainerT >::getContainerPtr(), pcl::octree::OctreeBranchNode< ContainerT >::operator*(), pcl::octree::OctreeBranchNode< ContainerT >::operator->(), and pcl::octree::OctreeBranchNode< ContainerT >::reset().
© 2009–2012, Willow Garage, Inc.
© 2012–, Open Perception, Inc.
Licensed under the BSD License.
https://pointclouds.org/documentation/classpcl_1_1octree_1_1_octree_branch_node.html