Class RoutePlugin

Inheritance Relationships

Base Type

  • public mapviz::MapvizPlugin

Class Documentation

class RoutePlugin : public mapviz::MapvizPlugin

Public Types

enum DrawStyle

Values:

enumerator LINES
enumerator POINTS

Public Functions

RoutePlugin()
~RoutePlugin() 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
void DrawStopWaypoint(double x, double y)
void DrawRoute(const swri_route_util::Route &route)
void DrawRoutePoint(const swri_route_util::RoutePoint &point)
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 SelectPositionTopic()
void TopicEdited()
void PositionTopicEdited()
void SetDrawStyle(QString style)
void DrawIcon() override