Point Cloud Library (PCL)  1.14.1-dev
List of all members | Classes | Public Member Functions
pcl::ConstCloudIterator< PointT > Class Template Reference

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

#include <pcl/cloud_iterator.h>

Classes

class  ConstIteratorIdx
 
class  DefaultConstIterator
 

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 PointToperator* () const
 
const PointToperator-> () const
 
unsigned getCurrentPointIndex () const
 
unsigned getCurrentIndex () const
 
std::size_t size () const
 Size of the range the iterator is going through. More...
 
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.

◆ 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.

◆ 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.

◆ 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

Definition at line 526 of file cloud_iterator.hpp.

◆ getCurrentPointIndex()

template<class PointT >
unsigned pcl::ConstCloudIterator< PointT >::getCurrentPointIndex

Definition at line 519 of file cloud_iterator.hpp.

Referenced by pcl::estimateProjectionMatrix().

◆ isValid()

template<class PointT >
bool pcl::ConstCloudIterator< PointT >::isValid

◆ operator bool()

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

Definition at line 152 of file cloud_iterator.h.

References pcl::ConstCloudIterator< PointT >::isValid().

◆ operator*()

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

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->

Definition at line 512 of file cloud_iterator.hpp.

◆ reset()

template<class PointT >
void pcl::ConstCloudIterator< PointT >::reset

◆ size()

template<class PointT >
std::size_t pcl::ConstCloudIterator< PointT >::size

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, float >::estimateRigidTransformation().


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