Inherits qglviewer::AxisPlaneConstraint.
Public Methods | |
| CameraConstraint (const qglviewer::Camera &cam) | |
| virtual | ~CameraConstraint () |
| virtual void | constrainTranslation (qglviewer::Vec &, Frame *const) |
| virtual void | constrainRotation (qglviewer::Quaternion &, Frame *const) |
Public Attributes | |
| const Camera & | camera |
|
|
Translation and Rotation constraints are set to FREE. |
|
|
Virtual empty destructor. |
|
||||||||||||
|
Constrain the rotation Implements qglviewer::AxisPlaneConstraint. |
|
||||||||||||
|
Constrain the translation Implements qglviewer::AxisPlaneConstraint. |
|
|
The camera which frame is used to define the constraints direction, set with the constructor. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002