#include <point_drawing_plugin.h>
Classes | |
struct | StampedPoint |
Public Types | |
enum | DrawStyle { LINES = 0, POINTS, ARROWS } |
Public Member Functions | |
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 135 of file point_drawing_plugin.cpp.
void mapviz_plugins::PointDrawingPlugin::CollectLaps | ( | ) | [virtual] |
Definition at line 183 of file point_drawing_plugin.cpp.
bool mapviz_plugins::PointDrawingPlugin::DrawArrow | ( | const StampedPoint & | point | ) | [virtual] |
Definition at line 250 of file point_drawing_plugin.cpp.
bool mapviz_plugins::PointDrawingPlugin::DrawArrows | ( | ) | [virtual] |
Definition at line 274 of file point_drawing_plugin.cpp.
void mapviz_plugins::PointDrawingPlugin::DrawIcon | ( | ) | [protected, virtual, slot] |
Reimplemented from mapviz::MapvizPlugin.
Definition at line 62 of file point_drawing_plugin.cpp.
bool mapviz_plugins::PointDrawingPlugin::DrawLaps | ( | ) | [virtual] |
Definition at line 376 of file point_drawing_plugin.cpp.
bool mapviz_plugins::PointDrawingPlugin::DrawLapsArrows | ( | ) | [virtual] |
Definition at line 456 of file point_drawing_plugin.cpp.
bool mapviz_plugins::PointDrawingPlugin::DrawLines | ( | ) | [virtual] |
Definition at line 214 of file point_drawing_plugin.cpp.
bool mapviz_plugins::PointDrawingPlugin::DrawPoints | ( | double | scale | ) | [virtual] |
Definition at line 148 of file point_drawing_plugin.cpp.
void mapviz_plugins::PointDrawingPlugin::PositionToleranceChanged | ( | double | value | ) | [protected, virtual, slot] |
Definition at line 130 of file point_drawing_plugin.cpp.
void mapviz_plugins::PointDrawingPlugin::SetArrowSize | ( | int | arrowSize | ) | [protected, virtual, slot] |
Definition at line 102 of file point_drawing_plugin.cpp.
void mapviz_plugins::PointDrawingPlugin::SetColor | ( | const QColor & | color | ) | [protected, virtual, slot] |
Definition at line 293 of file point_drawing_plugin.cpp.
void mapviz_plugins::PointDrawingPlugin::SetDrawStyle | ( | QString | style | ) | [protected, virtual, slot] |
Definition at line 107 of file point_drawing_plugin.cpp.
void mapviz_plugins::PointDrawingPlugin::SetStaticArrowSizes | ( | bool | isChecked | ) | [protected, virtual, slot] |
Definition at line 125 of file point_drawing_plugin.cpp.
void mapviz_plugins::PointDrawingPlugin::Transform | ( | ) | [virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 347 of file point_drawing_plugin.cpp.
bool mapviz_plugins::PointDrawingPlugin::TransformPoint | ( | StampedPoint & | point | ) | [virtual] |
Definition at line 302 of file point_drawing_plugin.cpp.
void mapviz_plugins::PointDrawingPlugin::UpdateColor | ( | QColor | base_color, |
int | i | ||
) | [virtual] |
Definition at line 442 of file point_drawing_plugin.cpp.
int mapviz_plugins::PointDrawingPlugin::arrow_size_ [protected] |
Definition at line 104 of file point_drawing_plugin.h.
Definition at line 121 of file point_drawing_plugin.h.
int mapviz_plugins::PointDrawingPlugin::buffer_holder_ [protected] |
Definition at line 114 of file point_drawing_plugin.h.
int mapviz_plugins::PointDrawingPlugin::buffer_size_ [protected] |
Definition at line 109 of file point_drawing_plugin.h.
QColor mapviz_plugins::PointDrawingPlugin::color_ [protected] |
Definition at line 112 of file point_drawing_plugin.h.
bool mapviz_plugins::PointDrawingPlugin::covariance_checked_ [protected] |
Definition at line 110 of file point_drawing_plugin.h.
Definition at line 106 of file point_drawing_plugin.h.
Definition at line 105 of file point_drawing_plugin.h.
bool mapviz_plugins::PointDrawingPlugin::got_begin_ [private] |
Definition at line 120 of file point_drawing_plugin.h.
bool mapviz_plugins::PointDrawingPlugin::lap_checked_ [protected] |
Definition at line 113 of file point_drawing_plugin.h.
std::vector<std::list<StampedPoint> > mapviz_plugins::PointDrawingPlugin::laps_ [private] |
Definition at line 119 of file point_drawing_plugin.h.
bool mapviz_plugins::PointDrawingPlugin::new_lap_ [protected] |
Definition at line 111 of file point_drawing_plugin.h.
std::list<StampedPoint> mapviz_plugins::PointDrawingPlugin::points_ [protected] |
Definition at line 107 of file point_drawing_plugin.h.
double mapviz_plugins::PointDrawingPlugin::position_tolerance_ [protected] |
Definition at line 108 of file point_drawing_plugin.h.
double mapviz_plugins::PointDrawingPlugin::scale_ [protected] |
Definition at line 115 of file point_drawing_plugin.h.
bool mapviz_plugins::PointDrawingPlugin::static_arrow_sizes_ [protected] |
Definition at line 116 of file point_drawing_plugin.h.