10 #ifndef OPENNI_GRABBER_H 11 #define OPENNI_GRABBER_H 14 #include <rtm/DataFlowComponentBase.h> 18 #include <rtm/idl/BasicDataTypeSkel.h> 19 #include <pcl/io/openni2_grabber.h> 20 #include <pcl/io/pcd_io.h> 21 #include "hrpsys/idl/pointcloud.hh" 22 #include "hrpsys/idl/Img.hh" 55 virtual RTC::ReturnCode_t onInitialize();
144 void grabberCallbackPointCloudRGBA(
const pcl::PointCloud<pcl::PointXYZRGBA>::ConstPtr &cloud);
145 void grabberCallbackPointCloud(
const pcl::PointCloud<pcl::PointXYZ>::ConstPtr &cloud);
166 #endif // OPENNI_GRABBER_H
OutPort< Img::TimedCameraImage > m_depthOut
OutPort< PointCloudTypes::PointCloud > m_cloudOut
bool m_outputPointCloudRGBA
void OpenNIGrabberInit(RTC::Manager *manager)
Img::TimedCameraImage m_depth
pcl::Grabber * m_interface
sample RT component which has one data input port and one data output port
ExecutionContextHandle_t UniqueId
bool m_requestToWritePointCloud
OutPort< Img::TimedCameraImage > m_imageOut
bool m_requestToWriteImage
Img::TimedCameraImage m_image
PointCloudTypes::PointCloud m_cloud