#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 () |
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, 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) |
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_ |
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::TransformManager | tf_manager_ |
std::string | type_ |
bool | use_latest_transforms_ |
bool | visible_ |
Private Attributes | |
tf::Point | begin_ |
bool | got_begin_ |
std::vector< std::list< StampedPoint > > | laps_ |
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 Member Functions inherited from mapviz::MapvizPlugin | |
virtual bool | Initialize (QGLWidget *canvas)=0 |
MapvizPlugin () | |
Definition at line 51 of file point_drawing_plugin.h.
Enumerator | |
---|---|
LINES | |
POINTS | |
ARROWS |
Definition at line 72 of file point_drawing_plugin.h.
mapviz_plugins::PointDrawingPlugin::PointDrawingPlugin | ( | ) |
Definition at line 47 of file point_drawing_plugin.cpp.
|
inlinevirtual |
Definition at line 80 of file point_drawing_plugin.h.
|
protectedvirtualslot |
Definition at line 140 of file point_drawing_plugin.cpp.
|
virtual |
Reimplemented from mapviz::MapvizPlugin.
Definition at line 62 of file point_drawing_plugin.cpp.
|
virtual |
Definition at line 188 of file point_drawing_plugin.cpp.
|
virtual |
Definition at line 255 of file point_drawing_plugin.cpp.
|
virtual |
Definition at line 279 of file point_drawing_plugin.cpp.
|
protectedvirtualslot |
Definition at line 67 of file point_drawing_plugin.cpp.
|
virtual |
Definition at line 381 of file point_drawing_plugin.cpp.
|
virtual |
Definition at line 461 of file point_drawing_plugin.cpp.
|
virtual |
Definition at line 219 of file point_drawing_plugin.cpp.
|
virtual |
Definition at line 153 of file point_drawing_plugin.cpp.
|
protectedvirtualslot |
Definition at line 135 of file point_drawing_plugin.cpp.
|
protectedvirtualslot |
Definition at line 107 of file point_drawing_plugin.cpp.
|
protectedvirtualslot |
Definition at line 298 of file point_drawing_plugin.cpp.
|
protectedvirtualslot |
Definition at line 112 of file point_drawing_plugin.cpp.
|
protectedvirtualslot |
Definition at line 130 of file point_drawing_plugin.cpp.
|
virtual |
Implements mapviz::MapvizPlugin.
Definition at line 352 of file point_drawing_plugin.cpp.
|
virtual |
Definition at line 307 of file point_drawing_plugin.cpp.
|
virtual |
Definition at line 447 of file point_drawing_plugin.cpp.
|
protected |
Definition at line 107 of file point_drawing_plugin.h.
|
private |
Definition at line 124 of file point_drawing_plugin.h.
|
protected |
Definition at line 117 of file point_drawing_plugin.h.
|
protected |
Definition at line 112 of file point_drawing_plugin.h.
|
protected |
Definition at line 115 of file point_drawing_plugin.h.
|
protected |
Definition at line 113 of file point_drawing_plugin.h.
|
protected |
Definition at line 109 of file point_drawing_plugin.h.
|
protected |
Definition at line 108 of file point_drawing_plugin.h.
|
private |
Definition at line 123 of file point_drawing_plugin.h.
|
protected |
Definition at line 116 of file point_drawing_plugin.h.
|
private |
Definition at line 122 of file point_drawing_plugin.h.
|
protected |
Definition at line 114 of file point_drawing_plugin.h.
|
protected |
Definition at line 110 of file point_drawing_plugin.h.
|
protected |
Definition at line 111 of file point_drawing_plugin.h.
|
protected |
Definition at line 118 of file point_drawing_plugin.h.
|
protected |
Definition at line 119 of file point_drawing_plugin.h.