Point Cloud Library (PCL)  1.14.0-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 Indices &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 327 of file cloud_iterator.hpp.

◆ CloudIterator() [2/4]

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

Definition at line 334 of file cloud_iterator.hpp.

◆ CloudIterator() [3/4]

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

Definition at line 342 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 350 of file cloud_iterator.hpp.

◆ ~CloudIterator()

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

Definition at line 370 of file cloud_iterator.hpp.

Member Function Documentation

◆ getCurrentIndex()

template<class PointT >
unsigned pcl::CloudIterator< PointT >::getCurrentIndex

Definition at line 412 of file cloud_iterator.hpp.

◆ getCurrentPointIndex()

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

Definition at line 405 of file cloud_iterator.hpp.

◆ isValid()

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

Definition at line 433 of file cloud_iterator.hpp.

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

◆ operator bool()

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

Definition at line 83 of file cloud_iterator.h.

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

◆ operator*()

template<class PointT >
PointT & pcl::CloudIterator< PointT >::operator*

Definition at line 391 of file cloud_iterator.hpp.

◆ operator++() [1/2]

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

Definition at line 377 of file cloud_iterator.hpp.

◆ operator++() [2/2]

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

Definition at line 384 of file cloud_iterator.hpp.

◆ operator->()

template<class PointT >
PointT * pcl::CloudIterator< PointT >::operator->

Definition at line 398 of file cloud_iterator.hpp.

◆ reset()

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

Definition at line 426 of file cloud_iterator.hpp.

◆ size()

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

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 419 of file cloud_iterator.hpp.


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