Point Cloud Library (PCL)
1.7.1
|
Grabber for PXC devices. More...
#include <pcl/io/pxc_grabber.h>
Public Types | |
enum | Mode { PXC_Default_Mode = 0 } |
Supported modes for grabbing from a PXC device. More... | |
typedef void( | sig_cb_pxc_point_cloud) (const boost::shared_ptr< const pcl::PointCloud< pcl::PointXYZ > > &) |
typedef void( | sig_cb_pxc_point_cloud_rgb) (const boost::shared_ptr< const pcl::PointCloud< pcl::PointXYZRGB > > &) |
typedef void( | sig_cb_pxc_point_cloud_rgba) (const boost::shared_ptr< const pcl::PointCloud< pcl::PointXYZRGBA > > &) |
typedef void( | sig_cb_pxc_point_cloud_i) (const boost::shared_ptr< const pcl::PointCloud< pcl::PointXYZI > > &) |
Public Member Functions | |
PXCGrabber () | |
Constructor. More... | |
virtual | ~PXCGrabber () throw () |
virtual Destructor inherited from the Grabber interface. More... | |
virtual void | start () |
Start the data acquisition. More... | |
virtual void | stop () |
Stop the data acquisition. More... | |
virtual bool | isRunning () const |
Check if the data acquisition is still running. More... | |
virtual std::string | getName () const |
Returns the name of the grabber. More... | |
virtual float | getFramesPerSecond () const |
Obtain the number of frames per second (FPS). More... | |
![]() | |
Grabber () | |
Constructor. More... | |
virtual | ~Grabber () throw () |
virtual desctructor. More... | |
template<typename T > | |
boost::signals2::connection | registerCallback (const boost::function< T > &callback) |
registers a callback function/method to a signal with the corresponding signature More... | |
template<typename T > | |
bool | providesCallback () const |
indicates whether a signal with given parameter-type exists or not More... | |
Protected Member Functions | |
bool | init () |
Initializes the PXC grabber and the grabbing pipeline. More... | |
void | close () |
Closes the grabbing pipeline. More... | |
void | processGrabbing () |
Continously asks for data from the device and publishes it if available. More... | |
![]() | |
virtual void | signalsChanged () |
template<typename T > | |
boost::signals2::signal< T > * | find_signal () const |
template<typename T > | |
int | num_slots () const |
template<typename T > | |
void | disconnect_all_slots () |
template<typename T > | |
void | block_signal () |
template<typename T > | |
void | unblock_signal () |
void | block_signals () |
void | unblock_signals () |
template<typename T > | |
boost::signals2::signal< T > * | createSignal () |
Protected Attributes | |
boost::signals2::signal< sig_cb_pxc_point_cloud > * | point_cloud_signal_ |
boost::signals2::signal< sig_cb_pxc_point_cloud_rgb > * | point_cloud_rgb_signal_ |
boost::signals2::signal< sig_cb_pxc_point_cloud_rgba > * | point_cloud_rgba_signal_ |
UtilPipeline | pp_ |
bool | running_ |
float | fps_ |
boost::mutex | fps_mutex_ |
boost::thread | grabber_thread_ |
![]() | |
std::map< std::string, boost::signals2::signal_base * > | signals_ |
std::map< std::string, std::vector< boost::signals2::connection > > | connections_ |
std::map< std::string, std::vector< boost::signals2::shared_connection_block > > | shared_connections_ |
Grabber for PXC devices.
Definition at line 78 of file pxc_grabber.h.
typedef void( pcl::PXCGrabber::sig_cb_pxc_point_cloud) (const boost::shared_ptr< const pcl::PointCloud< pcl::PointXYZ > > &) |
Definition at line 89 of file pxc_grabber.h.
typedef void( pcl::PXCGrabber::sig_cb_pxc_point_cloud_i) (const boost::shared_ptr< const pcl::PointCloud< pcl::PointXYZI > > &) |
Definition at line 92 of file pxc_grabber.h.
typedef void( pcl::PXCGrabber::sig_cb_pxc_point_cloud_rgb) (const boost::shared_ptr< const pcl::PointCloud< pcl::PointXYZRGB > > &) |
Definition at line 90 of file pxc_grabber.h.
typedef void( pcl::PXCGrabber::sig_cb_pxc_point_cloud_rgba) (const boost::shared_ptr< const pcl::PointCloud< pcl::PointXYZRGBA > > &) |
Definition at line 91 of file pxc_grabber.h.
pcl::PXCGrabber::PXCGrabber | ( | ) |
Constructor.
|
virtual |
virtual Destructor inherited from the Grabber interface.
It never throws.
|
protected |
Closes the grabbing pipeline.
|
virtual |
Obtain the number of frames per second (FPS).
Implements pcl::Grabber.
|
virtual |
Returns the name of the grabber.
Implements pcl::Grabber.
|
protected |
Initializes the PXC grabber and the grabbing pipeline.
|
virtual |
Check if the data acquisition is still running.
Implements pcl::Grabber.
|
protected |
Continously asks for data from the device and publishes it if available.
|
virtual |
Start the data acquisition.
Implements pcl::Grabber.
|
virtual |
Stop the data acquisition.
Implements pcl::Grabber.
|
mutableprotected |
Definition at line 148 of file pxc_grabber.h.
|
mutableprotected |
Definition at line 149 of file pxc_grabber.h.
|
protected |
Definition at line 152 of file pxc_grabber.h.
|
protected |
Definition at line 138 of file pxc_grabber.h.
|
protected |
Definition at line 139 of file pxc_grabber.h.
|
protected |
Definition at line 136 of file pxc_grabber.h.
|
protected |
Definition at line 143 of file pxc_grabber.h.
|
protected |
Definition at line 145 of file pxc_grabber.h.