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 OffsetXChanged (double value)
void OffsetYChanged (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_
double offset_x_
double offset_y_
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 54 of file robot_image_plugin.cpp.

Definition at line 89 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 194 of file robot_image_plugin.cpp.

Definition at line 119 of file robot_image_plugin.cpp.

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

Reimplemented from mapviz::MapvizPlugin.

Definition at line 180 of file robot_image_plugin.cpp.

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

Definition at line 137 of file robot_image_plugin.cpp.

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

Implements mapviz::MapvizPlugin.

Definition at line 187 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 294 of file robot_image_plugin.cpp.

Definition at line 237 of file robot_image_plugin.cpp.

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

Definition at line 143 of file robot_image_plugin.cpp.

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

Definition at line 149 of file robot_image_plugin.cpp.

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

Implements mapviz::MapvizPlugin.

Definition at line 165 of file robot_image_plugin.cpp.

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

Implements mapviz::MapvizPlugin.

Definition at line 170 of file robot_image_plugin.cpp.

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

Implements mapviz::MapvizPlugin.

Definition at line 175 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 93 of file robot_image_plugin.cpp.

Definition at line 109 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 218 of file robot_image_plugin.cpp.

Definition at line 155 of file robot_image_plugin.cpp.

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

Definition at line 131 of file robot_image_plugin.cpp.


Member Data Documentation

Definition at line 108 of file robot_image_plugin.h.

Definition at line 113 of file robot_image_plugin.h.

Definition at line 109 of file robot_image_plugin.h.

Definition at line 114 of file robot_image_plugin.h.

Definition at line 91 of file robot_image_plugin.h.

Definition at line 100 of file robot_image_plugin.h.

Definition at line 98 of file robot_image_plugin.h.

Definition at line 94 of file robot_image_plugin.h.

Definition at line 99 of file robot_image_plugin.h.

Definition at line 95 of file robot_image_plugin.h.

Definition at line 96 of file robot_image_plugin.h.

Definition at line 101 of file robot_image_plugin.h.

Definition at line 102 of file robot_image_plugin.h.

Definition at line 106 of file robot_image_plugin.h.

Definition at line 111 of file robot_image_plugin.h.

Definition at line 107 of file robot_image_plugin.h.

Definition at line 112 of file robot_image_plugin.h.

Definition at line 104 of file robot_image_plugin.h.

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

Definition at line 90 of file robot_image_plugin.h.

Definition at line 93 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 Jun 6 2019 18:51:07