#include <grid_plugin.h>

Public Member Functions | |
| void | Draw (double x, double y, double scale) |
| QWidget * | GetConfigWidget (QWidget *parent) |
| GridPlugin () | |
| bool | Initialize (QGLWidget *canvas) |
| void | LoadConfig (const YAML::Node &node, const std::string &path) |
| void | SaveConfig (YAML::Emitter &emitter, const std::string &path) |
| void | Shutdown () |
| void | Transform () |
| virtual | ~GridPlugin () |
Protected Slots | |
| void | DrawIcon () |
| void | FrameEdited () |
| void | SelectFrame () |
| void | SetAlpha (double alpha) |
| void | SetColumns (int columns) |
| void | SetRows (int rows) |
| void | SetSize (double size) |
| void | SetX (double x) |
| void | SetY (double y) |
Protected Member Functions | |
| void | PrintError (const std::string &message) |
| void | PrintInfo (const std::string &message) |
| void | PrintWarning (const std::string &message) |
Private Member Functions | |
| void | RecalculateGrid () |
| void | Transform (std::list< tf::Point > &src, std::list< tf::Point > &dst) |
Private Attributes | |
| double | alpha_ |
| std::list< tf::Point > | bottom_points_ |
| int | columns_ |
| QWidget * | config_widget_ |
| std::list< tf::Point > | left_points_ |
| std::list< tf::Point > | right_points_ |
| int | rows_ |
| double | size_ |
| tf::Point | top_left_ |
| std::list< tf::Point > | top_points_ |
| swri_transform_util::Transform | transform_ |
| bool | transformed_ |
| std::list< tf::Point > | transformed_bottom_points_ |
| std::list< tf::Point > | transformed_left_points_ |
| std::list< tf::Point > | transformed_right_points_ |
| std::list< tf::Point > | transformed_top_points_ |
| Ui::grid_config | ui_ |
Definition at line 56 of file grid_plugin.h.
Definition at line 50 of file grid_plugin.cpp.
| mapviz_plugins::GridPlugin::~GridPlugin | ( | ) | [virtual] |
Definition at line 84 of file grid_plugin.cpp.
| void mapviz_plugins::GridPlugin::Draw | ( | double | x, |
| double | y, | ||
| double | scale | ||
| ) | [virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 210 of file grid_plugin.cpp.
| void mapviz_plugins::GridPlugin::DrawIcon | ( | ) | [protected, virtual, slot] |
Reimplemented from mapviz::MapvizPlugin.
Definition at line 93 of file grid_plugin.cpp.
| void mapviz_plugins::GridPlugin::FrameEdited | ( | ) | [protected, slot] |
Definition at line 170 of file grid_plugin.cpp.
| QWidget * mapviz_plugins::GridPlugin::GetConfigWidget | ( | QWidget * | parent | ) | [virtual] |
Reimplemented from mapviz::MapvizPlugin.
Definition at line 194 of file grid_plugin.cpp.
| bool mapviz_plugins::GridPlugin::Initialize | ( | QGLWidget * | canvas | ) | [virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 201 of file grid_plugin.cpp.
| void mapviz_plugins::GridPlugin::LoadConfig | ( | const YAML::Node & | node, |
| const std::string & | path | ||
| ) | [virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 312 of file grid_plugin.cpp.
| void mapviz_plugins::GridPlugin::PrintError | ( | const std::string & | message | ) | [protected, virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 179 of file grid_plugin.cpp.
| void mapviz_plugins::GridPlugin::PrintInfo | ( | const std::string & | message | ) | [protected, virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 184 of file grid_plugin.cpp.
| void mapviz_plugins::GridPlugin::PrintWarning | ( | const std::string & | message | ) | [protected, virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 189 of file grid_plugin.cpp.
| void mapviz_plugins::GridPlugin::RecalculateGrid | ( | ) | [private] |
Definition at line 246 of file grid_plugin.cpp.
| void mapviz_plugins::GridPlugin::SaveConfig | ( | YAML::Emitter & | emitter, |
| const std::string & | path | ||
| ) | [virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 369 of file grid_plugin.cpp.
| void mapviz_plugins::GridPlugin::SelectFrame | ( | ) | [protected, slot] |
Definition at line 160 of file grid_plugin.cpp.
| void mapviz_plugins::GridPlugin::SetAlpha | ( | double | alpha | ) | [protected, slot] |
Definition at line 120 of file grid_plugin.cpp.
| void mapviz_plugins::GridPlugin::SetColumns | ( | int | columns | ) | [protected, slot] |
Definition at line 153 of file grid_plugin.cpp.
| void mapviz_plugins::GridPlugin::SetRows | ( | int | rows | ) | [protected, slot] |
Definition at line 146 of file grid_plugin.cpp.
| void mapviz_plugins::GridPlugin::SetSize | ( | double | size | ) | [protected, slot] |
Definition at line 139 of file grid_plugin.cpp.
| void mapviz_plugins::GridPlugin::SetX | ( | double | x | ) | [protected, slot] |
Definition at line 125 of file grid_plugin.cpp.
| void mapviz_plugins::GridPlugin::SetY | ( | double | y | ) | [protected, slot] |
Definition at line 132 of file grid_plugin.cpp.
| void mapviz_plugins::GridPlugin::Shutdown | ( | ) | [virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 89 of file grid_plugin.cpp.
| void mapviz_plugins::GridPlugin::Transform | ( | ) | [virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 285 of file grid_plugin.cpp.
| void mapviz_plugins::GridPlugin::Transform | ( | std::list< tf::Point > & | src, |
| std::list< tf::Point > & | dst | ||
| ) | [private] |
Definition at line 300 of file grid_plugin.cpp.
double mapviz_plugins::GridPlugin::alpha_ [private] |
Definition at line 96 of file grid_plugin.h.
std::list<tf::Point> mapviz_plugins::GridPlugin::bottom_points_ [private] |
Definition at line 107 of file grid_plugin.h.
int mapviz_plugins::GridPlugin::columns_ [private] |
Definition at line 102 of file grid_plugin.h.
QWidget* mapviz_plugins::GridPlugin::config_widget_ [private] |
Definition at line 94 of file grid_plugin.h.
std::list<tf::Point> mapviz_plugins::GridPlugin::left_points_ [private] |
Definition at line 108 of file grid_plugin.h.
std::list<tf::Point> mapviz_plugins::GridPlugin::right_points_ [private] |
Definition at line 109 of file grid_plugin.h.
int mapviz_plugins::GridPlugin::rows_ [private] |
Definition at line 101 of file grid_plugin.h.
double mapviz_plugins::GridPlugin::size_ [private] |
Definition at line 100 of file grid_plugin.h.
Definition at line 98 of file grid_plugin.h.
std::list<tf::Point> mapviz_plugins::GridPlugin::top_points_ [private] |
Definition at line 106 of file grid_plugin.h.
Definition at line 116 of file grid_plugin.h.
bool mapviz_plugins::GridPlugin::transformed_ [private] |
Definition at line 104 of file grid_plugin.h.
std::list<tf::Point> mapviz_plugins::GridPlugin::transformed_bottom_points_ [private] |
Definition at line 112 of file grid_plugin.h.
std::list<tf::Point> mapviz_plugins::GridPlugin::transformed_left_points_ [private] |
Definition at line 113 of file grid_plugin.h.
std::list<tf::Point> mapviz_plugins::GridPlugin::transformed_right_points_ [private] |
Definition at line 114 of file grid_plugin.h.
std::list<tf::Point> mapviz_plugins::GridPlugin::transformed_top_points_ [private] |
Definition at line 111 of file grid_plugin.h.
Ui::grid_config mapviz_plugins::GridPlugin::ui_ [private] |
Definition at line 93 of file grid_plugin.h.