WorldConstraint Class Reference

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

#include <constraint.h>

Inherits AxisPlaneConstraint.

List of all members.

Public Member Functions

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


Detailed Description

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


Constructor & Destructor Documentation

virtual ~WorldConstraint  )  [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 world 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 world coordinate system.

Implements AxisPlaneConstraint.


Generated on Mon Jun 14 10:10:19 2004 for libQGLViewer by doxygen 1.3.4