Public Member Functions | Protected Slots | Protected Member Functions | Private Member Functions | Private Attributes
mapviz_plugins::PlanRoutePlugin Class Reference

#include <plan_route_plugin.h>

Inheritance diagram for mapviz_plugins::PlanRoutePlugin:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void Draw (double x, double y, double scale)
QWidget * GetConfigWidget (QWidget *parent)
bool Initialize (QGLWidget *canvas)
void LoadConfig (const YAML::Node &node, const std::string &path)
void Paint (QPainter *painter, double x, double y, double scale)
 PlanRoutePlugin ()
void SaveConfig (YAML::Emitter &emitter, const std::string &path)
void Shutdown ()
bool SupportsPainting ()
void Transform ()
virtual ~PlanRoutePlugin ()

Protected Slots

void Clear ()
void PlanRoute ()
void PublishRoute ()

Protected Member Functions

bool eventFilter (QObject *object, QEvent *event)
bool handleMouseMove (QMouseEvent *)
bool handleMousePress (QMouseEvent *)
bool handleMouseRelease (QMouseEvent *)
void PrintError (const std::string &message)
void PrintInfo (const std::string &message)
void PrintWarning (const std::string &message)

Private Member Functions

void Retry (const ros::TimerEvent &e)

Private Attributes

QWidget * config_widget_
bool failed_service_
bool is_mouse_down_
mapviz::MapCanvasmap_canvas_
qreal max_distance_
qint64 max_ms_
QPointF mouse_down_pos_
qint64 mouse_down_time_
ros::Timer retry_timer_
swri_route_util::RoutePtr route_preview_
ros::Publisher route_pub_
std::string route_topic_
int selected_point_
Ui::plan_route_config ui_
std::vector< geometry_msgs::Posewaypoints_

Detailed Description

Definition at line 61 of file plan_route_plugin.h.


Constructor & Destructor Documentation

Definition at line 65 of file plan_route_plugin.cpp.

Definition at line 93 of file plan_route_plugin.cpp.


Member Function Documentation

void mapviz_plugins::PlanRoutePlugin::Clear ( ) [protected, slot]

Definition at line 159 of file plan_route_plugin.cpp.

void mapviz_plugins::PlanRoutePlugin::Draw ( double  x,
double  y,
double  scale 
) [virtual]

Implements mapviz::MapvizPlugin.

Definition at line 359 of file plan_route_plugin.cpp.

bool mapviz_plugins::PlanRoutePlugin::eventFilter ( QObject *  object,
QEvent *  event 
) [protected]

Definition at line 198 of file plan_route_plugin.cpp.

QWidget * mapviz_plugins::PlanRoutePlugin::GetConfigWidget ( QWidget *  parent) [virtual]

Reimplemented from mapviz::MapvizPlugin.

Definition at line 180 of file plan_route_plugin.cpp.

bool mapviz_plugins::PlanRoutePlugin::handleMouseMove ( QMouseEvent *  event) [protected]

Definition at line 334 of file plan_route_plugin.cpp.

bool mapviz_plugins::PlanRoutePlugin::handleMousePress ( QMouseEvent *  event) [protected]

Definition at line 213 of file plan_route_plugin.cpp.

bool mapviz_plugins::PlanRoutePlugin::handleMouseRelease ( QMouseEvent *  event) [protected]

Definition at line 279 of file plan_route_plugin.cpp.

bool mapviz_plugins::PlanRoutePlugin::Initialize ( QGLWidget *  canvas) [virtual]

Implements mapviz::MapvizPlugin.

Definition at line 187 of file plan_route_plugin.cpp.

void mapviz_plugins::PlanRoutePlugin::LoadConfig ( const YAML::Node &  node,
const std::string &  path 
) [virtual]

Implements mapviz::MapvizPlugin.

Definition at line 433 of file plan_route_plugin.cpp.

void mapviz_plugins::PlanRoutePlugin::Paint ( QPainter *  painter,
double  x,
double  y,
double  scale 
) [virtual]

Reimplemented from mapviz::MapvizPlugin.

Definition at line 407 of file plan_route_plugin.cpp.

void mapviz_plugins::PlanRoutePlugin::PlanRoute ( ) [protected, slot]

Definition at line 116 of file plan_route_plugin.cpp.

void mapviz_plugins::PlanRoutePlugin::PrintError ( const std::string &  message) [protected, virtual]

Implements mapviz::MapvizPlugin.

Definition at line 165 of file plan_route_plugin.cpp.

void mapviz_plugins::PlanRoutePlugin::PrintInfo ( const std::string &  message) [protected, virtual]

Implements mapviz::MapvizPlugin.

Definition at line 170 of file plan_route_plugin.cpp.

void mapviz_plugins::PlanRoutePlugin::PrintWarning ( const std::string &  message) [protected, virtual]

Implements mapviz::MapvizPlugin.

Definition at line 175 of file plan_route_plugin.cpp.

Definition at line 101 of file plan_route_plugin.cpp.

Definition at line 154 of file plan_route_plugin.cpp.

void mapviz_plugins::PlanRoutePlugin::SaveConfig ( YAML::Emitter &  emitter,
const std::string &  path 
) [virtual]

Implements mapviz::MapvizPlugin.

Definition at line 463 of file plan_route_plugin.cpp.

void mapviz_plugins::PlanRoutePlugin::Shutdown ( ) [inline, virtual]

Implements mapviz::MapvizPlugin.

Definition at line 71 of file plan_route_plugin.h.

Reimplemented from mapviz::MapvizPlugin.

Definition at line 85 of file plan_route_plugin.h.

void mapviz_plugins::PlanRoutePlugin::Transform ( ) [inline, virtual]

Implements mapviz::MapvizPlugin.

Definition at line 78 of file plan_route_plugin.h.


Member Data Documentation

Definition at line 108 of file plan_route_plugin.h.

Definition at line 116 of file plan_route_plugin.h.

Definition at line 122 of file plan_route_plugin.h.

Definition at line 109 of file plan_route_plugin.h.

Definition at line 127 of file plan_route_plugin.h.

Definition at line 126 of file plan_route_plugin.h.

Definition at line 123 of file plan_route_plugin.h.

Definition at line 124 of file plan_route_plugin.h.

Definition at line 114 of file plan_route_plugin.h.

Definition at line 117 of file plan_route_plugin.h.

Definition at line 113 of file plan_route_plugin.h.

Definition at line 111 of file plan_route_plugin.h.

Definition at line 121 of file plan_route_plugin.h.

Ui::plan_route_config mapviz_plugins::PlanRoutePlugin::ui_ [private]

Definition at line 107 of file plan_route_plugin.h.

Definition at line 119 of file plan_route_plugin.h.


The documentation for this class was generated from the following files:


mapviz_plugins
Author(s): Marc Alban
autogenerated on Thu Jun 6 2019 18:51:07