constraint.h
133 virtual void constrainTranslation(Vec& translation, Frame* const frame) { Q_UNUSED(translation); Q_UNUSED(frame); }
142 virtual void constrainRotation(Quaternion& rotation, Frame* const frame) { Q_UNUSED(rotation); Q_UNUSED(frame); }
212 virtual void constrainTranslation(Vec& translation, Frame* const frame) { Q_UNUSED(translation); Q_UNUSED(frame); };
244 virtual void constrainRotation(Quaternion& rotation, Frame* const frame) { Q_UNUSED(rotation); Q_UNUSED(frame); };
virtual void constrainRotation(Quaternion &rotation, Frame *const frame)
Overloading of Constraint::constrainRotation().
Definition: constraint.h:244
virtual void constrainTranslation(Vec &translation, Frame *const frame)
Overloading of Constraint::constrainTranslation().
Definition: constraint.h:212
Definition: camera.h:29
Type translationConstraintType() const
Returns the translation constraint Type().
Definition: constraint.h:228
Type rotationConstraintType() const
Returns the rotation constraint Type().
Definition: constraint.h:251
An abstract class for Frame Constraints defined by an axis or a plane.
Definition: constraint.h:168
An AxisPlaneConstraint defined in the Frame local coordinate system.
Definition: constraint.h:279
void setTranslationConstraintType(Type type)
Sets the Type() of the translationConstraintType().
Definition: constraint.h:216
Vec rotationConstraintDirection() const
Returns the axis direction used by the rotation constraint.
Definition: constraint.h:259
The Quaternion class represents 3D rotations and orientations.
Definition: quaternion.h:66
virtual void constrainRotation(Quaternion &rotation, Frame *const frame)
Filters the rotation applied to the frame.
Definition: constraint.h:142
Vec translationConstraintDirection() const
Returns the direction used by the translation constraint.
Definition: constraint.h:238
The Frame class represents a coordinate system, defined by a position and an orientation.
Definition: frame.h:121
virtual void constrainTranslation(Vec &translation, Frame *const frame)
Filters the translation applied to the frame.
Definition: constraint.h:133
An AxisPlaneConstraint defined in the world coordinate system.
Definition: constraint.h:299
Type
Type lists the different types of translation and rotation constraints that are available.
Definition: constraint.h:207
An AxisPlaneConstraint defined in the camera coordinate system.
Definition: constraint.h:319