Public Member Functions | Protected Attributes | Private Member Functions | Private Attributes
OpenNIGrabber Class Reference

sample RT component which has one data input port and one data output port More...

#include <OpenNIGrabber.h>

Inheritance diagram for OpenNIGrabber:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

sample RT component which has one data input port and one data output port

Definition at line 39 of file OpenNIGrabber.h.


Constructor & Destructor Documentation

Constructor.

Parameters:
managerpointer to the Manager

Definition at line 41 of file OpenNIGrabber.cpp.

Destructor.

Definition at line 55 of file OpenNIGrabber.cpp.


Member Function Documentation

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 185 of file OpenNIGrabber.cpp.

void OpenNIGrabber::grabberCallbackPointCloudRGBA ( const pcl::PointCloud< pcl::PointXYZRGBA >::ConstPtr &  cloud) [private]

Definition at line 159 of file OpenNIGrabber.cpp.

Reimplemented from RTC::RTObject_impl.

Definition at line 227 of file OpenNIGrabber.cpp.

Reimplemented from RTC::RTObject_impl.

Definition at line 311 of file OpenNIGrabber.cpp.

Reimplemented from RTC::RTObject_impl.

Definition at line 324 of file OpenNIGrabber.cpp.

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.


Member Data Documentation

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.

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.

Definition at line 151 of file OpenNIGrabber.h.

Definition at line 152 of file OpenNIGrabber.h.

Definition at line 153 of file OpenNIGrabber.h.

Definition at line 154 of file OpenNIGrabber.h.

Definition at line 155 of file OpenNIGrabber.h.

Definition at line 156 of file OpenNIGrabber.h.


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


hrpsys
Author(s): AIST, Fumio Kanehiro
autogenerated on Wed May 15 2019 05:02:20