Public Member Functions | Protected Slots | Protected Member Functions | Private Member Functions | Private Attributes
mapviz_plugins::RobotImagePlugin Class Reference

#include <robot_image_plugin.h>

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

List of all members.

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)
 RobotImagePlugin ()
void SaveConfig (YAML::Emitter &emitter, const std::string &path)
void Shutdown ()
void Transform ()
virtual ~RobotImagePlugin ()

Protected Slots

void FrameEdited ()
void HeightChanged (double value)
void SelectFile ()
void SelectFrame ()
void WidthChanged (double value)

Protected Member Functions

void PrintError (const std::string &message)
void PrintInfo (const std::string &message)
void PrintWarning (const std::string &message)

Private Member Functions

void LoadImage ()
void UpdateShape ()

Private Attributes

tf::Point bottom_left_
tf::Point bottom_left_transformed_
tf::Point bottom_right_
tf::Point bottom_right_transformed_
QWidget * config_widget_
int dimension_
std::string filename_
double height_
QImage image_
int texture_id_
bool texture_loaded_
tf::Point top_left_
tf::Point top_left_transformed_
tf::Point top_right_
tf::Point top_right_transformed_
bool transformed_
Ui::robot_image_config ui_
double width_

Detailed Description

Definition at line 55 of file robot_image_plugin.h.


Constructor & Destructor Documentation

Definition at line 58 of file robot_image_plugin.cpp.

Definition at line 86 of file robot_image_plugin.cpp.


Member Function Documentation

void mapviz_plugins::RobotImagePlugin::Draw ( double  x,
double  y,
double  scale 
) [virtual]

Implements mapviz::MapvizPlugin.

Definition at line 206 of file robot_image_plugin.cpp.

Definition at line 116 of file robot_image_plugin.cpp.

QWidget * mapviz_plugins::RobotImagePlugin::GetConfigWidget ( QWidget *  parent) [virtual]

Reimplemented from mapviz::MapvizPlugin.

Definition at line 192 of file robot_image_plugin.cpp.

void mapviz_plugins::RobotImagePlugin::HeightChanged ( double  value) [protected, slot]

Definition at line 135 of file robot_image_plugin.cpp.

bool mapviz_plugins::RobotImagePlugin::Initialize ( QGLWidget *  canvas) [virtual]

Implements mapviz::MapvizPlugin.

Definition at line 199 of file robot_image_plugin.cpp.

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

Implements mapviz::MapvizPlugin.

Definition at line 306 of file robot_image_plugin.cpp.

Definition at line 249 of file robot_image_plugin.cpp.

void mapviz_plugins::RobotImagePlugin::PrintError ( const std::string &  message) [protected, virtual]

Implements mapviz::MapvizPlugin.

Definition at line 150 of file robot_image_plugin.cpp.

void mapviz_plugins::RobotImagePlugin::PrintInfo ( const std::string &  message) [protected, virtual]

Implements mapviz::MapvizPlugin.

Definition at line 164 of file robot_image_plugin.cpp.

void mapviz_plugins::RobotImagePlugin::PrintWarning ( const std::string &  message) [protected, virtual]

Implements mapviz::MapvizPlugin.

Definition at line 178 of file robot_image_plugin.cpp.

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

Implements mapviz::MapvizPlugin.

Definition at line 337 of file robot_image_plugin.cpp.

Definition at line 90 of file robot_image_plugin.cpp.

Definition at line 106 of file robot_image_plugin.cpp.

void mapviz_plugins::RobotImagePlugin::Shutdown ( ) [inline, virtual]

Implements mapviz::MapvizPlugin.

Definition at line 64 of file robot_image_plugin.h.

Implements mapviz::MapvizPlugin.

Definition at line 230 of file robot_image_plugin.cpp.

Definition at line 142 of file robot_image_plugin.cpp.

void mapviz_plugins::RobotImagePlugin::WidthChanged ( double  value) [protected, slot]

Definition at line 128 of file robot_image_plugin.cpp.


Member Data Documentation

Definition at line 104 of file robot_image_plugin.h.

Definition at line 109 of file robot_image_plugin.h.

Definition at line 105 of file robot_image_plugin.h.

Definition at line 110 of file robot_image_plugin.h.

Definition at line 89 of file robot_image_plugin.h.

Definition at line 96 of file robot_image_plugin.h.

Definition at line 94 of file robot_image_plugin.h.

Definition at line 92 of file robot_image_plugin.h.

Definition at line 95 of file robot_image_plugin.h.

Definition at line 97 of file robot_image_plugin.h.

Definition at line 98 of file robot_image_plugin.h.

Definition at line 102 of file robot_image_plugin.h.

Definition at line 107 of file robot_image_plugin.h.

Definition at line 103 of file robot_image_plugin.h.

Definition at line 108 of file robot_image_plugin.h.

Definition at line 100 of file robot_image_plugin.h.

Ui::robot_image_config mapviz_plugins::RobotImagePlugin::ui_ [private]

Definition at line 88 of file robot_image_plugin.h.

Definition at line 91 of file robot_image_plugin.h.


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


mapviz_plugins
Author(s): Marc Alban
autogenerated on Thu Aug 24 2017 02:46:09