23 #ifndef QGLVIEWER_MANIPULATED_CAMERA_FRAME_H 24 #define QGLVIEWER_MANIPULATED_CAMERA_FRAME_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(qreal 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();
233 #endif // QGLVIEWER_MANIPULATED_CAMERA_FRAME_H Vec revolveAroundPoint() const
The ManipulatedCameraFrame class represents a ManipulatedFrame with Camera specific mouse bindings...
A ManipulatedFrame is a Frame that can be rotated and translated using the mouse. ...
void setRevolveArountPoint(const Vec &point)
void setRotatesAroundUpVector(bool constrained)
virtual ~ManipulatedCameraFrame()
bool zoomsOnPivotPoint() const
void setPivotPoint(const Vec &point)
bool constrainedRotationIsReversed_
The Vec class represents 3D positions and 3D vectors.
Vec sceneUpVector() const
bool rotatesAroundUpVector() const
A perspective or orthographic camera.
The Quaternion class represents 3D rotations and orientations.
void setFlySpeed(qreal speed)
bool rotatesAroundUpVector_
void setZoomsOnPivotPoint(bool enabled)
void setSceneUpVector(const Vec &up)