Public Member Functions | |
CobTofCameraViewerNode (const ros::NodeHandle &node_handle) | |
void | greyImageCallback (const sensor_msgs::ImageConstPtr &grey_image_msg) |
bool | init () |
void | xyzImageCallback (const sensor_msgs::ImageConstPtr &xyz_image_msg) |
~CobTofCameraViewerNode () | |
Destructor. | |
Private Attributes | |
sensor_msgs::CvBridge | cv_bridge_0_ |
sensor_msgs::CvBridge | cv_bridge_1_ |
IplImage * | grey_image_32F1_ |
OpenCV image holding the transformed 8bit RGB point cloud. | |
int | grey_image_counter_ |
OpenCV image holding the transformed 8bit RGB amplitude values. | |
image_transport::Subscriber | grey_image_subscriber_ |
Subscribes to gray image data. | |
cv::Mat | grey_mat_8U3_ |
OpenCV image holding the 32bit amplitude values. | |
image_transport::ImageTransport | image_transport_ |
Image transport instance. | |
ros::NodeHandle | m_NodeHandle |
Node handle. | |
IplImage * | xyz_image_32F3_ |
image_transport::Subscriber | xyz_image_subscriber_ |
Subscribes to xyz image data. | |
cv::Mat | xyz_mat_8U3_ |
OpenCV image holding the 32bit point cloud. |
Definition at line 73 of file tof_camera_viewer.cpp.
CobTofCameraViewerNode::CobTofCameraViewerNode | ( | const ros::NodeHandle & | node_handle | ) | [inline] |
Constructor.
node_handle | Node handle instance |
Void
Definition at line 95 of file tof_camera_viewer.cpp.
CobTofCameraViewerNode::~CobTofCameraViewerNode | ( | ) | [inline] |
Destructor.
Do not release m_GrayImage32F3
Do not release xyz_image_32F3_
Image allocation is managed by Cv_Bridge object
Definition at line 108 of file tof_camera_viewer.cpp.
void CobTofCameraViewerNode::greyImageCallback | ( | const sensor_msgs::ImageConstPtr & | grey_image_msg | ) | [inline] |
Topic callback functions. Function will be called when a new message arrives on a topic.
grey_image_msg | The gray values of point cloud, saved in a 32bit, 1 channel OpenCV IplImage |
Do not release m_GrayImage32F3
Image allocation is managed by Cv_Bridge object
Definition at line 136 of file tof_camera_viewer.cpp.
bool CobTofCameraViewerNode::init | ( | ) | [inline] |
initialize tof camera viewer.
false
on failure, true
otherwise Create viewer windows
Definition at line 120 of file tof_camera_viewer.cpp.
void CobTofCameraViewerNode::xyzImageCallback | ( | const sensor_msgs::ImageConstPtr & | xyz_image_msg | ) | [inline] |
Topic callback functions. Function will be called when a new message arrives on a topic.
xyz_image_msg | The point cloud, saved in a 32bit, 3 channel OpenCV IplImage |
Do not release xyz_image_32F3_
Image allocation is managed by Cv_Bridge object
Definition at line 174 of file tof_camera_viewer.cpp.
sensor_msgs::CvBridge CobTofCameraViewerNode::cv_bridge_0_ [private] |
Definition at line 82 of file tof_camera_viewer.cpp.
sensor_msgs::CvBridge CobTofCameraViewerNode::cv_bridge_1_ [private] |
Definition at line 83 of file tof_camera_viewer.cpp.
IplImage* CobTofCameraViewerNode::grey_image_32F1_ [private] |
OpenCV image holding the transformed 8bit RGB point cloud.
Definition at line 87 of file tof_camera_viewer.cpp.
int CobTofCameraViewerNode::grey_image_counter_ [private] |
OpenCV image holding the transformed 8bit RGB amplitude values.
Definition at line 90 of file tof_camera_viewer.cpp.
Subscribes to gray image data.
Definition at line 80 of file tof_camera_viewer.cpp.
cv::Mat CobTofCameraViewerNode::grey_mat_8U3_ [private] |
OpenCV image holding the 32bit amplitude values.
Definition at line 88 of file tof_camera_viewer.cpp.
Image transport instance.
Definition at line 78 of file tof_camera_viewer.cpp.
Node handle.
Definition at line 76 of file tof_camera_viewer.cpp.
IplImage* CobTofCameraViewerNode::xyz_image_32F3_ [private] |
Definition at line 85 of file tof_camera_viewer.cpp.
Subscribes to xyz image data.
Definition at line 79 of file tof_camera_viewer.cpp.
cv::Mat CobTofCameraViewerNode::xyz_mat_8U3_ [private] |
OpenCV image holding the 32bit point cloud.
Definition at line 86 of file tof_camera_viewer.cpp.