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 "MyMeshData.h"
00006 #include "BasicDrawer.h"
00007 
00008 // Viewer for the meshViewer.
00009 
00010 class Viewer : public QGLViewer
00011 {
00012 public:
00013   Viewer();
00014   
00015 protected :
00016   void loadFile();
00017   void keyPressEvent(QKeyEvent *e);
00018   void init();
00019   void draw();
00020   QString helpString() const;
00021   void help() const;
00022   
00023 private:
00024   X3DTK::MySimplifiedMeshScene scene;
00025   X3DTK::MESH::BasicDrawer drawer;
00026 };
00027 
00028 #endif

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