Public Member Functions | Public Attributes
halcon_bridge::HalconImage Class Reference

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

#include <halcon_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.
 ~HalconImage ()

Public Attributes

std::string encoding
std_msgs::Header header
HalconCpp::HImage * image

Detailed Description

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

Author:
Allgeyer Tobias

Definition at line 41 of file halcon_image.h.


Constructor & Destructor Documentation

Definition at line 87 of file halcon_image.cpp.


Member Function Documentation

sensor_msgs::ImagePtr halcon_bridge::HalconImage::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 91 of file halcon_image.cpp.

void halcon_bridge::HalconImage::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 99 of file halcon_image.cpp.


Member Data Documentation

Definition at line 44 of file halcon_image.h.

Definition at line 43 of file halcon_image.h.

Definition at line 45 of file halcon_image.h.


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


asr_halcon_bridge
Author(s): Allgeyer Tobias
autogenerated on Thu Jun 6 2019 18:32:11