Go to the documentation of this file.
31 #ifndef MAPVIZ_PLUGINS_STRING_PLUGIN_H
32 #define MAPVIZ_PLUGINS_STRING_PLUGIN_H
45 #include <QStaticText>
50 #include <std_msgs/String.h>
51 #include <marti_common_msgs/StringStamped.h>
54 #include "ui_string_config.h"
86 void Draw(
double x,
double y,
double scale);
87 void Paint(QPainter* painter,
double x,
double y,
double scale);
91 void LoadConfig(
const YAML::Node& node,
const std::string& path);
92 void SaveConfig(YAML::Emitter& emitter,
const std::string& path);
104 void PrintInfo(
const std::string& message);
151 #endif //MAPVIZ_PLUGINS_STRING_PLUGIN_H
static const char * FONT_KEY
void Paint(QPainter *painter, double x, double y, double scale)
void LoadConfig(const YAML::Node &node, const std::string &path)
void PrintError(const std::string &message)
void SetOffsetX(int offset)
static const char * TOPIC_KEY
std::string AnchorToString(Anchor anchor)
void SetAnchor(QString anchor)
void Draw(double x, double y, double scale)
void PrintWarning(const std::string &message)
void PrintInfo(const std::string &message)
void SaveConfig(YAML::Emitter &emitter, const std::string &path)
ros::Subscriber string_sub_
static const char * COLOR_KEY
void SetUnits(QString units)
static const char * OFFSET_Y_KEY
QWidget * GetConfigWidget(QWidget *parent)
static const char * ANCHOR_KEY
bool Initialize(QGLWidget *canvas)
std::string UnitsToString(Units units)
static const char * OFFSET_X_KEY
void SetOffsetY(int offset)
void stringCallback(const topic_tools::ShapeShifter::ConstPtr &msg)
void PaintText(QPainter *painter)
static const char * UNITS_KEY
mapviz_plugins
Author(s): Marc Alban
autogenerated on Sun Sep 8 2024 02:27:14