#include <marker_plugin.h>
|
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) |
|
| MarkerPlugin () |
|
void | Paint (QPainter *painter, double x, double y, double scale) |
|
void | SaveConfig (YAML::Emitter &emitter, const std::string &path) |
|
void | Shutdown () |
|
bool | SupportsPainting () |
|
void | Transform () |
|
virtual | ~MarkerPlugin () |
|
virtual void | ClearHistory () |
|
int | DrawOrder () const |
|
void | DrawPlugin (double x, double y, double scale) |
|
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) |
|
std::string | Name () const |
|
void | PaintPlugin (QPainter *painter, double x, double y, double scale) |
|
void | PrintMeasurements () |
|
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) |
|
std::string | Type () const |
|
bool | Visible () const |
|
virtual | ~MapvizPlugin () |
|
Definition at line 74 of file marker_plugin.h.
◆ MarkerPlugin()
mapviz_plugins::MarkerPlugin::MarkerPlugin |
( |
| ) |
|
◆ ~MarkerPlugin()
mapviz_plugins::MarkerPlugin::~MarkerPlugin |
( |
| ) |
|
|
virtual |
◆ ClearHistory
void mapviz_plugins::MarkerPlugin::ClearHistory |
( |
| ) |
|
|
protectedslot |
◆ Draw()
void mapviz_plugins::MarkerPlugin::Draw |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
scale |
|
) |
| |
|
virtual |
◆ GetConfigWidget()
QWidget * mapviz_plugins::MarkerPlugin::GetConfigWidget |
( |
QWidget * |
parent | ) |
|
|
virtual |
◆ handleMarker()
void mapviz_plugins::MarkerPlugin::handleMarker |
( |
const visualization_msgs::Marker & |
marker | ) |
|
|
private |
◆ handleMarkerArray()
void mapviz_plugins::MarkerPlugin::handleMarkerArray |
( |
const visualization_msgs::MarkerArray & |
markers | ) |
|
|
private |
◆ handleMessage()
◆ Initialize()
bool mapviz_plugins::MarkerPlugin::Initialize |
( |
QGLWidget * |
canvas | ) |
|
|
virtual |
◆ LoadConfig()
void mapviz_plugins::MarkerPlugin::LoadConfig |
( |
const YAML::Node & |
node, |
|
|
const std::string & |
path |
|
) |
| |
|
virtual |
◆ Paint()
void mapviz_plugins::MarkerPlugin::Paint |
( |
QPainter * |
painter, |
|
|
double |
x, |
|
|
double |
y, |
|
|
double |
scale |
|
) |
| |
|
virtual |
◆ PrintError()
void mapviz_plugins::MarkerPlugin::PrintError |
( |
const std::string & |
message | ) |
|
|
protectedvirtual |
◆ PrintInfo()
void mapviz_plugins::MarkerPlugin::PrintInfo |
( |
const std::string & |
message | ) |
|
|
protectedvirtual |
◆ PrintWarning()
void mapviz_plugins::MarkerPlugin::PrintWarning |
( |
const std::string & |
message | ) |
|
|
protectedvirtual |
◆ SaveConfig()
void mapviz_plugins::MarkerPlugin::SaveConfig |
( |
YAML::Emitter & |
emitter, |
|
|
const std::string & |
path |
|
) |
| |
|
virtual |
◆ SelectTopic
void mapviz_plugins::MarkerPlugin::SelectTopic |
( |
| ) |
|
|
protectedslot |
◆ Shutdown()
void mapviz_plugins::MarkerPlugin::Shutdown |
( |
| ) |
|
|
inlinevirtual |
◆ SupportsPainting()
bool mapviz_plugins::MarkerPlugin::SupportsPainting |
( |
| ) |
|
|
inlinevirtual |
◆ timerEvent()
void mapviz_plugins::MarkerPlugin::timerEvent |
( |
QTimerEvent * |
event | ) |
|
|
protected |
◆ TopicEdited
void mapviz_plugins::MarkerPlugin::TopicEdited |
( |
| ) |
|
|
protectedslot |
◆ Transform()
void mapviz_plugins::MarkerPlugin::Transform |
( |
| ) |
|
|
virtual |
◆ transformArrow()
Given a MarkerData that represents an arrow and a transform, this function will generate the points involved in drawing the arrow and then transform all of them into the target frame.
- Parameters
-
[in,out] | markerData | A marker that represents an arrow. |
[in] | transform | The tf that should be applied to the arrow's points. |
Definition at line 342 of file marker_plugin.cpp.
◆ config_widget_
QWidget* mapviz_plugins::MarkerPlugin::config_widget_ |
|
private |
◆ connected_
bool mapviz_plugins::MarkerPlugin::connected_ |
|
private |
◆ has_message_
bool mapviz_plugins::MarkerPlugin::has_message_ |
|
private |
◆ marker_sub_
◆ marker_visible_
std::unordered_map<std::string, bool, MarkerNsHash> mapviz_plugins::MarkerPlugin::marker_visible_ |
|
private |
◆ markers_
◆ topic_
std::string mapviz_plugins::MarkerPlugin::topic_ |
|
private |
◆ ui_
Ui::marker_config mapviz_plugins::MarkerPlugin::ui_ |
|
private |
The documentation for this class was generated from the following files: