Public Member Functions | Public Attributes | List of all members
ImageTransportImage Class Reference

Public Member Functions

 ImageTransportImage ()
 Empty constructor. More...
 
 ImageTransportImage (const sensor_msgs::Image &image, const uint8_t *data)
 Constructor. More...
 

Public Attributes

const uint8_t * data_
 Image data for use with OpenCV. More...
 
sensor_msgs::Image image_
 ROS header. More...
 

Detailed Description

The code in the following namespace copies a lof of code from cv_bridge It does not depend on cv_bridge to not depend on OpenCV It re-defines a CvImage so that we can publish that object and not a sensor_msgs::Image, which requires a memory copy

Definition at line 45 of file raw_publisher.cpp.

Constructor & Destructor Documentation

ImageTransportImage::ImageTransportImage ( )
inline

Empty constructor.

Definition at line 54 of file raw_publisher.cpp.

ImageTransportImage::ImageTransportImage ( const sensor_msgs::Image &  image,
const uint8_t *  data 
)
inline

Constructor.

Definition at line 59 of file raw_publisher.cpp.

Member Data Documentation

const uint8_t* ImageTransportImage::data_

Image data for use with OpenCV.

Definition at line 49 of file raw_publisher.cpp.

sensor_msgs::Image ImageTransportImage::image_

ROS header.

Definition at line 48 of file raw_publisher.cpp.


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


image_transport
Author(s): Patrick Mihelich
autogenerated on Thu Jun 6 2019 19:22:47