Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

Viewer.h

Go to the documentation of this file.
00001 #ifndef VIEWER_H
00002 #define VIEWER_H
00003 
00004 #include <QGLViewer/qglviewer.h>
00005 #include "SimpleAnimationScene.h"
00006 
00007 class Viewer : public QGLViewer
00008 {
00009 public:
00010   Viewer(const char *file);
00011   ~Viewer();
00012   
00013 protected :
00014   void loadFile();
00015   void keyPressEvent(QKeyEvent *e);
00016   void init();
00017   void animate();
00018   void draw();
00019   void about();
00020   QString helpString() const;
00021   void help() const;
00022   
00023 private:
00024   X3DTK::SimpleAnimationScene scene;
00025   X3DTK::BBox BB;
00026   char *x3dfile;
00027 };
00028 
00029 #endif

Generated on Thu Jun 3 10:12:09 2004 for X3DToolKit by doxygen 1.3.6