23 #ifndef QGLVIEWER_MANIPULATED_CAMERA_FRAME_H
24 #define QGLVIEWER_MANIPULATED_CAMERA_FRAME_H
26 #include "manipulatedFrame.h"
51 friend class ::QGLViewer;
80 Vec revolveAroundPoint()
const { qWarning(
"revolveAroundPoint() is deprecated, use pivotPoint() instead");
return pivotPoint(); }
81 void setRevolveArountPoint(
const Vec& point) { qWarning(
"setRevolveAroundPoint() is deprecated, use setPivotPoint() instead"); setPivotPoint(point); }
128 void zoom(
float delta,
const Camera *
const camera);
174 Vec flyUpVector()
const;
175 void setFlyUpVector(
const Vec& up);
182 virtual void mouseReleaseEvent(QMouseEvent*
const event,
Camera*
const camera);
183 virtual void mouseMoveEvent (QMouseEvent*
const event,
Camera*
const camera);
184 virtual void wheelEvent (QWheelEvent*
const event,
Camera*
const camera);
196 virtual QDomElement domElement(
const QString& name, QDomDocument& document)
const;
198 virtual void initFromDOMElement(
const QDomElement& element);
203 virtual void startAction(
int ma,
bool withConstraint=
true);
207 virtual void flyUpdate();
210 void updateSceneUpVector();
221 bool rotatesAroundUpVector_;
224 bool constrainedRotationIsReversed_;
226 bool zoomsOnPivotPoint_;
233 #endif // QGLVIEWER_MANIPULATED_CAMERA_FRAME_H