Public Member Functions | Protected Slots | Private Attributes | List of all members
mapviz_plugins::PointClickPublisherPlugin Class Reference

#include <point_click_publisher_plugin.h>

Inheritance diagram for mapviz_plugins::PointClickPublisherPlugin:
Inheritance graph
[legend]

Public Member Functions

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)
 
 PointClickPublisherPlugin ()
 
virtual void PrintError (const std::string &message)
 
virtual void PrintInfo (const std::string &message)
 
virtual void PrintWarning (const std::string &message)
 
void SaveConfig (YAML::Emitter &emitter, const std::string &path)
 
virtual void SetNode (const ros::NodeHandle &node)
 
void Shutdown ()
 
void Transform ()
 
virtual ~PointClickPublisherPlugin ()
 
- Public Member Functions inherited from mapviz::MapvizPlugin
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, QGLWidget *canvas)
 
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)
 
void PrintMeasurements ()
 
void SetDrawOrder (int order)
 
void SetIcon (IconWidget *icon)
 
void SetName (const std::string &name)
 
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 ()
 

Protected Slots

void pointClicked (const QPointF &point)
 
void topicChanged (const QString &topic)
 
void updateFrames ()
 

Private Attributes

mapviz::MapCanvascanvas_
 
CanvasClickFilter click_filter_
 
QWidget * config_widget_
 
QTimer frame_timer_
 
ros::Publisher point_publisher_
 
Ui::point_click_publisher_config ui_
 

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
 MapvizPlugin ()
 
- Protected Attributes inherited from mapviz::MapvizPlugin
QGLWidget * canvas_
 
int draw_order_
 
IconWidgeticon_
 
bool initialized_
 
std::string name_
 
ros::NodeHandle node_
 
std::string source_frame_
 
std::string target_frame_
 
boost::shared_ptr< tf::TransformListenertf_
 
swri_transform_util::TransformManager tf_manager_
 
std::string type_
 
bool use_latest_transforms_
 
bool visible_
 

Detailed Description

Definition at line 55 of file point_click_publisher_plugin.h.

Constructor & Destructor Documentation

mapviz_plugins::PointClickPublisherPlugin::PointClickPublisherPlugin ( )

Definition at line 43 of file point_click_publisher_plugin.cpp.

mapviz_plugins::PointClickPublisherPlugin::~PointClickPublisherPlugin ( )
virtual

Definition at line 58 of file point_click_publisher_plugin.cpp.

Member Function Documentation

void mapviz_plugins::PointClickPublisherPlugin::Draw ( double  x,
double  y,
double  scale 
)
virtual

Implements mapviz::MapvizPlugin.

Definition at line 76 of file point_click_publisher_plugin.cpp.

QWidget * mapviz_plugins::PointClickPublisherPlugin::GetConfigWidget ( QWidget *  parent)
virtual

Reimplemented from mapviz::MapvizPlugin.

Definition at line 103 of file point_click_publisher_plugin.cpp.

bool mapviz_plugins::PointClickPublisherPlugin::Initialize ( QGLWidget *  canvas)
virtual

Implements mapviz::MapvizPlugin.

Definition at line 66 of file point_click_publisher_plugin.cpp.

void mapviz_plugins::PointClickPublisherPlugin::LoadConfig ( const YAML::Node &  node,
const std::string &  path 
)
virtual

Implements mapviz::MapvizPlugin.

Definition at line 80 of file point_click_publisher_plugin.cpp.

void mapviz_plugins::PointClickPublisherPlugin::pointClicked ( const QPointF &  point)
protectedslot

Definition at line 111 of file point_click_publisher_plugin.cpp.

void mapviz_plugins::PointClickPublisherPlugin::PrintError ( const std::string &  message)
virtual

Implements mapviz::MapvizPlugin.

Definition at line 159 of file point_click_publisher_plugin.cpp.

void mapviz_plugins::PointClickPublisherPlugin::PrintInfo ( const std::string &  message)
virtual

Implements mapviz::MapvizPlugin.

Definition at line 164 of file point_click_publisher_plugin.cpp.

void mapviz_plugins::PointClickPublisherPlugin::PrintWarning ( const std::string &  message)
virtual

Implements mapviz::MapvizPlugin.

Definition at line 169 of file point_click_publisher_plugin.cpp.

void mapviz_plugins::PointClickPublisherPlugin::SaveConfig ( YAML::Emitter &  emitter,
const std::string &  path 
)
virtual

Implements mapviz::MapvizPlugin.

Definition at line 97 of file point_click_publisher_plugin.cpp.

void mapviz_plugins::PointClickPublisherPlugin::SetNode ( const ros::NodeHandle node)
virtual

Reimplemented from mapviz::MapvizPlugin.

Definition at line 150 of file point_click_publisher_plugin.cpp.

void mapviz_plugins::PointClickPublisherPlugin::Shutdown ( )
inlinevirtual

Implements mapviz::MapvizPlugin.

Definition at line 64 of file point_click_publisher_plugin.h.

void mapviz_plugins::PointClickPublisherPlugin::topicChanged ( const QString &  topic)
protectedslot

Definition at line 175 of file point_click_publisher_plugin.cpp.

void mapviz_plugins::PointClickPublisherPlugin::Transform ( )
inlinevirtual

Implements mapviz::MapvizPlugin.

Definition at line 73 of file point_click_publisher_plugin.h.

void mapviz_plugins::PointClickPublisherPlugin::updateFrames ( )
protectedslot

Definition at line 187 of file point_click_publisher_plugin.cpp.

Member Data Documentation

mapviz::MapCanvas* mapviz_plugins::PointClickPublisherPlugin::canvas_
private

Definition at line 91 of file point_click_publisher_plugin.h.

CanvasClickFilter mapviz_plugins::PointClickPublisherPlugin::click_filter_
private

Definition at line 90 of file point_click_publisher_plugin.h.

QWidget* mapviz_plugins::PointClickPublisherPlugin::config_widget_
private

Definition at line 88 of file point_click_publisher_plugin.h.

QTimer mapviz_plugins::PointClickPublisherPlugin::frame_timer_
private

Definition at line 93 of file point_click_publisher_plugin.h.

ros::Publisher mapviz_plugins::PointClickPublisherPlugin::point_publisher_
private

Definition at line 94 of file point_click_publisher_plugin.h.

Ui::point_click_publisher_config mapviz_plugins::PointClickPublisherPlugin::ui_
private

Definition at line 87 of file point_click_publisher_plugin.h.


The documentation for this class was generated from the following files:


mapviz_plugins
Author(s): Marc Alban
autogenerated on Thu Jun 6 2019 19:25:17