#include <pcl/io/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) | |
| virtual | ~ImageGrabber () throw () |
| Empty destructor. | |
| 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. | |
| size_t | size () const |
| size Returns the number of clouds currently loaded by the grabber | |
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 | |||
| ) | [inline] |
Definition at line 252 of file image_grabber.h.
References pcl::ImageGrabber< PointT >::signal_.
| pcl::ImageGrabber< PointT >::ImageGrabber | ( | const std::string & | depth_dir, | |
| const std::string & | rgb_dir, | |||
| float | frames_per_second = 0, |
|||
| bool | repeat = false | |||
| ) | [inline] |
Definition at line 263 of file image_grabber.h.
References pcl::ImageGrabber< PointT >::signal_.
| pcl::ImageGrabber< PointT >::ImageGrabber | ( | const std::vector< std::string > & | depth_image_files, | |
| float | frames_per_second = 0, |
|||
| bool | repeat = false | |||
| ) | [inline] |
Definition at line 274 of file image_grabber.h.
References pcl::ImageGrabber< PointT >::signal_.
| 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 [inline, 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.
References pcl::fromPCLPointCloud2(), pcl::ImageGrabberBase::getCloudAt(), pcl::PointCloud< PointT >::sensor_orientation_, and pcl::PointCloud< PointT >::sensor_origin_.
| void pcl::ImageGrabber< PointT >::publish | ( | const pcl::PCLPointCloud2 & | blob, | |
| const Eigen::Vector4f & | origin, | |||
| const Eigen::Quaternionf & | orientation | |||
| ) | const [inline, protected, virtual] |
Implements pcl::ImageGrabberBase.
Definition at line 306 of file image_grabber.h.
References pcl::fromPCLPointCloud2(), pcl::PointCloud< PointT >::sensor_orientation_, pcl::PointCloud< PointT >::sensor_origin_, and pcl::ImageGrabber< PointT >::signal_.
| size_t pcl::ImageGrabber< PointT >::size | ( | ) | const [inline, 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.
References pcl::ImageGrabberBase::numFrames().
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.
Referenced by pcl::ImageGrabber< PointT >::ImageGrabber(), and pcl::ImageGrabber< PointT >::publish().