Rotate

DESCRIPTION

This module computes the transformation matrix of a rotation around a center point. The transformation matrix can then be passed to the Transform module which implements the rotation.

INPUTS

WIDGETS

Port: X Center
Type: Slider
The X coordinate of the rotation point.

Port: Y Center
Type: Slider
The Y coordinate of the rotation point.

Port: Z Center
Type: Slider
The Z coordinate of the rotation point.

Port: X rotation
Type: Dial
The rotation angle about the X axis.

Port: Y Rotation
Type: Dial
The rotation angle about the Y axis.

Port: Z Rotation
Type: Dial
The rotation angle about the Z axis.

Port: Units
Type: Option Menu
Menu Item: degrees
Menu Item: radians
Units for the rotation angles.

OUTPUTS

Port: Transform
Type: Lattice
Constraints: 2-D.
1-vector.
float.
uniform.
The transformation matrix for the specified rotation.

PROBLEMS

A malfunction in angles conversion occurs if the unit switch is pressed several times, while rotation values are not modified by the user.

SEE ALSO

TransformGen Transform
[ Documentation Home ]
© The Numerical Algorithms Group Ltd, Oxford UK. 1996