12345678910111213141516171819202122232425262728293031 |
- #ifndef RENDERWIDGET_H
- #define RENDERWIDGET_H
-
- #include <QGLWidget>
-
- class RenderWidget : public QGLWidget
- {
- Q_OBJECT
- public:
- explicit RenderWidget(QWidget *parent = 0);
-
- protected:
- void initializeGL();
- void paintGL();
- void resizeGL(int width, int height);
-
- signals:
-
- public slots:
- void animate();
-
- void drawAxes();
-
- private:
- int angle;
-
- float _fov;
-
- };
-
- #endif // RENDERWIDGET_H
|