#include <measuring_plugin.h>
|
void | DistanceCalculation () |
|
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) |
|
| MeasuringPlugin () |
|
void | Paint (QPainter *painter, double x, double y, double scale) |
|
void | PrintError (const std::string &message) |
|
void | PrintInfo (const std::string &message) |
|
void | PrintWarning (const std::string &message) |
|
void | SaveConfig (YAML::Emitter &emitter, const std::string &path) |
|
void | Shutdown () |
|
bool | SupportsPainting () |
|
void | Transform () |
|
virtual | ~MeasuringPlugin () |
|
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 46 of file measuring_plugin.h.
◆ MeasuringPlugin()
mapviz_plugins::MeasuringPlugin::MeasuringPlugin |
( |
| ) |
|
◆ ~MeasuringPlugin()
mapviz_plugins::MeasuringPlugin::~MeasuringPlugin |
( |
| ) |
|
|
virtual |
◆ AlphaChanged()
void mapviz_plugins::MeasuringPlugin::AlphaChanged |
( |
double |
| ) |
|
|
inlineprotected |
◆ BkgndColorToggled
void mapviz_plugins::MeasuringPlugin::BkgndColorToggled |
( |
bool |
| ) |
|
|
inlineprotectedslot |
◆ Clear
void mapviz_plugins::MeasuringPlugin::Clear |
( |
| ) |
|
|
protectedslot |
◆ DistanceCalculation()
void mapviz_plugins::MeasuringPlugin::DistanceCalculation |
( |
| ) |
|
◆ Draw()
void mapviz_plugins::MeasuringPlugin::Draw |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
scale |
|
) |
| |
|
virtual |
◆ eventFilter()
bool mapviz_plugins::MeasuringPlugin::eventFilter |
( |
QObject * |
object, |
|
|
QEvent * |
event |
|
) |
| |
|
protected |
◆ FontSizeChanged()
void mapviz_plugins::MeasuringPlugin::FontSizeChanged |
( |
int |
| ) |
|
|
inlineprotected |
◆ GetConfigWidget()
QWidget * mapviz_plugins::MeasuringPlugin::GetConfigWidget |
( |
QWidget * |
parent | ) |
|
|
virtual |
◆ handleMouseMove()
bool mapviz_plugins::MeasuringPlugin::handleMouseMove |
( |
QMouseEvent * |
event | ) |
|
|
protected |
◆ handleMousePress()
bool mapviz_plugins::MeasuringPlugin::handleMousePress |
( |
QMouseEvent * |
event | ) |
|
|
protected |
◆ handleMouseRelease()
bool mapviz_plugins::MeasuringPlugin::handleMouseRelease |
( |
QMouseEvent * |
event | ) |
|
|
protected |
◆ Initialize()
bool mapviz_plugins::MeasuringPlugin::Initialize |
( |
QGLWidget * |
canvas | ) |
|
|
virtual |
◆ LoadConfig()
void mapviz_plugins::MeasuringPlugin::LoadConfig |
( |
const YAML::Node & |
node, |
|
|
const std::string & |
path |
|
) |
| |
|
virtual |
◆ MeasurementsToggled()
void mapviz_plugins::MeasuringPlugin::MeasurementsToggled |
( |
bool |
| ) |
|
|
inlineprotected |
◆ Paint()
void mapviz_plugins::MeasuringPlugin::Paint |
( |
QPainter * |
painter, |
|
|
double |
x, |
|
|
double |
y, |
|
|
double |
scale |
|
) |
| |
|
virtual |
◆ PrintError()
void mapviz_plugins::MeasuringPlugin::PrintError |
( |
const std::string & |
message | ) |
|
|
virtual |
◆ PrintInfo()
void mapviz_plugins::MeasuringPlugin::PrintInfo |
( |
const std::string & |
message | ) |
|
|
virtual |
◆ PrintWarning()
void mapviz_plugins::MeasuringPlugin::PrintWarning |
( |
const std::string & |
message | ) |
|
|
virtual |
◆ SaveConfig()
void mapviz_plugins::MeasuringPlugin::SaveConfig |
( |
YAML::Emitter & |
emitter, |
|
|
const std::string & |
path |
|
) |
| |
|
virtual |
◆ Shutdown()
void mapviz_plugins::MeasuringPlugin::Shutdown |
( |
| ) |
|
|
inlinevirtual |
◆ SupportsPainting()
bool mapviz_plugins::MeasuringPlugin::SupportsPainting |
( |
| ) |
|
|
inlinevirtual |
◆ Transform()
void mapviz_plugins::MeasuringPlugin::Transform |
( |
| ) |
|
|
inlinevirtual |
◆ config_widget_
QWidget* mapviz_plugins::MeasuringPlugin::config_widget_ |
|
private |
◆ is_mouse_down_
bool mapviz_plugins::MeasuringPlugin::is_mouse_down_ |
|
private |
◆ last_position_
tf::Vector3 mapviz_plugins::MeasuringPlugin::last_position_ |
|
private |
◆ map_canvas_
◆ max_distance_
qreal mapviz_plugins::MeasuringPlugin::max_distance_ |
|
private |
◆ max_ms_
qint64 mapviz_plugins::MeasuringPlugin::max_ms_ |
|
private |
◆ measurements_
std::vector<double> mapviz_plugins::MeasuringPlugin::measurements_ |
|
private |
◆ mouse_down_pos_
QPointF mapviz_plugins::MeasuringPlugin::mouse_down_pos_ |
|
private |
◆ mouse_down_time_
qint64 mapviz_plugins::MeasuringPlugin::mouse_down_time_ |
|
private |
◆ selected_point_
int mapviz_plugins::MeasuringPlugin::selected_point_ |
|
private |
◆ transformed_vertices_
std::vector<tf::Vector3> mapviz_plugins::MeasuringPlugin::transformed_vertices_ |
|
private |
◆ ui_
Ui::measuring_config mapviz_plugins::MeasuringPlugin::ui_ |
|
private |
◆ vertices_
std::vector<tf::Vector3> mapviz_plugins::MeasuringPlugin::vertices_ |
|
private |
The documentation for this class was generated from the following files: