#include <point_drawing_plugin.h>

Classes | |
| struct | StampedPoint |
Public Types | |
| enum | DrawStyle { LINES = 0, POINTS, ARROWS } |
Public Member Functions | |
| void | ClearHistory () |
| virtual void | CollectLaps () |
| virtual bool | DrawArrow (const StampedPoint &point) |
| virtual bool | DrawArrows () |
| virtual void | DrawCovariance () |
| virtual bool | DrawLaps () |
| virtual bool | DrawLapsArrows () |
| virtual bool | DrawLines () |
| virtual bool | DrawPoints (double scale) |
| PointDrawingPlugin () | |
| virtual void | Transform () |
| virtual bool | TransformPoint (StampedPoint &point) |
| virtual void | UpdateColor (QColor base_color, int i) |
| virtual | ~PointDrawingPlugin () |
Public Member Functions inherited from mapviz::MapvizPlugin | |
| virtual void | Draw (double x, double y, double scale)=0 |
| int | DrawOrder () const |
| void | DrawPlugin (double x, double y, double scale) |
| virtual QWidget * | GetConfigWidget (QWidget *parent) |
| bool | GetTransform (const ros::Time &stamp, swri_transform_util::Transform &transform, bool use_latest_transforms=true) |
| 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) |
| virtual void | LoadConfig (const YAML::Node &load, const std::string &path)=0 |
| 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) |
| virtual void | PrintError (const std::string &message)=0 |
| virtual void | PrintInfo (const std::string &message)=0 |
| void | PrintMeasurements () |
| virtual void | PrintWarning (const std::string &message)=0 |
| virtual void | SaveConfig (YAML::Emitter &emitter, const std::string &path)=0 |
| 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 | SetUseLatestTransforms (bool value) |
| void | SetVisible (bool visible) |
| virtual void | Shutdown ()=0 |
| std::string | Type () const |
| bool | Visible () const |
| virtual | ~MapvizPlugin () |
Protected Slots | |
| virtual void | BufferSizeChanged (int value) |
| void | ClearPoints () |
| virtual void | CovariancedToggled (bool checked) |
| virtual void | DrawIcon () |
| virtual void | LapToggled (bool checked) |
| virtual void | PositionToleranceChanged (double value) |
| void | ResetTransformedPoints () |
| virtual void | SetArrowSize (int arrowSize) |
| virtual void | SetColor (const QColor &color) |
| virtual void | SetDrawStyle (QString style) |
| virtual void | SetDrawStyle (DrawStyle style) |
| virtual void | SetStaticArrowSizes (bool isChecked) |
| virtual void | ShowAllCovariancesToggled (bool checked) |
Protected Member Functions | |
| double | bufferSize () const |
| const std::deque< StampedPoint > & | points () const |
| double | positionTolerance () const |
| void | pushPoint (StampedPoint point) |
Protected Member Functions inherited from mapviz::MapvizPlugin | |
| virtual bool | Initialize (QGLWidget *canvas)=0 |
| MapvizPlugin () | |
Private Attributes | |
| int | arrow_size_ |
| tf::Point | begin_ |
| int | buffer_holder_ |
| int | buffer_size_ |
| QColor | color_ |
| bool | covariance_checked_ |
| StampedPoint | cur_point_ |
| DrawStyle | draw_style_ |
| bool | got_begin_ |
| bool | lap_checked_ |
| std::vector< std::deque< StampedPoint > > | laps_ |
| bool | new_lap_ |
| std::deque< StampedPoint > | points_ |
| double | position_tolerance_ |
| double | scale_ |
| bool | show_all_covariances_checked_ |
| bool | static_arrow_sizes_ |
Additional Inherited Members | |
Public Slots inherited from mapviz::MapvizPlugin | |
| virtual void | DrawIcon () |
| virtual bool | SupportsPainting () |
Signals inherited from mapviz::MapvizPlugin | |
| void | DrawOrderChanged (int draw_order) |
| void | SizeChanged () |
| void | TargetFrameChanged (const std::string &target_frame) |
| void | UseLatestTransformsChanged (bool use_latest_transforms) |
| void | VisibleChanged (bool visible) |
Static Public Member Functions inherited from mapviz::MapvizPlugin | |
| static void | PrintErrorHelper (QLabel *status_label, const std::string &message, double throttle=0.0) |
| static void | PrintInfoHelper (QLabel *status_label, const std::string &message, double throttle=0.0) |
| static void | PrintWarningHelper (QLabel *status_label, const std::string &message, double throttle=0.0) |
Protected Attributes inherited from mapviz::MapvizPlugin | |
| QGLWidget * | canvas_ |
| int | draw_order_ |
| IconWidget * | icon_ |
| bool | initialized_ |
| std::string | name_ |
| ros::NodeHandle | node_ |
| std::string | source_frame_ |
| std::string | target_frame_ |
| boost::shared_ptr< tf::TransformListener > | tf_ |
| swri_transform_util::TransformManagerPtr | tf_manager_ |
| std::string | type_ |
| bool | use_latest_transforms_ |
| bool | visible_ |
Definition at line 51 of file point_drawing_plugin.h.
| Enumerator | |
|---|---|
| LINES | |
| POINTS | |
| ARROWS | |
Definition at line 74 of file point_drawing_plugin.h.
| mapviz_plugins::PointDrawingPlugin::PointDrawingPlugin | ( | ) |
Definition at line 47 of file point_drawing_plugin.cpp.
|
inlinevirtual |
Definition at line 82 of file point_drawing_plugin.h.
|
protected |
Definition at line 210 of file point_drawing_plugin.cpp.
|
protectedvirtualslot |
Definition at line 232 of file point_drawing_plugin.cpp.
|
virtual |
Reimplemented from mapviz::MapvizPlugin.
Definition at line 67 of file point_drawing_plugin.cpp.
|
protectedslot |
Definition at line 205 of file point_drawing_plugin.cpp.
|
virtual |
Definition at line 284 of file point_drawing_plugin.cpp.
|
protectedvirtualslot |
Definition at line 159 of file point_drawing_plugin.cpp.
|
virtual |
Definition at line 350 of file point_drawing_plugin.cpp.
|
virtual |
Definition at line 374 of file point_drawing_plugin.cpp.
|
virtual |
Definition at line 565 of file point_drawing_plugin.cpp.
|
protectedvirtualslot |
Definition at line 73 of file point_drawing_plugin.cpp.
|
virtual |
Definition at line 489 of file point_drawing_plugin.cpp.
|
virtual |
Definition at line 610 of file point_drawing_plugin.cpp.
|
virtual |
Definition at line 315 of file point_drawing_plugin.cpp.
|
virtual |
Definition at line 245 of file point_drawing_plugin.cpp.
|
protectedvirtualslot |
Definition at line 154 of file point_drawing_plugin.cpp.
|
protected |
Definition at line 227 of file point_drawing_plugin.cpp.
|
protected |
Definition at line 222 of file point_drawing_plugin.cpp.
|
protectedvirtualslot |
Definition at line 149 of file point_drawing_plugin.cpp.
|
protected |
Definition at line 185 of file point_drawing_plugin.cpp.
|
protectedslot |
Definition at line 169 of file point_drawing_plugin.cpp.
|
protectedvirtualslot |
Definition at line 113 of file point_drawing_plugin.cpp.
|
protectedvirtualslot |
Definition at line 392 of file point_drawing_plugin.cpp.
|
protectedvirtualslot |
Definition at line 119 of file point_drawing_plugin.cpp.
|
protectedvirtualslot |
Definition at line 137 of file point_drawing_plugin.cpp.
|
protectedvirtualslot |
Definition at line 143 of file point_drawing_plugin.cpp.
|
protectedvirtualslot |
Definition at line 164 of file point_drawing_plugin.cpp.
|
virtual |
Implements mapviz::MapvizPlugin.
Definition at line 462 of file point_drawing_plugin.cpp.
|
virtual |
Definition at line 401 of file point_drawing_plugin.cpp.
|
virtual |
Definition at line 551 of file point_drawing_plugin.cpp.
|
private |
Definition at line 122 of file point_drawing_plugin.h.
|
private |
Definition at line 140 of file point_drawing_plugin.h.
|
private |
Definition at line 133 of file point_drawing_plugin.h.
|
private |
Definition at line 127 of file point_drawing_plugin.h.
|
private |
Definition at line 131 of file point_drawing_plugin.h.
|
private |
Definition at line 128 of file point_drawing_plugin.h.
|
private |
Definition at line 124 of file point_drawing_plugin.h.
|
private |
Definition at line 123 of file point_drawing_plugin.h.
|
private |
Definition at line 139 of file point_drawing_plugin.h.
|
private |
Definition at line 132 of file point_drawing_plugin.h.
|
private |
Definition at line 138 of file point_drawing_plugin.h.
|
private |
Definition at line 130 of file point_drawing_plugin.h.
|
private |
Definition at line 125 of file point_drawing_plugin.h.
|
private |
Definition at line 126 of file point_drawing_plugin.h.
|
private |
Definition at line 134 of file point_drawing_plugin.h.
|
private |
Definition at line 129 of file point_drawing_plugin.h.
|
private |
Definition at line 135 of file point_drawing_plugin.h.