| 1 |
NAME SoComposeRotation SoCmpsRot "" { |
| 2 |
composes a rotation from axis and angle values |
| 3 |
} |
| 4 |
|
| 5 |
DESC { |
| 6 |
This engine has two inputs, representing an \vaxis\. of rotation |
| 7 |
and a rotation \vangle\. in radians. As output, the engine composes the |
| 8 |
inputs into a rotation field. |
| 9 |
\p |
| 10 |
The input fields can have multiple values, allowing the engine to |
| 11 |
compose several rotations in parallel. |
| 12 |
Some inputs may have more values than others. In such cases, |
| 13 |
the last value of the shorter inputs will be repeated as necessary. |
| 14 |
} |
| 15 |
|
| 16 |
INCLUDE engines/SoCompose.h |
| 17 |
|
| 18 |
INPUT axis { Axis of rotation. } |
| 19 |
INPUT angle { Angle of rotation. } |
| 20 |
|
| 21 |
OUTPUT rotation { Rotation field, defined by the inputs. } |
| 22 |
|
| 23 |
METHOD Create SoComposeRotation() { Constructor } |
| 24 |
|
| 25 |
ALSO { SoComposeRotationFromTo, SoDecomposeRotation, SoEngineOutput } |