Fawkes API
Fawkes Development Version
|
Robot drawing interface. More...
#include <>>
Public Member Functions | |
virtual void | draw_robot (Glib::RefPtr< Gdk::Window > &window, const Cairo::RefPtr< Cairo::Context > &cr)=0 |
Draw robot. More... | |
Robot drawing interface.
This interface provides a generic way to draw robots in different applications.
|
pure 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 |
Implemented in fawkes::AllemaniACsAtHomeCairoRobotDrawer.
Referenced by LaserDrawingArea::on_expose_event().