Fawkes API  Fawkes Development Version
fawkes::CairoRobotDrawer Class Reference

Robot drawing interface. More...

#include <>>

Inheritance diagram for fawkes::CairoRobotDrawer:

List of all members.

Public Member Functions

virtual void draw_robot (Glib::RefPtr< Gdk::Window > &window, const 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

Member Function Documentation

void fawkes::CairoRobotDrawer::draw_robot ( Glib::RefPtr< Gdk::Window > &  window,
const 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:
windowGdk window the Cairo context is associated to
crCairo context

Implemented in fawkes::AllemaniACsAtHomeCairoRobotDrawer.


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