1 // Computergraphik I
2 // Prof. Dr. Juergen Doellner
3 // Sommersemester 2001
4 //
5 // Rahmenprogramm fuer Aufgabenzettel 8
6
7 #ifndef CGROBOT_H
8 #define CGROBOT_H
9
10 #include "cgapplication.h"
11 #include "node.h"
12 #include "transformation.h"
13
14 class CGRobot : public CGApplication {
15 public:
16 CGRobot();
17
18 virtual void onInit();
19 virtual void onDraw();
20 virtual void onSize(unsigned int newWidth, unsigned int newHeight);
21
22 virtual void onKey(unsigned char key);
23 virtual void onTimer();
24
25 private:
26 Node* rootNode_;
27
28 bool pause_;
29 bool constructed_;
30 bool cameraBezier_;
31
32 Camera* camera_;
33 Rotation* fingerRotation_;
34 Rotation* armRotation_;
35 Color* sensorColor_;
36 };
37
38 #endif // CGROBOT_H
39
40