|
libQGLViewer Version 2.9.1
|
An AxisPlaneConstraint defined in the world coordinate system. More...
#include <QGLViewer/constraint.h>
Additional Inherited Members | |
Public Types inherited from AxisPlaneConstraint | |
| enum | Type { FREE , AXIS , PLANE , FORBIDDEN } |
An AxisPlaneConstraint defined in the world coordinate system.
The translationConstraintDirection() and rotationConstraintDirection() are expressed in world coordinate system.
See the constrainedFrame and multiView examples for an illustration.
|
virtual |
Virtual destructor. Empty.
|
virtual |
When rotationConstraintType() is AxisPlaneConstraint::AXIS, constrain rotation to be a rotation around an axis whose direction is defined in the world coordinate system by rotationConstraintDirection().
Reimplemented from AxisPlaneConstraint.
Depending on translationConstraintType(), constrain translation to be along an axis or limited to a plane defined in the world coordinate system by translationConstraintDirection().
Reimplemented from AxisPlaneConstraint.