43 #ifndef PCL_IO_FILE_GRABBER_H_
44 #define PCL_IO_FILE_GRABBER_H_
46 #include <pcl/point_cloud.h>
54 template <
typename Po
intT>
66 virtual const boost::shared_ptr< const pcl::PointCloud<PointT> >
67 operator[] (
size_t idx)
const = 0;
76 virtual const boost::shared_ptr< const pcl::PointCloud<PointT> >
82 throw pcl::IOException (
"[pcl::FileGrabber] Attempted to access element which is out of bounds!");
86 return (
operator[] (idx));
91 #endif//PCL_IO_FILE_GRABBER_H_
virtual const boost::shared_ptr< const pcl::PointCloud< PointT > > at(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...
virtual ~FileGrabber()
Empty destructor.
An exception that is thrown during an IO error (typical read/write errors)