#include <EnkiViewer.h>
Inheritance diagram for EnkiViewer:
Public Member Functions | |
EnkiViewer (const Enki::World *w, bool recVideo=false, int sideBarWidth=0) | |
Constructor, use world w. | |
virtual | ~EnkiViewer () |
Destructor, do not touch world. | |
Protected Member Functions | |
virtual void | displayViewer (int w, int h) |
Draw everything. | |
virtual void | displayWorld (int x, int y, int w, int h) |
Draw the world content. | |
virtual void | displaySideBar (int x, int y, int w, int h) |
Draw the side bar content, by default do nothing. | |
void | drawIRSensors (int bottom, const Enki::Alice *owner, int which) |
Draw Alice's IR sensors. | |
void | drawCameraRays (int bottom, const Enki::Alice *owner) |
Draw Alice's camera. | |
Protected Attributes | |
const Enki::World * | world |
pointer to world in Enki | |
Ishtar::Variable< double > | scale |
scaling factor of the world (pixel per cm in Enki) | |
int | sideBarWidth |
width of the sidebar (used by subclasses to draw additional informations) |