#ifndef VIEWER_H #define VIEWER_H #include #include // Class providing an X3D Viewer by using X3DTK::SimpleX3DGLScene /// and deriving QGLViewer. class Viewer : public QGLViewer { protected : void init(); void draw(); void keyPressEvent(QKeyEvent *e); void loadFile(); void about(); QString helpString() const; void help() const; private: X3DTK::SimpleX3DGLScene scene; }; #endif