27 #ifndef MODELVIEWGADGETWIDGET_H_
28 #define MODELVIEWGADGETWIDGET_H_
33 #include "glc_lib/glc_factory.h"
34 #include "glc_lib/viewport/glc_viewport.h"
35 #include "glc_lib/viewport/glc_movercontroller.h"
36 #include "glc_lib/shading/glc_light.h"
37 #include "glc_lib/sceneGraph/glc_world.h"
38 #include "glc_lib/glc_exception.h"
41 #include "attitudeactual.h"
60 void resizeGL(
int width,
int height);
65 void mousePressEvent(QMouseEvent *
e);
66 void mouseMoveEvent(QMouseEvent *e);
67 void mouseReleaseEvent(QMouseEvent *e);
68 void wheelEvent(QWheelEvent *e);
69 void keyPressEvent(QKeyEvent *e);
75 void updateAttitude();
78 GLC_Factory *m_pFactory;
81 GLC_Viewport m_GlView;
82 GLC_MoverController m_MoverController;
83 GLC_BoundingBox m_ModelBoundingBox;
91 static const QString fallbackAcFilename;
92 static const QString fallbackBgFilename;
94 AttitudeActual *attState;
ModelViewGadgetWidget(QWidget *parent=nullptr)
void setAcFilename(QString acf)
void setBgFilename(QString bgf)
void updateAttitude(int value)
void setVboEnable(bool eVbo)