#include <image_grabber.h>
Public Member Functions | |
ImageGrabber (const std::string &dir, float frames_per_second=0, bool repeat=false, bool pclzf_mode=false) | |
ImageGrabber (const std::string &depth_dir, const std::string &rgb_dir, float frames_per_second=0, bool repeat=false) | |
ImageGrabber (const std::vector< std::string > &depth_image_files, float frames_per_second=0, bool repeat=false) | |
const boost::shared_ptr< const pcl::PointCloud< PointT > > | operator[] (size_t idx) const |
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 | |
size_t | size () const |
size Returns the number of clouds currently loaded by the grabber | |
virtual | ~ImageGrabber () throw () |
Empty destructor. | |
Protected Member Functions | |
virtual void | publish (const pcl::PCLPointCloud2 &blob, const Eigen::Vector4f &origin, const Eigen::Quaternionf &orientation) const |
Protected Attributes | |
boost::signals2::signal< void(const boost::shared_ptr< const pcl::PointCloud< PointT > > &)> * | signal_ |
Definition at line 214 of file image_grabber.h.
pcl::ImageGrabber< PointT >::ImageGrabber | ( | const std::string & | dir, |
float | frames_per_second = 0 , |
||
bool | repeat = false , |
||
bool | pclzf_mode = false |
||
) |
Definition at line 252 of file image_grabber.h.
pcl::ImageGrabber< PointT >::ImageGrabber | ( | const std::string & | depth_dir, |
const std::string & | rgb_dir, | ||
float | frames_per_second = 0 , |
||
bool | repeat = false |
||
) |
Definition at line 263 of file image_grabber.h.
pcl::ImageGrabber< PointT >::ImageGrabber | ( | const std::vector< std::string > & | depth_image_files, |
float | frames_per_second = 0 , |
||
bool | repeat = false |
||
) |
Definition at line 274 of file image_grabber.h.
virtual pcl::ImageGrabber< PointT >::~ImageGrabber | ( | ) | throw () [inline, virtual] |
Empty destructor.
Definition at line 232 of file image_grabber.h.
const boost::shared_ptr< const pcl::PointCloud< PointT > > pcl::ImageGrabber< PointT >::operator[] | ( | size_t | idx | ) | const [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 |
Implements pcl::FileGrabber< PointT >.
Definition at line 284 of file image_grabber.h.
void pcl::ImageGrabber< PointT >::publish | ( | const pcl::PCLPointCloud2 & | blob, |
const Eigen::Vector4f & | origin, | ||
const Eigen::Quaternionf & | orientation | ||
) | const [protected, virtual] |
Implements pcl::ImageGrabberBase.
Definition at line 306 of file image_grabber.h.
size_t pcl::ImageGrabber< PointT >::size | ( | ) | const [virtual] |
size Returns the number of clouds currently loaded by the grabber
Implements pcl::FileGrabber< PointT >.
Definition at line 299 of file image_grabber.h.
boost::signals2::signal<void (const boost::shared_ptr<const pcl::PointCloud<PointT> >&)>* pcl::ImageGrabber< PointT >::signal_ [protected] |
Definition at line 247 of file image_grabber.h.