52 #ifndef ACG_QTEXAMINERVIEWER_HH 53 #define ACG_QTEXAMINERVIEWER_HH 59 #include "QtBaseViewer.hh" 62 #include <QMouseEvent> 63 #include <QWheelEvent> 78 class QtQGLWidget_Internal;
79 class QtSceneGraphWidget;
101 QStatusBar *_statusBar=0,
102 const QGLFormat* _format=0,
104 Options _options=DefaultOptions );
116 double wheelZoomFactor();
117 double wheelZoomFactorShift();
118 void setWheelZoomFactor(
double _factor);
119 void setWheelZoomFactorShift(
double _factor);
122 double wZoomFactorShift_;
127 void slotAnimation();
135 virtual void viewWheelEvent(QWheelEvent* _event)
override;
137 virtual void viewMouseEvent(QMouseEvent* _event)
override;
139 virtual void lightMouseEvent(QMouseEvent* _event)
override;
151 bool mapToSphere(
const QPoint& _p,
Vec3d& _result)
const;
156 bool lastPoint_hitSphere_;
161 Vec3d lastRotationAxis_;
162 double lastRotationAngle_;
172 #endif // ACG_QTEXAMINERWIDGET_HH defined
Inventor-like wheel widget.
Namespace providing different geometric functions concerning angles.