point_cloud_library / latest / classpcl_1_1outofcore_1_1_outofcore_iterator_base.html

Abstract octree iterator class. More...

#include <pcl/outofcore/outofcore_iterator_base.h>

Public Types

using iterator_category = std::forward_iterator_tag
using value_type = const OutofcoreOctreeBaseNode< ContainerT, PointT >
using difference_type = void
using pointer = const OutofcoreOctreeBaseNode< ContainerT, PointT > *
using reference = const OutofcoreOctreeBaseNode< ContainerT, PointT > &
using OctreeDisk = pcl::outofcore::OutofcoreOctreeBase< ContainerT, PointT >
using OctreeDiskNode = pcl::outofcore::OutofcoreOctreeBaseNode< ContainerT, PointT >
using BranchNode = typename pcl::outofcore::OutofcoreOctreeBase< ContainerT, PointT >::BranchNode
using LeafNode = typename pcl::outofcore::OutofcoreOctreeBase< ContainerT, PointT >::LeafNode
using OutofcoreNodeType = typename OctreeDisk::OutofcoreNodeType

Public Member Functions

OutofcoreIteratorBase (OctreeDisk &octree_arg)
virtual ~OutofcoreIteratorBase ()=default
OutofcoreIteratorBase (const OutofcoreIteratorBase &src)
OutofcoreIteratorBase & operator= (const OutofcoreIteratorBase &src)
OutofcoreNodeType * operator* () const
virtual OutofcoreNodeType * getCurrentOctreeNode () const
virtual void reset ()
void setMaxDepth (unsigned int max_depth)

Protected Attributes

OctreeDisk & octree_
OctreeDiskNode * currentNode_
unsigned int currentOctreeDepth_
unsigned int max_depth_

Detailed Description

template<typename PointT, typename ContainerT>
class pcl::outofcore::OutofcoreIteratorBase< PointT, ContainerT >

Abstract octree iterator class.

Note
This class is based on the octree_iterator written by Julius Kammerl adapted to the outofcore octree. The interface is very similar, but it does not inherit the pcl::octree iterator base.
Author
Stephen Fox (foxst.nosp@m.ephe.nosp@m.nd@gm.nosp@m.ail..nosp@m.com)

Definition at line 59 of file outofcore_iterator_base.h.

Member Typedef Documentation

BranchNode

template<typename PointT , typename ContainerT >

Definition at line 71 of file outofcore_iterator_base.h.

difference_type

template<typename PointT , typename ContainerT >

Definition at line 64 of file outofcore_iterator_base.h.

iterator_category

template<typename PointT , typename ContainerT >
using pcl::outofcore::OutofcoreIteratorBase< PointT, ContainerT >::iterator_category = std::forward_iterator_tag

Definition at line 62 of file outofcore_iterator_base.h.

LeafNode

template<typename PointT , typename ContainerT >

Definition at line 72 of file outofcore_iterator_base.h.

OctreeDisk

template<typename PointT , typename ContainerT >

Definition at line 68 of file outofcore_iterator_base.h.

OctreeDiskNode

template<typename PointT , typename ContainerT >

Definition at line 69 of file outofcore_iterator_base.h.

OutofcoreNodeType

template<typename PointT , typename ContainerT >

Definition at line 74 of file outofcore_iterator_base.h.

pointer

template<typename PointT , typename ContainerT >

Definition at line 65 of file outofcore_iterator_base.h.

reference

template<typename PointT , typename ContainerT >

Definition at line 66 of file outofcore_iterator_base.h.

value_type

template<typename PointT , typename ContainerT >

Definition at line 63 of file outofcore_iterator_base.h.

Constructor & Destructor Documentation

OutofcoreIteratorBase() [1/2]

template<typename PointT , typename ContainerT >
pcl::outofcore::OutofcoreIteratorBase< PointT, ContainerT >::OutofcoreIteratorBase ( OctreeDisk & octree_arg )
inlineexplicit

~OutofcoreIteratorBase()

template<typename PointT , typename ContainerT >
virtual pcl::outofcore::OutofcoreIteratorBase< PointT, ContainerT >::~OutofcoreIteratorBase ( )
virtualdefault

OutofcoreIteratorBase() [2/2]

template<typename PointT , typename ContainerT >

Definition at line 86 of file outofcore_iterator_base.h.

Member Function Documentation

getCurrentOctreeNode()

template<typename PointT , typename ContainerT >
virtual OutofcoreNodeType* pcl::outofcore::OutofcoreIteratorBase< PointT, ContainerT >::getCurrentOctreeNode ( ) const
inlinevirtual

operator*()

template<typename PointT , typename ContainerT >
OutofcoreNodeType* pcl::outofcore::OutofcoreIteratorBase< PointT, ContainerT >::operator* ( ) const
inline

operator=()

reset()

setMaxDepth()

Member Data Documentation

currentNode_

currentOctreeDepth_

template<typename PointT , typename ContainerT >
unsigned int pcl::outofcore::OutofcoreIteratorBase< PointT, ContainerT >::currentOctreeDepth_
protected

max_depth_

template<typename PointT , typename ContainerT >
unsigned int pcl::outofcore::OutofcoreIteratorBase< PointT, ContainerT >::max_depth_
protected

octree_


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

© 2009–2012, Willow Garage, Inc.
© 2012–, Open Perception, Inc.
Licensed under the BSD License.
https://pointclouds.org/documentation/classpcl_1_1outofcore_1_1_outofcore_iterator_base.html