Fawkes API  Fawkes Development Version
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
fawkes::AllemaniACsAtHomeCairoRobotDrawer Class Reference

Draw AllemaniACs AtHome robot. More...

#include <>>

Inheritance diagram for fawkes::AllemaniACsAtHomeCairoRobotDrawer:

List of all members.

Public Member Functions

 AllemaniACsAtHomeCairoRobotDrawer (bool laser_at_center=false)
 Constructor.
virtual void draw_robot (Glib::RefPtr< Gdk::Window > &window, const Cairo::RefPtr< Cairo::Context > &cr)
 Draw robot.

Detailed Description

Draw AllemaniACs AtHome robot.

Author:
Tim Niemueller

Definition at line 31 of file allemaniacs_athome.h.


Constructor & Destructor Documentation

fawkes::AllemaniACsAtHomeCairoRobotDrawer::AllemaniACsAtHomeCairoRobotDrawer ( bool  laser_at_center = false)

Constructor.

Parameters:
laser_at_centerif 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.


Member Function Documentation

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

Implements fawkes::CairoRobotDrawer.

Definition at line 43 of file allemaniacs_athome.cpp.


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