Class DisparityPlugin

Inheritance Relationships

Base Type

  • public mapviz::MapvizPlugin

Class Documentation

class DisparityPlugin : 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

DisparityPlugin()
~DisparityPlugin() override = default
bool Initialize(QGLWidget *canvas) override
inline void Shutdown() override
virtual void Draw(double x, double y, double scale) 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

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(int width)
void SetHeight(int height)
void SetSubscription(bool visible)