#include <pcl/io/pcd_grabber.h>


Public Member Functions | |
| PCDGrabber (const std::string &pcd_path, float frames_per_second=0, bool repeat=false) | |
| PCDGrabber (const std::vector< std::string > &pcd_files, float frames_per_second=0, bool repeat=false) | |
| virtual | ~PCDGrabber () throw () |
| Virtual 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_ |
| boost::signals2::signal< void(const boost::shared_ptr < openni_wrapper::DepthImage > &)> * | depth_image_signal_ |
| boost::signals2::signal< void(const boost::shared_ptr < openni_wrapper::Image > &)> * | image_signal_ |
| boost::signals2::signal< void(const boost::shared_ptr < openni_wrapper::Image > &, const boost::shared_ptr < openni_wrapper::DepthImage > &, float constant)> * | image_depth_image_signal_ |
Definition at line 156 of file pcd_grabber.h.
| pcl::PCDGrabber< PointT >::PCDGrabber | ( | const std::string & | pcd_path, | |
| float | frames_per_second = 0, |
|||
| bool | repeat = false | |||
| ) | [inline] |
Definition at line 188 of file pcd_grabber.h.
References pcl::PCDGrabber< PointT >::depth_image_signal_, pcl::PCDGrabber< PointT >::image_depth_image_signal_, pcl::PCDGrabber< PointT >::image_signal_, and pcl::PCDGrabber< PointT >::signal_.
| pcl::PCDGrabber< PointT >::PCDGrabber | ( | const std::vector< std::string > & | pcd_files, | |
| float | frames_per_second = 0, |
|||
| bool | repeat = false | |||
| ) | [inline] |
Definition at line 201 of file pcd_grabber.h.
References pcl::PCDGrabber< PointT >::depth_image_signal_, pcl::PCDGrabber< PointT >::image_depth_image_signal_, pcl::PCDGrabber< PointT >::image_signal_, and pcl::PCDGrabber< PointT >::signal_.
| virtual pcl::PCDGrabber< PointT >::~PCDGrabber | ( | ) | throw () [inline, virtual] |
Virtual destructor.
Definition at line 163 of file pcd_grabber.h.
| const boost::shared_ptr< const pcl::PointCloud< PointT > > pcl::PCDGrabber< 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 214 of file pcd_grabber.h.
References pcl::fromPCLPointCloud2(), pcl::PCDGrabberBase::getCloudAt(), pcl::PointCloud< PointT >::sensor_orientation_, and pcl::PointCloud< PointT >::sensor_origin_.
| void pcl::PCDGrabber< PointT >::publish | ( | const pcl::PCLPointCloud2 & | blob, | |
| const Eigen::Vector4f & | origin, | |||
| const Eigen::Quaternionf & | orientation | |||
| ) | const [inline, protected, virtual] |
Implements pcl::PCDGrabberBase.
Definition at line 236 of file pcd_grabber.h.
References pcl::PCDGrabber< PointT >::depth_image_signal_, pcl::fromPCLPointCloud2(), pcl::getFieldIndex(), pcl::PointCloud< PointT >::height, pcl::PCDGrabber< PointT >::image_depth_image_signal_, pcl::PCDGrabber< PointT >::image_signal_, pcl::PointCloud< PointT >::isOrganized(), pcl::PointCloud< PointT >::points, pcl::PointCloud< PointT >::sensor_orientation_, pcl::PointCloud< PointT >::sensor_origin_, pcl::PCDGrabber< PointT >::signal_, and pcl::PointCloud< PointT >::width.
| size_t pcl::PCDGrabber< PointT >::size | ( | ) | const [inline, virtual] |
size Returns the number of clouds currently loaded by the grabber
Implements pcl::FileGrabber< PointT >.
Definition at line 229 of file pcd_grabber.h.
References pcl::PCDGrabberBase::numFrames().
boost::signals2::signal<void (const boost::shared_ptr<openni_wrapper::DepthImage>&)>* pcl::PCDGrabber< PointT >::depth_image_signal_ [protected] |
Definition at line 180 of file pcd_grabber.h.
Referenced by pcl::PCDGrabber< PointT >::PCDGrabber(), and pcl::PCDGrabber< PointT >::publish().
boost::signals2::signal<void (const boost::shared_ptr<openni_wrapper::Image>&, const boost::shared_ptr<openni_wrapper::DepthImage>&, float constant)>* pcl::PCDGrabber< PointT >::image_depth_image_signal_ [protected] |
Definition at line 182 of file pcd_grabber.h.
Referenced by pcl::PCDGrabber< PointT >::PCDGrabber(), and pcl::PCDGrabber< PointT >::publish().
boost::signals2::signal<void (const boost::shared_ptr<openni_wrapper::Image>&)>* pcl::PCDGrabber< PointT >::image_signal_ [protected] |
Definition at line 181 of file pcd_grabber.h.
Referenced by pcl::PCDGrabber< PointT >::PCDGrabber(), and pcl::PCDGrabber< PointT >::publish().
boost::signals2::signal<void (const boost::shared_ptr<const pcl::PointCloud<PointT> >&)>* pcl::PCDGrabber< PointT >::signal_ [protected] |
Definition at line 177 of file pcd_grabber.h.
Referenced by pcl::PCDGrabber< PointT >::PCDGrabber(), and pcl::PCDGrabber< PointT >::publish().