point_cloud_library / 1.12.1 / classpcl_1_1_file_grabber.html /

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 ()
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 ( )
inlinevirtual

Empty destructor.

Definition at line 58 of file file_grabber.h.

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] idx The 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] idx The frame to load

Implemented in pcl::ImageGrabber< PointT >, and pcl::PCDGrabber< 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::ImageGrabber< PointT >, and pcl::PCDGrabber< PointT >.


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

© 2009–2012, Willow Garage, Inc.
© 2012–, Open Perception, Inc.
Licensed under the BSD License.
https://pointclouds.org/documentation/classpcl_1_1_file_grabber.html