#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 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 () |
Protected Slots | |
virtual void | BufferSizeChanged (int value) |
virtual void | DrawIcon () |
virtual void | PositionToleranceChanged (double value) |
virtual void | SetArrowSize (int arrowSize) |
virtual void | SetColor (const QColor &color) |
virtual void | SetDrawStyle (QString style) |
virtual void | SetStaticArrowSizes (bool isChecked) |
Protected Attributes | |
int | arrow_size_ |
int | buffer_holder_ |
int | buffer_size_ |
QColor | color_ |
bool | covariance_checked_ |
StampedPoint | cur_point_ |
DrawStyle | draw_style_ |
bool | lap_checked_ |
bool | new_lap_ |
std::list< StampedPoint > | points_ |
double | position_tolerance_ |
double | scale_ |
bool | static_arrow_sizes_ |
Private Attributes | |
tf::Point | begin_ |
bool | got_begin_ |
std::vector< std::list < StampedPoint > > | laps_ |
Definition at line 51 of file point_drawing_plugin.h.
Definition at line 72 of file point_drawing_plugin.h.
Definition at line 47 of file point_drawing_plugin.cpp.
virtual mapviz_plugins::PointDrawingPlugin::~PointDrawingPlugin | ( | ) | [inline, virtual] |
Definition at line 80 of file point_drawing_plugin.h.
void mapviz_plugins::PointDrawingPlugin::BufferSizeChanged | ( | int | value | ) | [protected, virtual, slot] |
Definition at line 140 of file point_drawing_plugin.cpp.
void mapviz_plugins::PointDrawingPlugin::ClearHistory | ( | ) | [virtual] |
Reimplemented from mapviz::MapvizPlugin.
Definition at line 62 of file point_drawing_plugin.cpp.
void mapviz_plugins::PointDrawingPlugin::CollectLaps | ( | ) | [virtual] |
Definition at line 188 of file point_drawing_plugin.cpp.
bool mapviz_plugins::PointDrawingPlugin::DrawArrow | ( | const StampedPoint & | point | ) | [virtual] |
Definition at line 255 of file point_drawing_plugin.cpp.
bool mapviz_plugins::PointDrawingPlugin::DrawArrows | ( | ) | [virtual] |
Definition at line 279 of file point_drawing_plugin.cpp.
void mapviz_plugins::PointDrawingPlugin::DrawIcon | ( | ) | [protected, virtual, slot] |
Reimplemented from mapviz::MapvizPlugin.
Definition at line 67 of file point_drawing_plugin.cpp.
bool mapviz_plugins::PointDrawingPlugin::DrawLaps | ( | ) | [virtual] |
Definition at line 381 of file point_drawing_plugin.cpp.
bool mapviz_plugins::PointDrawingPlugin::DrawLapsArrows | ( | ) | [virtual] |
Definition at line 461 of file point_drawing_plugin.cpp.
bool mapviz_plugins::PointDrawingPlugin::DrawLines | ( | ) | [virtual] |
Definition at line 219 of file point_drawing_plugin.cpp.
bool mapviz_plugins::PointDrawingPlugin::DrawPoints | ( | double | scale | ) | [virtual] |
Definition at line 153 of file point_drawing_plugin.cpp.
void mapviz_plugins::PointDrawingPlugin::PositionToleranceChanged | ( | double | value | ) | [protected, virtual, slot] |
Definition at line 135 of file point_drawing_plugin.cpp.
void mapviz_plugins::PointDrawingPlugin::SetArrowSize | ( | int | arrowSize | ) | [protected, virtual, slot] |
Definition at line 107 of file point_drawing_plugin.cpp.
void mapviz_plugins::PointDrawingPlugin::SetColor | ( | const QColor & | color | ) | [protected, virtual, slot] |
Definition at line 298 of file point_drawing_plugin.cpp.
void mapviz_plugins::PointDrawingPlugin::SetDrawStyle | ( | QString | style | ) | [protected, virtual, slot] |
Definition at line 112 of file point_drawing_plugin.cpp.
void mapviz_plugins::PointDrawingPlugin::SetStaticArrowSizes | ( | bool | isChecked | ) | [protected, virtual, slot] |
Definition at line 130 of file point_drawing_plugin.cpp.
void mapviz_plugins::PointDrawingPlugin::Transform | ( | ) | [virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 352 of file point_drawing_plugin.cpp.
bool mapviz_plugins::PointDrawingPlugin::TransformPoint | ( | StampedPoint & | point | ) | [virtual] |
Definition at line 307 of file point_drawing_plugin.cpp.
void mapviz_plugins::PointDrawingPlugin::UpdateColor | ( | QColor | base_color, |
int | i | ||
) | [virtual] |
Definition at line 447 of file point_drawing_plugin.cpp.
int mapviz_plugins::PointDrawingPlugin::arrow_size_ [protected] |
Definition at line 107 of file point_drawing_plugin.h.
Definition at line 124 of file point_drawing_plugin.h.
int mapviz_plugins::PointDrawingPlugin::buffer_holder_ [protected] |
Definition at line 117 of file point_drawing_plugin.h.
int mapviz_plugins::PointDrawingPlugin::buffer_size_ [protected] |
Definition at line 112 of file point_drawing_plugin.h.
QColor mapviz_plugins::PointDrawingPlugin::color_ [protected] |
Definition at line 115 of file point_drawing_plugin.h.
bool mapviz_plugins::PointDrawingPlugin::covariance_checked_ [protected] |
Definition at line 113 of file point_drawing_plugin.h.
Definition at line 109 of file point_drawing_plugin.h.
Definition at line 108 of file point_drawing_plugin.h.
bool mapviz_plugins::PointDrawingPlugin::got_begin_ [private] |
Definition at line 123 of file point_drawing_plugin.h.
bool mapviz_plugins::PointDrawingPlugin::lap_checked_ [protected] |
Definition at line 116 of file point_drawing_plugin.h.
std::vector<std::list<StampedPoint> > mapviz_plugins::PointDrawingPlugin::laps_ [private] |
Definition at line 122 of file point_drawing_plugin.h.
bool mapviz_plugins::PointDrawingPlugin::new_lap_ [protected] |
Definition at line 114 of file point_drawing_plugin.h.
std::list<StampedPoint> mapviz_plugins::PointDrawingPlugin::points_ [protected] |
Definition at line 110 of file point_drawing_plugin.h.
double mapviz_plugins::PointDrawingPlugin::position_tolerance_ [protected] |
Definition at line 111 of file point_drawing_plugin.h.
double mapviz_plugins::PointDrawingPlugin::scale_ [protected] |
Definition at line 118 of file point_drawing_plugin.h.
bool mapviz_plugins::PointDrawingPlugin::static_arrow_sizes_ [protected] |
Definition at line 119 of file point_drawing_plugin.h.