Class ImagePlugin

Inheritance Relationships

Base Type

  • public mapviz::MapvizPlugin

Class Documentation

class ImagePlugin : public mapviz::MapvizPlugin

Public Types

enum Anchor

Values:

enumerator TOP_LEFT
enumerator TOP_CENTER
enumerator TOP_RIGHT
enumerator CENTER_LEFT
enumerator CENTER
enumerator CENTER_RIGHT
enumerator BOTTOM_LEFT
enumerator BOTTOM_CENTER
enumerator BOTTOM_RIGHT
enum Units

Values:

enumerator PIXELS
enumerator PERCENT

Public Functions

ImagePlugin()
~ImagePlugin() override = default
bool Initialize(QGLWidget *canvas) override
inline void Shutdown() override
virtual void Draw(double x, double y, double scale) override
void SetNode(rclcpp::Node &node) override
inline void Transform() override
void LoadConfig(const YAML::Node &node, const std::string &path) override
void SaveConfig(YAML::Emitter &emitter, const std::string &path) override
QWidget *GetConfigWidget(QWidget *parent) override

Public Slots

void Resubscribe()

Protected Functions

void PrintError(const std::string &message) override
void PrintInfo(const std::string &message) override
void PrintWarning(const std::string &message) override

Protected Slots

void SelectTopic()
void TopicEdited()
void SetAnchor(QString anchor)
void SetUnits(QString units)
void SetOffsetX(int offset)
void SetOffsetY(int offset)
void SetWidth(double width)
void SetHeight(double height)
void SetSubscription(bool visible)
void SetTransport(const QString &transport)
void KeepRatioChanged(bool checked)