Public Member Functions | Public Attributes | Protected Attributes | List of all members
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>

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_
 

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

ivt_bridge::IvtImage::~IvtImage ( )

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

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.

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 Mon Jun 10 2019 12:39:24