Main Page   Namespace List   Class Hierarchy   Compound List   All functions | Search  

LocalConstraint Class Reference

A translation/rotation Constraint defined with respect to the local frame coordinate system. More...

Inherits AxisPlaneConstraint.

List of all members.

Public Member Functions

virtual ~LocalConstraint ()
virtual void constrainTranslation (Vec &, Frame *const)
virtual void constrainRotation (Quaternion &, Frame *const)


Detailed Description

A translation/rotation Constraint defined with respect to the local frame coordinate system.


Constructor & Destructor Documentation

virtual ~LocalConstraint (   )  [inline, virtual]
 

Virtual empty destructor.


Member Function Documentation

void constrainRotation (  Quaternion &  rot,
Frame *  const
)  [virtual]
 

Constrain the rotation trans with a plane or an axis direction defined with respect to the current local coordinate system.

Implements AxisPlaneConstraint.

void constrainTranslation (  Vec &  trans,
Frame *  const
)  [virtual]
 

Constrain the translation trans with a plane or an axis direction defined with respect to the current local coordinate system.

Implements AxisPlaneConstraint.


Generated on Tue Jul 22 12:10:56 2003 for libQGLViewer by doxygen 1.3.1