sample RT component which has one data input port and one data output port More...
#include <OpenNIGrabber.h>
Public Member Functions | |
virtual RTC::ReturnCode_t | onActivated (RTC::UniqueId ec_id) |
virtual RTC::ReturnCode_t | onDeactivated (RTC::UniqueId ec_id) |
virtual RTC::ReturnCode_t | onExecute (RTC::UniqueId ec_id) |
virtual RTC::ReturnCode_t | onInitialize () |
OpenNIGrabber (RTC::Manager *manager) | |
Constructor. | |
virtual | ~OpenNIGrabber () |
Destructor. | |
Protected Attributes | |
PointCloudTypes::PointCloud | m_cloud |
OutPort < PointCloudTypes::PointCloud > | m_cloudOut |
Img::TimedCameraImage | m_depth |
OutPort< Img::TimedCameraImage > | m_depthOut |
Img::TimedCameraImage | m_image |
OutPort< Img::TimedCameraImage > | m_imageOut |
Private Member Functions | |
void | grabberCallbackColorAndDepthImage (const boost::shared_ptr< pcl::io::Image > &image, const boost::shared_ptr< pcl::io::DepthImage > &depth, float reciprocalFocalLength) |
void | grabberCallbackColorImage (const boost::shared_ptr< pcl::io::Image > &image) |
void | grabberCallbackDepthImage (const boost::shared_ptr< pcl::io::DepthImage > &image) |
void | grabberCallbackPointCloud (const pcl::PointCloud< pcl::PointXYZ >::ConstPtr &cloud) |
void | grabberCallbackPointCloudRGBA (const pcl::PointCloud< pcl::PointXYZRGBA >::ConstPtr &cloud) |
void | outputColorImage (const boost::shared_ptr< pcl::io::Image > &image) |
void | outputDepthImage (const boost::shared_ptr< pcl::io::DepthImage > &image) |
Private Attributes | |
int | dummy |
int | m_debugLevel |
pcl::Grabber * | m_interface |
bool | m_outputColorImage |
bool | m_outputDepthImage |
bool | m_outputPointCloud |
bool | m_outputPointCloudRGBA |
bool | m_requestToWriteImage |
bool | m_requestToWritePointCloud |
sample RT component which has one data input port and one data output port
Definition at line 39 of file OpenNIGrabber.h.
OpenNIGrabber::OpenNIGrabber | ( | RTC::Manager * | manager | ) |
Constructor.
manager | pointer to the Manager |
Definition at line 41 of file OpenNIGrabber.cpp.
OpenNIGrabber::~OpenNIGrabber | ( | ) | [virtual] |
Destructor.
Definition at line 55 of file OpenNIGrabber.cpp.
void OpenNIGrabber::grabberCallbackColorAndDepthImage | ( | const boost::shared_ptr< pcl::io::Image > & | image, |
const boost::shared_ptr< pcl::io::DepthImage > & | depth, | ||
float | reciprocalFocalLength | ||
) | [private] |
Definition at line 149 of file OpenNIGrabber.cpp.
void OpenNIGrabber::grabberCallbackColorImage | ( | const boost::shared_ptr< pcl::io::Image > & | image | ) | [private] |
Definition at line 97 of file OpenNIGrabber.cpp.
void OpenNIGrabber::grabberCallbackDepthImage | ( | const boost::shared_ptr< pcl::io::DepthImage > & | image | ) | [private] |
Definition at line 123 of file OpenNIGrabber.cpp.
void OpenNIGrabber::grabberCallbackPointCloud | ( | const pcl::PointCloud< pcl::PointXYZ >::ConstPtr & | cloud | ) | [private] |
Definition at line 182 of file OpenNIGrabber.cpp.
void OpenNIGrabber::grabberCallbackPointCloudRGBA | ( | const pcl::PointCloud< pcl::PointXYZRGBA >::ConstPtr & | cloud | ) | [private] |
Definition at line 159 of file OpenNIGrabber.cpp.
RTC::ReturnCode_t OpenNIGrabber::onActivated | ( | RTC::UniqueId | ec_id | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 224 of file OpenNIGrabber.cpp.
RTC::ReturnCode_t OpenNIGrabber::onDeactivated | ( | RTC::UniqueId | ec_id | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 308 of file OpenNIGrabber.cpp.
RTC::ReturnCode_t OpenNIGrabber::onExecute | ( | RTC::UniqueId | ec_id | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 321 of file OpenNIGrabber.cpp.
RTC::ReturnCode_t OpenNIGrabber::onInitialize | ( | void | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 61 of file OpenNIGrabber.cpp.
void OpenNIGrabber::outputColorImage | ( | const boost::shared_ptr< pcl::io::Image > & | image | ) | [private] |
Definition at line 106 of file OpenNIGrabber.cpp.
void OpenNIGrabber::outputDepthImage | ( | const boost::shared_ptr< pcl::io::DepthImage > & | image | ) | [private] |
Definition at line 132 of file OpenNIGrabber.cpp.
int OpenNIGrabber::dummy [private] |
Definition at line 157 of file OpenNIGrabber.h.
PointCloudTypes::PointCloud OpenNIGrabber::m_cloud [protected] |
Definition at line 110 of file OpenNIGrabber.h.
OutPort<PointCloudTypes::PointCloud> OpenNIGrabber::m_cloudOut [protected] |
Definition at line 119 of file OpenNIGrabber.h.
int OpenNIGrabber::m_debugLevel [private] |
Definition at line 150 of file OpenNIGrabber.h.
Img::TimedCameraImage OpenNIGrabber::m_depth [protected] |
Definition at line 109 of file OpenNIGrabber.h.
OutPort<Img::TimedCameraImage> OpenNIGrabber::m_depthOut [protected] |
Definition at line 121 of file OpenNIGrabber.h.
Img::TimedCameraImage OpenNIGrabber::m_image [protected] |
Definition at line 108 of file OpenNIGrabber.h.
OutPort<Img::TimedCameraImage> OpenNIGrabber::m_imageOut [protected] |
Definition at line 120 of file OpenNIGrabber.h.
pcl::Grabber* OpenNIGrabber::m_interface [private] |
Definition at line 149 of file OpenNIGrabber.h.
bool OpenNIGrabber::m_outputColorImage [private] |
Definition at line 151 of file OpenNIGrabber.h.
bool OpenNIGrabber::m_outputDepthImage [private] |
Definition at line 152 of file OpenNIGrabber.h.
bool OpenNIGrabber::m_outputPointCloud [private] |
Definition at line 153 of file OpenNIGrabber.h.
bool OpenNIGrabber::m_outputPointCloudRGBA [private] |
Definition at line 154 of file OpenNIGrabber.h.
bool OpenNIGrabber::m_requestToWriteImage [private] |
Definition at line 155 of file OpenNIGrabber.h.
bool OpenNIGrabber::m_requestToWritePointCloud [private] |
Definition at line 156 of file OpenNIGrabber.h.