30 #ifndef MAPVIZ_PLUGINS_GRID_PLUGIN_H_ 31 #define MAPVIZ_PLUGINS_GRID_PLUGIN_H_ 52 #include "ui_grid_config.h" 67 void Draw(
double x,
double y,
double scale);
71 void LoadConfig(
const YAML::Node& node,
const std::string& path);
72 void SaveConfig(YAML::Emitter& emitter,
const std::string& path);
78 void PrintInfo(
const std::string& message);
119 void Transform(std::list<tf::Point>& src, std::list<tf::Point>& dst);
123 #endif // MAPVIZ_PLUGINS_GRID_PLUGIN_H_ void LoadConfig(const YAML::Node &node, const std::string &path)
bool Initialize(QGLWidget *canvas)
swri_transform_util::Transform transform_
std::list< tf::Point > transformed_left_points_
void Draw(double x, double y, double scale)
TFSIMD_FORCE_INLINE const tfScalar & y() const
void PrintError(const std::string &message)
void PrintWarning(const std::string &message)
std::list< tf::Point > right_points_
std::list< tf::Point > transformed_top_points_
TFSIMD_FORCE_INLINE const tfScalar & x() const
std::list< tf::Point > top_points_
void PrintInfo(const std::string &message)
std::list< tf::Point > transformed_bottom_points_
void SetAlpha(double alpha)
std::list< tf::Point > bottom_points_
QWidget * GetConfigWidget(QWidget *parent)
std::list< tf::Point > transformed_right_points_
std::list< tf::Point > left_points_
void SaveConfig(YAML::Emitter &emitter, const std::string &path)
void SetColumns(int columns)
void SetSize(double size)