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

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

#include <pcl/cloud_iterator.h>

Public Member Functions

 CloudIterator (PointCloud< PointT > &cloud)
 
 CloudIterator (PointCloud< PointT > &cloud, const std::vector< int > &indices)
 
 CloudIterator (PointCloud< PointT > &cloud, const PointIndices &indices)
 
 CloudIterator (PointCloud< PointT > &cloud, const Correspondences &corrs, bool source)
 
 ~CloudIterator ()
 
void operator++ ()
 
void operator++ (int)
 
PointToperator* () 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::CloudIterator< PointT >

Iterator class for point clouds with or without given indices.

Author
Suat Gedikli

Definition at line 51 of file cloud_iterator.h.

Constructor & Destructor Documentation

◆ CloudIterator() [1/4]

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

Definition at line 331 of file cloud_iterator.hpp.

◆ CloudIterator() [2/4]

template<class PointT >
pcl::CloudIterator< PointT >::CloudIterator ( PointCloud< PointT > &  cloud,
const std::vector< int > &  indices 
)

Definition at line 338 of file cloud_iterator.hpp.

◆ CloudIterator() [3/4]

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

Definition at line 346 of file cloud_iterator.hpp.

◆ CloudIterator() [4/4]

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

Definition at line 354 of file cloud_iterator.hpp.

◆ ~CloudIterator()

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

Definition at line 374 of file cloud_iterator.hpp.

Member Function Documentation

◆ getCurrentIndex()

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

◆ getCurrentPointIndex()

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

◆ isValid()

template<class PointT >
bool pcl::CloudIterator< PointT >::isValid ( ) const

◆ operator bool()

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

◆ operator*()

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

◆ operator++() [1/2]

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

◆ operator++() [2/2]

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

Definition at line 388 of file cloud_iterator.hpp.

◆ operator->()

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

◆ reset()

template<class PointT >
void pcl::CloudIterator< PointT >::reset ( )

◆ size()

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

Size of the range the iterator is going through.

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

Definition at line 423 of file cloud_iterator.hpp.

Referenced by pcl::CloudIterator< PointT >::operator bool(), and pcl::ConstCloudIterator< PointT >::operator bool().


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