Class SoComposeRotation

  • All Implemented Interfaces:
    SafeDisposable

    public class SoComposeRotation
    extends SoEngine
    Composes a rotation from axis and angle values. This engine has two inputs, representing an axis of rotation and a rotation angle in radians. As output, the engine composes the inputs into a rotation field.

    The input fields can have multiple values, allowing the engine to compose several rotations in parallel. Some inputs may have more values than others. In such cases, the last value of the shorter inputs will be repeated as necessary.

    File format/default:

    ComposeRotation {

      axis 0 0 1
      angle 0
    }

    See Also:
    SoComposeRotationFromTo, SoDecomposeRotation, SoEngineOutput
    • Constructor Detail

      • SoComposeRotation

        public SoComposeRotation()
        Default Constructor.