Image message class that is interoperable with sensor_msgs/Image but uses a CByteImage representation for the image data. More...
#include <ivt_image.h>
Public Member Functions | |
| sensor_msgs::ImagePtr | toImageMsg () const |
| Convert this message to a ROS sensor_msgs::Image message. More... | |
| void | toImageMsg (sensor_msgs::Image &ros_image) const |
| Copy the message data to a ROS sensor_msgs::Image message. More... | |
| ~IvtImage () | |
Public Attributes | |
| std::string | encoding |
| Image encoding ("mono8", "bgr8", etc.) More... | |
| std_msgs::Header | header |
| ROS header. More... | |
| CByteImage * | image |
| Image data for use with Ivt. More... | |
Protected Attributes | |
| boost::shared_ptr< void const > | tracked_object_ |
Image message class that is interoperable with sensor_msgs/Image but uses a CByteImage representation for the image data.
Definition at line 46 of file ivt_image.h.
| ivt_bridge::IvtImage::~IvtImage | ( | ) |
Definition at line 180 of file ivt_image.cpp.
| sensor_msgs::ImagePtr ivt_bridge::IvtImage::toImageMsg | ( | ) | const |
Convert this message to a ROS sensor_msgs::Image message.
The returned sensor_msgs::Image message contains a copy of the image data.
Definition at line 184 of file ivt_image.cpp.
| void ivt_bridge::IvtImage::toImageMsg | ( | sensor_msgs::Image & | ros_image | ) | const |
Copy the message data to a ROS sensor_msgs::Image message.
This overload is intended mainly for aggregate messages such as stereo_msgs::DisparityImage, which contains a sensor_msgs::Image as a data member.
Definition at line 190 of file ivt_image.cpp.
| std::string ivt_bridge::IvtImage::encoding |
Image encoding ("mono8", "bgr8", etc.)
Definition at line 49 of file ivt_image.h.
| std_msgs::Header ivt_bridge::IvtImage::header |
ROS header.
Definition at line 48 of file ivt_image.h.
| CByteImage* ivt_bridge::IvtImage::image |
Image data for use with Ivt.
Definition at line 50 of file ivt_image.h.
|
protected |
Definition at line 70 of file ivt_image.h.