Wrapper for the grabbing from an OpenNI device. Wrapper is used to run the grabbing in a separate thread (QThread). More...
#include <openni_grabber.h>
Signals | |
void | cloudReceived (const pcl::PointCloud< pcl::PointXYZRGBA >::ConstPtr cloud) |
Omitted when a new cloud is received. | |
Public Member Functions | |
void | cloudCallback (const pcl::PointCloud< pcl::PointXYZRGBA >::ConstPtr &cloud) |
Callback that is used to get cloud data from the grabber. | |
OpenNIGrabber (pcl::Grabber *grabber) | |
Creates a new wrapper object from the specified grabber. | |
void | run () |
Starts the thread. | |
virtual | ~OpenNIGrabber () |
Private Attributes | |
pcl::Grabber * | grabber_ |
The grabber data is received from. |
Wrapper for the grabbing from an OpenNI device. Wrapper is used to run the grabbing in a separate thread (QThread).
Definition at line 60 of file apps/optronic_viewer/include/pcl/apps/optronic_viewer/openni_grabber.h.
Creates a new wrapper object from the specified grabber.
Definition at line 46 of file apps/optronic_viewer/src/openni_grabber.cpp.
Definition at line 56 of file apps/optronic_viewer/src/openni_grabber.cpp.
void pcl::apps::optronic_viewer::OpenNIGrabber::cloudCallback | ( | const pcl::PointCloud< pcl::PointXYZRGBA >::ConstPtr & | cloud | ) |
Callback that is used to get cloud data from the grabber.
Definition at line 78 of file apps/optronic_viewer/src/openni_grabber.cpp.
void pcl::apps::optronic_viewer::OpenNIGrabber::cloudReceived | ( | const pcl::PointCloud< pcl::PointXYZRGBA >::ConstPtr | cloud | ) | [signal] |
Omitted when a new cloud is received.
Starts the thread.
Definition at line 64 of file apps/optronic_viewer/src/openni_grabber.cpp.
The grabber data is received from.
Definition at line 81 of file apps/optronic_viewer/include/pcl/apps/optronic_viewer/openni_grabber.h.