pcl::CloudIterator< PointT > Class Template Reference

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

#include <pcl/cloud_iterator.h>

Collaboration diagram for pcl::CloudIterator< PointT >:
Collaboration graph
[legend]

List of all members.

Classes

class  Iterator

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.
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 52 of file cloud_iterator.h.


Constructor & Destructor Documentation

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

Definition at line 331 of file cloud_iterator.hpp.

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

Definition at line 338 of file cloud_iterator.hpp.

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

Definition at line 346 of file cloud_iterator.hpp.

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

Definition at line 354 of file cloud_iterator.hpp.

template<class PointT >
pcl::CloudIterator< PointT >::~CloudIterator (  )  [inline]

Definition at line 374 of file cloud_iterator.hpp.


Member Function Documentation

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

Definition at line 416 of file cloud_iterator.hpp.

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

Definition at line 409 of file cloud_iterator.hpp.

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

Definition at line 437 of file cloud_iterator.hpp.

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

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

Definition at line 84 of file cloud_iterator.h.

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

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

Definition at line 395 of file cloud_iterator.hpp.

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

Definition at line 388 of file cloud_iterator.hpp.

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

Definition at line 381 of file cloud_iterator.hpp.

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

Definition at line 402 of file cloud_iterator.hpp.

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

Definition at line 430 of file cloud_iterator.hpp.

template<class PointT >
size_t pcl::CloudIterator< PointT >::size (  )  const [inline]

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.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends