#include <pcd_grabber.h>
Public Member Functions | |
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 | |
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) | |
size_t | size () const |
size Returns the number of clouds currently loaded by the grabber | |
virtual | ~PCDGrabber () throw () |
Virtual 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 156 of file pcd_grabber.h.
pcl::PCDGrabber< PointT >::PCDGrabber | ( | const std::string & | pcd_path, |
float | frames_per_second = 0 , |
||
bool | repeat = false |
||
) |
Definition at line 188 of file pcd_grabber.h.
pcl::PCDGrabber< PointT >::PCDGrabber | ( | const std::vector< std::string > & | pcd_files, |
float | frames_per_second = 0 , |
||
bool | repeat = false |
||
) |
Definition at line 201 of file pcd_grabber.h.
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 [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.
void pcl::PCDGrabber< PointT >::publish | ( | const pcl::PCLPointCloud2 & | blob, |
const Eigen::Vector4f & | origin, | ||
const Eigen::Quaternionf & | orientation | ||
) | const [protected, virtual] |
Implements pcl::PCDGrabberBase.
Definition at line 236 of file pcd_grabber.h.
size_t pcl::PCDGrabber< PointT >::size | ( | ) | const [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.
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.