fawkes::CairoRobotDrawer Class Reference

Robot drawing interface. More...

#include <gui_utils/robot/drawer.h>

Inheritance diagram for fawkes::CairoRobotDrawer:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void draw_robot (Glib::RefPtr< Gdk::Window > &window, Cairo::RefPtr< Cairo::Context > &cr)=0
 Draw robot.

Detailed Description

Robot drawing interface.

This interface provides a generic way to draw robots in different applications.

Author:
Tim Niemueller

Definition at line 34 of file drawer.h.


Member Function Documentation

void fawkes::CairoRobotDrawer::draw_robot ( Glib::RefPtr< Gdk::Window > &  window,
Cairo::RefPtr< Cairo::Context > &  cr 
) [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.

Parameters:
window Gdk window the Cairo context is associated to
cr Cairo context

Implemented in fawkes::AllemaniACsAtHomeCairoRobotDrawer.

Referenced by LaserDrawingArea::on_expose_event().


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

Generated on 1 Mar 2011 for Fawkes API by  doxygen 1.6.1