manipulatedFrame.h
235 void setSpinningQuaternion(const Quaternion& spinningQuaternion) { spinningQuaternion_ = spinningQuaternion; }
287 Quaternion deformedBallQuaternion(int x, int y, float cx, float cy, const Camera* const camera);
292 virtual void startAction(int ma, bool withConstraint=true); // int is really a QGLViewer::MouseAction
Definition: camera.h:29
A ManipulatedFrame is a Frame that can be rotated and translated using the mouse. ...
Definition: manipulatedFrame.h:95
bool isSpinning() const
Returns true when the ManipulatedFrame is spinning.
Definition: manipulatedFrame.h:222
MouseAction
Defines the possible actions that can be binded to a mouse action (a click, followed by a mouse displ...
Definition: qglviewer.h:969
Quaternion spinningQuaternion() const
Returns the incremental rotation that is applied by spin() to the ManipulatedFrame orientation when i...
Definition: manipulatedFrame.h:231
float wheelSensitivity() const
Returns the mouse wheel sensitivity.
Definition: manipulatedFrame.h:209
Abstract class for objects that grab mouse focus in a QGLViewer.
Definition: mouseGrabber.h:130
float rotationSensitivity() const
Returns the influence of a mouse displacement on the ManipulatedFrame rotation.
Definition: manipulatedFrame.h:161
void setSpinningSensitivity(float sensitivity)
Defines the spinningSensitivity(), in pixels per milliseconds.
Definition: manipulatedFrame.h:146
void setRotationSensitivity(float sensitivity)
Defines the rotationSensitivity().
Definition: manipulatedFrame.h:142
void setWheelSensitivity(float sensitivity)
Defines the wheelSensitivity().
Definition: manipulatedFrame.h:148
float translationSensitivity() const
Returns the influence of a mouse displacement on the ManipulatedFrame translation.
Definition: manipulatedFrame.h:180
QGLViewer::MouseAction currentMouseAction() const
Returns the MouseAction currently applied to this ManipulatedFrame.
Definition: manipulatedFrame.h:268
void setSpinningQuaternion(const Quaternion &spinningQuaternion)
Defines the spinningQuaternion().
Definition: manipulatedFrame.h:235
void setZoomSensitivity(float sensitivity)
Defines the zoomSensitivity().
Definition: manipulatedFrame.h:150
The Quaternion class represents 3D rotations and orientations.
Definition: quaternion.h:66
virtual void stopSpinning()
Stops the spinning motion started using startSpinning().
Definition: manipulatedFrame.h:239
The Frame class represents a coordinate system, defined by a position and an orientation.
Definition: frame.h:121
void setTranslationSensitivity(float sensitivity)
Defines the translationSensitivity().
Definition: manipulatedFrame.h:144
float spinningSensitivity() const
Returns the minimum mouse speed required (at button release) to make the ManipulatedFrame spin()...
Definition: manipulatedFrame.h:192