Point Cloud Library (PCL)  1.14.0-dev
List of all members | Public Member Functions
pcl::FileGrabber< PointT > Class Template Referenceabstract

FileGrabber provides a container-style interface for grabbers which operate on fixed-size input. More...

#include <pcl/io/file_grabber.h>

+ Inheritance diagram for pcl::FileGrabber< PointT >:

Public Member Functions

virtual ~FileGrabber ()=default
 Empty destructor. More...
 
virtual const pcl::PointCloud< PointT >::ConstPtr operator[] (std::size_t idx) const =0
 operator[] Returns the idx-th cloud in the dataset, without bounds checking. More...
 
virtual std::size_t size () const =0
 size Returns the number of clouds currently loaded by the grabber More...
 
virtual const pcl::PointCloud< PointT >::ConstPtr at (std::size_t idx) const
 at Returns the idx-th cloud in the dataset, with bounds checking More...
 

Detailed Description

template<typename PointT>
class pcl::FileGrabber< PointT >

FileGrabber provides a container-style interface for grabbers which operate on fixed-size input.

Author
Stephen Miller

Definition at line 53 of file file_grabber.h.

Constructor & Destructor Documentation

◆ ~FileGrabber()

template<typename PointT >
virtual pcl::FileGrabber< PointT >::~FileGrabber ( )
virtualdefault

Empty destructor.

Member Function Documentation

◆ at()

template<typename PointT >
virtual const pcl::PointCloud<PointT>::ConstPtr pcl::FileGrabber< PointT >::at ( std::size_t  idx) const
inlinevirtual

at Returns the idx-th cloud in the dataset, with bounds checking

Parameters
[in]idxThe frame to load

Definition at line 75 of file file_grabber.h.

◆ operator[]()

template<typename PointT >
virtual const pcl::PointCloud<PointT>::ConstPtr pcl::FileGrabber< PointT >::operator[] ( std::size_t  idx) const
pure virtual

operator[] Returns the idx-th cloud in the dataset, without bounds checking.

Note that in the future, this could easily be modified to do caching

Parameters
[in]idxThe frame to load

Implemented in pcl::PCDGrabber< PointT >, and pcl::ImageGrabber< PointT >.

◆ size()

template<typename PointT >
virtual std::size_t pcl::FileGrabber< PointT >::size ( ) const
pure virtual

size Returns the number of clouds currently loaded by the grabber

Implemented in pcl::PCDGrabber< PointT >, and pcl::ImageGrabber< PointT >.


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