#include <string_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) |
|
void | Paint (QPainter *painter, double x, double y, double scale) |
|
void | SaveConfig (YAML::Emitter &emitter, const std::string &path) |
|
void | Shutdown () |
|
| StringPlugin () |
|
bool | SupportsPainting () |
|
void | Transform () |
|
virtual | ~StringPlugin () |
|
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 | 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 | SetVisible (bool visible) |
|
std::string | Type () const |
|
bool | Visible () const |
|
virtual | ~MapvizPlugin () |
|
Definition at line 58 of file string_plugin.h.
◆ Anchor
Enumerator |
---|
TOP_LEFT | |
TOP_CENTER | |
TOP_RIGHT | |
CENTER_LEFT | |
CENTER | |
CENTER_RIGHT | |
BOTTOM_LEFT | |
BOTTOM_CENTER | |
BOTTOM_RIGHT | |
Definition at line 63 of file string_plugin.h.
◆ Units
◆ StringPlugin()
mapviz_plugins::StringPlugin::StringPlugin |
( |
| ) |
|
◆ ~StringPlugin()
mapviz_plugins::StringPlugin::~StringPlugin |
( |
| ) |
|
|
virtual |
◆ AnchorToString()
◆ Draw()
void mapviz_plugins::StringPlugin::Draw |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
scale |
|
) |
| |
|
virtual |
◆ GetConfigWidget()
QWidget * mapviz_plugins::StringPlugin::GetConfigWidget |
( |
QWidget * |
parent | ) |
|
|
virtual |
◆ Initialize()
bool mapviz_plugins::StringPlugin::Initialize |
( |
QGLWidget * |
canvas | ) |
|
|
virtual |
◆ LoadConfig()
void mapviz_plugins::StringPlugin::LoadConfig |
( |
const YAML::Node & |
node, |
|
|
const std::string & |
path |
|
) |
| |
|
virtual |
◆ Paint()
void mapviz_plugins::StringPlugin::Paint |
( |
QPainter * |
painter, |
|
|
double |
x, |
|
|
double |
y, |
|
|
double |
scale |
|
) |
| |
|
virtual |
◆ PaintText()
void mapviz_plugins::StringPlugin::PaintText |
( |
QPainter * |
painter | ) |
|
|
protected |
◆ PrintError()
void mapviz_plugins::StringPlugin::PrintError |
( |
const std::string & |
message | ) |
|
|
protectedvirtual |
◆ PrintInfo()
void mapviz_plugins::StringPlugin::PrintInfo |
( |
const std::string & |
message | ) |
|
|
protectedvirtual |
◆ PrintWarning()
void mapviz_plugins::StringPlugin::PrintWarning |
( |
const std::string & |
message | ) |
|
|
protectedvirtual |
◆ SaveConfig()
void mapviz_plugins::StringPlugin::SaveConfig |
( |
YAML::Emitter & |
emitter, |
|
|
const std::string & |
path |
|
) |
| |
|
virtual |
◆ SelectColor
void mapviz_plugins::StringPlugin::SelectColor |
( |
| ) |
|
|
protectedslot |
◆ SelectFont
void mapviz_plugins::StringPlugin::SelectFont |
( |
| ) |
|
|
protectedslot |
◆ SelectTopic
void mapviz_plugins::StringPlugin::SelectTopic |
( |
| ) |
|
|
protectedslot |
◆ SetAnchor
void mapviz_plugins::StringPlugin::SetAnchor |
( |
QString |
anchor | ) |
|
|
protectedslot |
◆ SetOffsetX
void mapviz_plugins::StringPlugin::SetOffsetX |
( |
int |
offset | ) |
|
|
protectedslot |
◆ SetOffsetY
void mapviz_plugins::StringPlugin::SetOffsetY |
( |
int |
offset | ) |
|
|
protectedslot |
◆ SetUnits
void mapviz_plugins::StringPlugin::SetUnits |
( |
QString |
units | ) |
|
|
protectedslot |
◆ Shutdown()
void mapviz_plugins::StringPlugin::Shutdown |
( |
| ) |
|
|
inlinevirtual |
◆ stringCallback()
◆ SupportsPainting()
bool mapviz_plugins::StringPlugin::SupportsPainting |
( |
| ) |
|
|
inlinevirtual |
◆ TopicEdited
void mapviz_plugins::StringPlugin::TopicEdited |
( |
| ) |
|
|
protectedslot |
◆ Transform()
void mapviz_plugins::StringPlugin::Transform |
( |
| ) |
|
|
inlinevirtual |
◆ UnitsToString()
◆ anchor_
Anchor mapviz_plugins::StringPlugin::anchor_ |
|
private |
◆ ANCHOR_KEY
const char * mapviz_plugins::StringPlugin::ANCHOR_KEY = "anchor" |
|
staticprivate |
◆ color_
QColor mapviz_plugins::StringPlugin::color_ |
|
private |
◆ COLOR_KEY
const char * mapviz_plugins::StringPlugin::COLOR_KEY = "color" |
|
staticprivate |
◆ config_widget_
QWidget* mapviz_plugins::StringPlugin::config_widget_ |
|
private |
◆ font_
QFont mapviz_plugins::StringPlugin::font_ |
|
private |
◆ FONT_KEY
const char * mapviz_plugins::StringPlugin::FONT_KEY = "font" |
|
staticprivate |
◆ has_message_
bool mapviz_plugins::StringPlugin::has_message_ |
|
private |
◆ has_painted_
bool mapviz_plugins::StringPlugin::has_painted_ |
|
private |
◆ message_
QStaticText mapviz_plugins::StringPlugin::message_ |
|
private |
◆ offset_x_
int mapviz_plugins::StringPlugin::offset_x_ |
|
private |
◆ OFFSET_X_KEY
const char * mapviz_plugins::StringPlugin::OFFSET_X_KEY = "offset_x" |
|
staticprivate |
◆ offset_y_
int mapviz_plugins::StringPlugin::offset_y_ |
|
private |
◆ OFFSET_Y_KEY
const char * mapviz_plugins::StringPlugin::OFFSET_Y_KEY = "offset_y" |
|
staticprivate |
◆ string_sub_
◆ topic_
std::string mapviz_plugins::StringPlugin::topic_ |
|
private |
◆ TOPIC_KEY
const char * mapviz_plugins::StringPlugin::TOPIC_KEY = "topic" |
|
staticprivate |
◆ ui_
Ui::string_config mapviz_plugins::StringPlugin::ui_ |
|
private |
◆ units_
Units mapviz_plugins::StringPlugin::units_ |
|
private |
◆ UNITS_KEY
const char * mapviz_plugins::StringPlugin::UNITS_KEY = "units" |
|
staticprivate |
The documentation for this class was generated from the following files: