fawkes::AllemaniACsAtHomeCairoRobotDrawer Class Reference
Draw AllemaniACs AtHome robot. More...
#include <gui_utils/robot/allemaniacs_athome.h>
Inheritance diagram for fawkes::AllemaniACsAtHomeCairoRobotDrawer:

Public Member Functions | |
| AllemaniACsAtHomeCairoRobotDrawer (bool laser_at_center=false) | |
| Constructor. | |
| virtual void | draw_robot (Glib::RefPtr< Gdk::Window > &window, Cairo::RefPtr< Cairo::Context > &cr) |
| Draw robot. | |
Detailed Description
Draw AllemaniACs AtHome robot.
Definition at line 31 of file allemaniacs_athome.h.
Constructor & Destructor Documentation
| fawkes::AllemaniACsAtHomeCairoRobotDrawer::AllemaniACsAtHomeCairoRobotDrawer | ( | bool | laser_at_center = false |
) |
Constructor.
- Parameters:
-
laser_at_center if true the laser of the robot will be at (0,0) instead of the real robot center.
Definition at line 37 of file allemaniacs_athome.cpp.
Member Function Documentation
| void fawkes::AllemaniACsAtHomeCairoRobotDrawer::draw_robot | ( | Glib::RefPtr< Gdk::Window > & | window, | |
| Cairo::RefPtr< Cairo::Context > & | cr | |||
| ) | [virtual] |
Draw robot.
This method must be implemented to do the actual drawing. The cairo context can be assumed to be translated so that the robot's center is at (0,0) and all values for coordinates are given in meters.
- Parameters:
-
window Gdk window the Cairo context is associated to cr Cairo context
Implements fawkes::CairoRobotDrawer.
Definition at line 43 of file allemaniacs_athome.cpp.
The documentation for this class was generated from the following files:
- src/libs/gui_utils/robot/allemaniacs_athome.h
- src/libs/gui_utils/robot/allemaniacs_athome.cpp

