Class DrawPolygonPlugin

Inheritance Relationships

Base Type

  • public mapviz::MapvizPlugin

Class Documentation

class DrawPolygonPlugin : public mapviz::MapvizPlugin

Public Functions

DrawPolygonPlugin()
~DrawPolygonPlugin() override
bool Initialize(QGLWidget *canvas) override
inline void Shutdown() override
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
bool eventFilter(QObject *object, QEvent *event) override
bool handleMousePress(QMouseEvent*)
bool handleMouseRelease(QMouseEvent*)
bool handleMouseMove(QMouseEvent*)

Protected Slots

void PublishPolygon()
void Clear()
void SelectFrame()
void FrameEdited()