Viewer.h

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

Generated on Mon Jul 12 09:40:00 2004 for X3DToolKit by doxygen 1.3.6