41 #include <pcl/point_cloud.h>
42 #include <pcl/PointIndices.h>
43 #include <pcl/correspondence.h>
50 template <
typename Po
intT>
77 std::size_t
size ()
const;
83 operator bool ()
const
92 virtual ~Iterator () {}
107 virtual std::size_t
size ()
const = 0;
109 virtual void reset () = 0;
111 virtual bool isValid ()
const = 0;
119 template <
typename Po
intT>
146 std::size_t
size ()
const;
152 operator bool ()
const
161 virtual ~Iterator () {}
176 virtual std::size_t
size ()
const = 0;
178 virtual void reset () = 0;
180 virtual bool isValid ()
const = 0;
183 class DefaultConstIterator;
184 class ConstIteratorIdx;
190 #include <pcl/impl/cloud_iterator.hpp>
CloudIterator(PointCloud< PointT > &cloud)
Iterator class for point clouds with or without given indices.
std::size_t size() const
Size of the range the iterator is going through.
Iterator class for point clouds with or without given indices.
unsigned getCurrentPointIndex() const
const PointT & operator*() const
unsigned getCurrentIndex() const
std::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. ...
PointT * operator->() const
const PointT * operator->() const
std::vector< pcl::Correspondence, Eigen::aligned_allocator< pcl::Correspondence > > Correspondences
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