Fawkes API  Fawkes Development Version
fawkes::CairoRobotDrawer Class Referenceabstract

Robot drawing interface. More...

#include <>>

Inheritance diagram for fawkes::CairoRobotDrawer:

Public Member Functions

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

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

◆ draw_robot()

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.

Referenced by LaserDrawingArea::on_expose_event().


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