Go to the documentation of this file.
   31 #ifndef MAPVIZ_PLUGINS_FLOAT_PLUGIN_H 
   32 #define MAPVIZ_PLUGINS_FLOAT_PLUGIN_H 
   45 #include <QStaticText> 
   52 #include "ui_float_config.h" 
   84     void Draw(
double x, 
double y, 
double scale);
 
   85     void Paint(QPainter* painter, 
double x, 
double y, 
double scale);
 
   89     void LoadConfig(
const YAML::Node& node, 
const std::string& path);
 
   90     void SaveConfig(YAML::Emitter& emitter, 
const std::string& path);
 
  102     void PrintInfo(
const std::string& message);
 
  152 #endif //MAPVIZ_PLUGINS_FLOAT_PLUGIN_H 
  
QWidget * GetConfigWidget(QWidget *parent)
static const char * COLOR_KEY
static const char * OFFSET_Y_KEY
bool Initialize(QGLWidget *canvas)
void LoadConfig(const YAML::Node &node, const std::string &path)
void SetUnits(QString units)
static const char * OFFSET_X_KEY
static const char * UNITS_KEY
std::string AnchorToString(Anchor anchor)
void PrintInfo(const std::string &message)
ros::Subscriber float_sub_
void floatCallback(const topic_tools::ShapeShifter::ConstPtr &msg)
void Paint(QPainter *painter, double x, double y, double scale)
void PaintText(QPainter *painter)
void SetOffsetY(int offset)
void SaveConfig(YAML::Emitter &emitter, const std::string &path)
static const char * TOPIC_KEY
std::string UnitsToString(Units units)
void SetOffsetX(int offset)
void Draw(double x, double y, double scale)
static const char * POSTFIX_KEY
void PrintWarning(const std::string &message)
static const char * ANCHOR_KEY
void PrintError(const std::string &message)
static const char * FONT_KEY
void SetAnchor(QString anchor)
mapviz_plugins
Author(s): Marc Alban
autogenerated on Sun Sep 8 2024 02:27:14