Open Inventor Reference
SoComposeRotationFromTo Class Reference

Composes a rotation that rotates from one vector into another. More...

#include <Inventor/engines/SoCompose.h>

Inheritance diagram for SoComposeRotationFromTo:
SoEngine SoFieldContainer SoBase

List of all members.

Public Attributes

Inputs
SoMFVec3f from
 Vector before the rotation.
SoMFVec3f to
 Vector after the rotation.
Outputs
SoEngineOutput rotation
 A rotation that transforms one vector into another.

Detailed Description

This engine takes two inputs, representing a vector before and after a rotation has been applied. As output, it produces the rotation value that would cause the first vector to transform into the other.

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
ComposeRotationFromTo {
  from 0 0 1
  to 0 0 1
}
See Also
SoComposeRotation, SoDecomposeRotationFromTo, SoEngineOutput

Definition at line 514 of file SoCompose.h.


Member Data Documentation


The documentation for this class was generated from the following file: