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

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

Definition at line 331 of file cloud_iterator.hpp.

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

Definition at line 338 of file cloud_iterator.hpp.

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

Definition at line 346 of file cloud_iterator.hpp.

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

Definition at line 354 of file cloud_iterator.hpp.

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

Definition at line 374 of file cloud_iterator.hpp.

Member Function Documentation

template<class PointT >
unsigned pcl::CloudIterator< PointT >::getCurrentIndex ( ) const
template<class PointT >
unsigned pcl::CloudIterator< PointT >::getCurrentPointIndex ( ) const
template<class PointT >
bool pcl::CloudIterator< PointT >::isValid ( ) const
template<typename PointT >
pcl::CloudIterator< PointT >::operator bool ( ) const
inline
template<class PointT >
PointT & pcl::CloudIterator< PointT >::operator* ( ) const
template<class PointT >
void pcl::CloudIterator< PointT >::operator++ ( )
template<class PointT >
void pcl::CloudIterator< PointT >::operator++ ( int  )

Definition at line 388 of file cloud_iterator.hpp.

template<class PointT >
PointT * pcl::CloudIterator< PointT >::operator-> ( ) const
template<class PointT >
void pcl::CloudIterator< PointT >::reset ( )
template<class PointT >
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: