Point Cloud Library (PCL) 1.15.0
|
FileGrabber provides a container-style interface for grabbers which operate on fixed-size input. More...
#include <pcl/io/file_grabber.h>
Public Member Functions | |
virtual | ~FileGrabber ()=default |
Empty destructor. | |
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. | |
virtual std::size_t | size () const =0 |
size Returns the number of clouds currently loaded by the grabber | |
virtual const pcl::PointCloud< PointT >::ConstPtr | at (std::size_t idx) const |
at Returns the idx-th cloud in the dataset, with bounds checking | |
FileGrabber provides a container-style interface for grabbers which operate on fixed-size input.
Definition at line 53 of file file_grabber.h.
|
virtualdefault |
Empty destructor.
|
inlinevirtual |
at Returns the idx-th cloud in the dataset, with bounds checking
[in] | idx | The frame to load |
Definition at line 75 of file file_grabber.h.
|
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
[in] | idx | The frame to load |
Implemented in pcl::ImageGrabber< PointT >, and pcl::PCDGrabber< PointT >.
|
pure virtual |
size Returns the number of clouds currently loaded by the grabber
Implemented in pcl::ImageGrabber< PointT >, and pcl::PCDGrabber< PointT >.