Fawkes API
Fawkes Development Version
|
Draw AllemaniACs AtHome robot. More...
#include <>>
Public Member Functions | |
AllemaniACsAtHomeCairoRobotDrawer (bool laser_at_center=false) | |
Constructor. More... | |
virtual void | draw_robot (Glib::RefPtr< Gdk::Window > &window, const Cairo::RefPtr< Cairo::Context > &cr) |
Draw robot. More... | |
Draw AllemaniACs AtHome robot.
Definition at line 31 of file allemaniacs_athome.h.
fawkes::AllemaniACsAtHomeCairoRobotDrawer::AllemaniACsAtHomeCairoRobotDrawer | ( | bool | laser_at_center = false | ) |
Constructor.
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.
|
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.
window | Gdk window the Cairo context is associated to |
cr | Cairo context |
Implements fawkes::CairoRobotDrawer.
Definition at line 43 of file allemaniacs_athome.cpp.