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