Public Member Functions | Public Attributes | Protected Attributes
ivt_bridge::IvtImage Class Reference

Image message class that is interoperable with sensor_msgs/Image but uses a CByteImage representation for the image data. More...

#include <ivt_image.h>

List of all members.

Public Member Functions

sensor_msgs::ImagePtr toImageMsg () const
 Convert this message to a ROS sensor_msgs::Image message.
void toImageMsg (sensor_msgs::Image &ros_image) const
 Copy the message data to a ROS sensor_msgs::Image message.
 ~IvtImage ()

Public Attributes

std::string encoding
 Image encoding ("mono8", "bgr8", etc.)
std_msgs::Header header
 ROS header.
CByteImage * image
 Image data for use with Ivt.

Protected Attributes

boost::shared_ptr< void const > tracked_object_

Detailed Description

Image message class that is interoperable with sensor_msgs/Image but uses a CByteImage representation for the image data.

Author:
Pascal Meissner, Daniel Kleinert.
Version:
See SVN.

Definition at line 46 of file ivt_image.h.


Constructor & Destructor Documentation

Definition at line 180 of file ivt_image.cpp.


Member Function Documentation

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.


Member Data Documentation

Image encoding ("mono8", "bgr8", etc.)

Definition at line 49 of file ivt_image.h.

ROS header.

Definition at line 48 of file ivt_image.h.

Image data for use with Ivt.

Definition at line 50 of file ivt_image.h.

boost::shared_ptr<void const> ivt_bridge::IvtImage::tracked_object_ [protected]

Definition at line 70 of file ivt_image.h.


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


asr_ivt_bridge
Author(s): Hutmacher Robin, Kleinert Daniel, Meißner Pascal
autogenerated on Sat Jun 8 2019 19:52:36