Point Cloud Library (PCL) 1.15.1
Loading...
Searching...
No Matches
pcl::ConstCloudIterator< PointT > Class Template Reference

Iterator class for point clouds with or without given indices. More...

#include <pcl/cloud_iterator.h>

Classes

class  DefaultConstIterator
class  ConstIteratorIdx

Public Member Functions

 ConstCloudIterator (const PointCloud< PointT > &cloud)
 ConstCloudIterator (const PointCloud< PointT > &cloud, const Indices &indices)
 ConstCloudIterator (const PointCloud< PointT > &cloud, const PointIndices &indices)
 ConstCloudIterator (const PointCloud< PointT > &cloud, const Correspondences &corrs, bool source)
 ~ConstCloudIterator ()
void operator++ ()
void operator++ (int)
const PointT & operator* () const
const PointT * operator-> () const
unsigned getCurrentPointIndex () const
unsigned getCurrentIndex () const
std::size_t size () const
 Size of the range the iterator is going through.
void reset ()
bool isValid () const
 operator bool () const

Detailed Description

template<typename PointT>
class pcl::ConstCloudIterator< PointT >

Iterator class for point clouds with or without given indices.

Author
Suat Gedikli

Definition at line 120 of file cloud_iterator.h.

Constructor & Destructor Documentation

◆ ConstCloudIterator() [1/4]

template<class PointT>
pcl::ConstCloudIterator< PointT >::ConstCloudIterator ( const PointCloud< PointT > & cloud)

Definition at line 441 of file cloud_iterator.hpp.

References ConstCloudIterator().

Referenced by ConstCloudIterator(), ConstCloudIterator(), and ConstCloudIterator().

◆ ConstCloudIterator() [2/4]

template<class PointT>
pcl::ConstCloudIterator< PointT >::ConstCloudIterator ( const PointCloud< PointT > & cloud,
const Indices & indices )

Definition at line 448 of file cloud_iterator.hpp.

References ConstCloudIterator().

◆ ConstCloudIterator() [3/4]

template<class PointT>
pcl::ConstCloudIterator< PointT >::ConstCloudIterator ( const PointCloud< PointT > & cloud,
const PointIndices & indices )

Definition at line 456 of file cloud_iterator.hpp.

References ConstCloudIterator().

◆ ConstCloudIterator() [4/4]

template<class PointT>
pcl::ConstCloudIterator< PointT >::ConstCloudIterator ( const PointCloud< PointT > & cloud,
const Correspondences & corrs,
bool source )

Definition at line 464 of file cloud_iterator.hpp.

◆ ~ConstCloudIterator()

template<class PointT>
pcl::ConstCloudIterator< PointT >::~ConstCloudIterator ( )

Definition at line 484 of file cloud_iterator.hpp.

Member Function Documentation

◆ getCurrentIndex()

template<class PointT>
unsigned pcl::ConstCloudIterator< PointT >::getCurrentIndex ( ) const

Definition at line 526 of file cloud_iterator.hpp.

◆ getCurrentPointIndex()

template<class PointT>
unsigned pcl::ConstCloudIterator< PointT >::getCurrentPointIndex ( ) const

Definition at line 519 of file cloud_iterator.hpp.

Referenced by pcl::estimateProjectionMatrix().

◆ isValid()

◆ operator bool()

template<typename PointT>
pcl::ConstCloudIterator< PointT >::operator bool ( ) const
inline

Definition at line 152 of file cloud_iterator.h.

References isValid().

◆ operator*()

template<class PointT>
const PointT & pcl::ConstCloudIterator< PointT >::operator* ( ) const

Definition at line 505 of file cloud_iterator.hpp.

◆ operator++() [1/2]

template<class PointT>
void pcl::ConstCloudIterator< PointT >::operator++ ( )

Definition at line 491 of file cloud_iterator.hpp.

◆ operator++() [2/2]

template<class PointT>
void pcl::ConstCloudIterator< PointT >::operator++ ( int )

Definition at line 498 of file cloud_iterator.hpp.

◆ operator->()

template<class PointT>
const PointT * pcl::ConstCloudIterator< PointT >::operator-> ( ) const

Definition at line 512 of file cloud_iterator.hpp.

◆ reset()

◆ size()

template<class PointT>
std::size_t pcl::ConstCloudIterator< PointT >::size ( ) const

Size of the range the iterator is going through.

Depending on how the ConstCloudIterator was constructed this is the size of the cloud or indices/correspondences.

Definition at line 533 of file cloud_iterator.hpp.

Referenced by pcl::registration::TransformationEstimationDualQuaternion< PointSource, PointTarget, Scalar >::estimateRigidTransformation(), and pcl::registration::TransformationEstimationSVD< PointSource, PointTarget, Scalar >::estimateRigidTransformation().


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