Go to the documentation of this file.
30 #ifndef MAPVIZ_PLUGINS_IMAGE_PLUGIN_H_
31 #define MAPVIZ_PLUGINS_IMAGE_PLUGIN_H_
48 #include <sensor_msgs/Image.h>
49 #include <opencv2/highgui.hpp>
56 #include "ui_image_config.h"
85 void Draw(
double x,
double y,
double scale);
92 void LoadConfig(
const YAML::Node& node,
const std::string& path);
93 void SaveConfig(YAML::Emitter& emitter,
const std::string& path);
99 void PrintInfo(
const std::string& message);
162 #endif // MAPVIZ_PLUGINS_IMAGE_PLUGIN_H_
void DrawIplImage(cv::Mat *image)
virtual void SetNode(const ros::NodeHandle &node)
void SetOffsetX(int offset)
void SetOffsetY(int offset)
void SetTransport(const QString &transport)
image_transport::Subscriber image_sub_
void PrintError(const std::string &message)
void Draw(double x, double y, double scale)
std::string UnitsToString(Units units)
double original_aspect_ratio_
void LoadConfig(const YAML::Node &node, const std::string &path)
ros::NodeHandle local_node_
void imageCallback(const sensor_msgs::ImageConstPtr &image)
void SetUnits(QString units)
std::string RotationToString(int rotation)
void SetRotation(QString rotation)
std::string AnchorToString(Anchor anchor)
void KeepRatioChanged(bool checked)
void SetHeight(double height)
void SetAnchor(QString anchor)
void ScaleImage(double width, double height)
void SaveConfig(YAML::Emitter &emitter, const std::string &path)
cv_bridge::CvImagePtr cv_image_
void SetSubscription(bool visible)
void SetWidth(double width)
void PrintInfo(const std::string &message)
QWidget * GetConfigWidget(QWidget *parent)
void PrintWarning(const std::string &message)
sensor_msgs::Image image_
bool Initialize(QGLWidget *canvas)
mapviz_plugins
Author(s): Marc Alban
autogenerated on Sun Sep 8 2024 02:27:14