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)
unsigned getCurrentIndex() const
const PointT & operator*() const
Iterator class for point clouds with or without given indices.
Iterator class for point clouds with or without given indices.
const PointT * operator->() const
PointT & operator*() const
size_t size() const
Size of the range the iterator is going through.
unsigned getCurrentPointIndex() const
PointT * operator->() const
std::vector< pcl::Correspondence, Eigen::aligned_allocator< pcl::Correspondence > > Correspondences
size_t size() const
Size of the range the iterator is going through.
PointCloud represents the base class in PCL for storing collections of 3D points.
A point structure representing Euclidean xyz coordinates, and the RGB color.
ConstCloudIterator(const PointCloud< PointT > &cloud)
unsigned getCurrentIndex() const
unsigned getCurrentPointIndex() const