Point Cloud Library (PCL)  1.7.0
Public Member Functions | Protected Member Functions | Protected Attributes
pcl::ImageGrabber< PointT > Class Template Reference

#include <pcl/io/image_grabber.h>

+ Inheritance diagram for pcl::ImageGrabber< PointT >:

List of all members.

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_

Detailed Description

template<typename PointT>
class pcl::ImageGrabber< PointT >

Definition at line 214 of file image_grabber.h.


Constructor & Destructor Documentation

template<typename PointT >
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.

References pcl::ImageGrabber< PointT >::signal_.

template<typename PointT >
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.

References pcl::ImageGrabber< PointT >::signal_.

template<typename PointT >
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.

References pcl::ImageGrabber< PointT >::signal_.

template<typename PointT >
virtual pcl::ImageGrabber< PointT >::~ImageGrabber ( ) throw () [inline, virtual]

Empty destructor.

Definition at line 232 of file image_grabber.h.


Member Function Documentation

template<typename PointT >
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

Parameters:
[in]idxThe frame to load

Implements pcl::FileGrabber< PointT >.

Definition at line 284 of file image_grabber.h.

References pcl::fromPCLPointCloud2(), pcl::PointCloud< PointT >::sensor_orientation_, and pcl::PointCloud< PointT >::sensor_origin_.

template<typename PointT >
void pcl::ImageGrabber< PointT >::publish ( const pcl::PCLPointCloud2 blob,
const Eigen::Vector4f &  origin,
const Eigen::Quaternionf &  orientation 
) const [protected, virtual]
template<typename PointT >
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.


Member Data Documentation

template<typename PointT >
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().


The documentation for this class was generated from the following file: