39 #ifndef PCL_POINT_CLOUD_ITERATOR_H_
40 #define PCL_POINT_CLOUD_ITERATOR_H_
42 #include <pcl/point_cloud.h>
43 #include <pcl/PointIndices.h>
44 #include <pcl/correspondence.h>
51 template <
typename Po
intT>
84 operator bool ()
const
93 virtual ~Iterator () {}
108 virtual size_t size ()
const = 0;
110 virtual void reset () = 0;
112 virtual bool isValid ()
const = 0;
120 template <
typename Po
intT>
147 size_t size ()
const;
153 operator bool ()
const
162 virtual ~Iterator () {}
177 virtual size_t size ()
const = 0;
179 virtual void reset () = 0;
181 virtual bool isValid ()
const = 0;
184 class DefaultConstIterator;
185 class ConstIteratorIdx;
191 #include <pcl/impl/cloud_iterator.hpp>
193 #endif // PCL_POINT_CLOUD_ITERATOR_H_
CloudIterator(PointCloud< PointT > &cloud)
Iterator class for point clouds with or without given indices.
Iterator class for point clouds with or without given indices.
unsigned getCurrentPointIndex() const
const PointT & operator*() const
size_t size() const
Size of the range the iterator is going through.
size_t size() const
Size of the range the iterator is going through.
std::vector< pcl::Correspondence, Eigen::aligned_allocator< pcl::Correspondence > > Correspondences
unsigned getCurrentIndex() const
PointT * operator->() const
const PointT * operator->() const
A point structure representing Euclidean xyz coordinates, and the RGB color.
PointT & operator*() const
ConstCloudIterator(const PointCloud< PointT > &cloud)
unsigned getCurrentPointIndex() const
unsigned getCurrentIndex() const