#include <draw_polygon_plugin.h>
|
void | Draw (double x, double y, double scale) |
|
| DrawPolygonPlugin () |
|
QWidget * | GetConfigWidget (QWidget *parent) |
|
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 | ~DrawPolygonPlugin () |
|
virtual void | ClearHistory () |
|
int | DrawOrder () const |
|
void | DrawPlugin (double x, double y, double scale) |
|
bool | GetTransform (const ros::Time &stamp, swri_transform_util::Transform &transform) |
|
bool | GetTransform (const std::string &source, const ros::Time &stamp, swri_transform_util::Transform &transform) |
|
virtual bool | Initialize (boost::shared_ptr< tf::TransformListener > tf_listener, swri_transform_util::TransformManagerPtr tf_manager, QGLWidget *canvas) |
|
std::string | Name () const |
|
virtual void | Paint (QPainter *painter, double x, double y, double scale) |
|
void | PaintPlugin (QPainter *painter, double x, double y, double scale) |
|
void | PrintMeasurements () |
|
void | SetDrawOrder (int order) |
|
void | SetIcon (IconWidget *icon) |
|
void | SetName (const std::string &name) |
|
virtual void | SetNode (const ros::NodeHandle &node) |
|
void | SetTargetFrame (std::string frame_id) |
|
void | SetType (const std::string &type) |
|
void | SetVisible (bool visible) |
|
std::string | Type () const |
|
bool | Visible () const |
|
virtual | ~MapvizPlugin () |
|
Definition at line 59 of file draw_polygon_plugin.h.
◆ DrawPolygonPlugin()
mapviz_plugins::DrawPolygonPlugin::DrawPolygonPlugin |
( |
| ) |
|
◆ ~DrawPolygonPlugin()
mapviz_plugins::DrawPolygonPlugin::~DrawPolygonPlugin |
( |
| ) |
|
|
virtual |
◆ Clear
void mapviz_plugins::DrawPolygonPlugin::Clear |
( |
| ) |
|
|
protectedslot |
◆ Draw()
void mapviz_plugins::DrawPolygonPlugin::Draw |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
scale |
|
) |
| |
|
virtual |
◆ eventFilter()
bool mapviz_plugins::DrawPolygonPlugin::eventFilter |
( |
QObject * |
object, |
|
|
QEvent * |
event |
|
) |
| |
|
protected |
◆ FrameEdited
void mapviz_plugins::DrawPolygonPlugin::FrameEdited |
( |
| ) |
|
|
protectedslot |
◆ GetConfigWidget()
QWidget * mapviz_plugins::DrawPolygonPlugin::GetConfigWidget |
( |
QWidget * |
parent | ) |
|
|
virtual |
◆ handleMouseMove()
bool mapviz_plugins::DrawPolygonPlugin::handleMouseMove |
( |
QMouseEvent * |
event | ) |
|
|
protected |
◆ handleMousePress()
bool mapviz_plugins::DrawPolygonPlugin::handleMousePress |
( |
QMouseEvent * |
event | ) |
|
|
protected |
◆ handleMouseRelease()
bool mapviz_plugins::DrawPolygonPlugin::handleMouseRelease |
( |
QMouseEvent * |
event | ) |
|
|
protected |
◆ Initialize()
bool mapviz_plugins::DrawPolygonPlugin::Initialize |
( |
QGLWidget * |
canvas | ) |
|
|
virtual |
◆ LoadConfig()
void mapviz_plugins::DrawPolygonPlugin::LoadConfig |
( |
const YAML::Node & |
node, |
|
|
const std::string & |
path |
|
) |
| |
|
virtual |
◆ PrintError()
void mapviz_plugins::DrawPolygonPlugin::PrintError |
( |
const std::string & |
message | ) |
|
|
protectedvirtual |
◆ PrintInfo()
void mapviz_plugins::DrawPolygonPlugin::PrintInfo |
( |
const std::string & |
message | ) |
|
|
protectedvirtual |
◆ PrintWarning()
void mapviz_plugins::DrawPolygonPlugin::PrintWarning |
( |
const std::string & |
message | ) |
|
|
protectedvirtual |
◆ PublishPolygon
void mapviz_plugins::DrawPolygonPlugin::PublishPolygon |
( |
| ) |
|
|
protectedslot |
◆ SaveConfig()
void mapviz_plugins::DrawPolygonPlugin::SaveConfig |
( |
YAML::Emitter & |
emitter, |
|
|
const std::string & |
path |
|
) |
| |
|
virtual |
◆ SelectFrame
void mapviz_plugins::DrawPolygonPlugin::SelectFrame |
( |
| ) |
|
|
protectedslot |
◆ Shutdown()
void mapviz_plugins::DrawPolygonPlugin::Shutdown |
( |
| ) |
|
|
inlinevirtual |
◆ Transform()
void mapviz_plugins::DrawPolygonPlugin::Transform |
( |
| ) |
|
|
inlinevirtual |
◆ config_widget_
QWidget* mapviz_plugins::DrawPolygonPlugin::config_widget_ |
|
private |
◆ is_mouse_down_
bool mapviz_plugins::DrawPolygonPlugin::is_mouse_down_ |
|
private |
◆ map_canvas_
◆ max_distance_
qreal mapviz_plugins::DrawPolygonPlugin::max_distance_ |
|
private |
◆ max_ms_
qint64 mapviz_plugins::DrawPolygonPlugin::max_ms_ |
|
private |
◆ mouse_down_pos_
QPointF mapviz_plugins::DrawPolygonPlugin::mouse_down_pos_ |
|
private |
◆ mouse_down_time_
qint64 mapviz_plugins::DrawPolygonPlugin::mouse_down_time_ |
|
private |
◆ polygon_pub_
◆ polygon_topic_
std::string mapviz_plugins::DrawPolygonPlugin::polygon_topic_ |
|
private |
◆ selected_point_
int mapviz_plugins::DrawPolygonPlugin::selected_point_ |
|
private |
◆ transformed_vertices_
std::vector<tf::Vector3> mapviz_plugins::DrawPolygonPlugin::transformed_vertices_ |
|
private |
◆ ui_
Ui::draw_polygon_config mapviz_plugins::DrawPolygonPlugin::ui_ |
|
private |
◆ vertices_
std::vector<tf::Vector3> mapviz_plugins::DrawPolygonPlugin::vertices_ |
|
private |
The documentation for this class was generated from the following files: