You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

renderwidget.h 416B

12345678910111213141516171819202122232425262728293031
  1. #ifndef RENDERWIDGET_H
  2. #define RENDERWIDGET_H
  3. #include <QGLWidget>
  4. class RenderWidget : public QGLWidget
  5. {
  6. Q_OBJECT
  7. public:
  8. explicit RenderWidget(QWidget *parent = 0);
  9. protected:
  10. void initializeGL();
  11. void paintGL();
  12. void resizeGL(int width, int height);
  13. signals:
  14. public slots:
  15. void animate();
  16. void drawAxes();
  17. private:
  18. int angle;
  19. float _fov;
  20. };
  21. #endif // RENDERWIDGET_H