SoComposeRotationFromTo Class Reference
[Engines]

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

#include <Inventor/engines/SoCompose.h>

Inheritance diagram for SoComposeRotationFromTo:
SoEngine SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 SoComposeRotationFromTo ()

Static Public Member Functions

static SoType getClassTypeId ()

Public Attributes

SoMFVec3f from
SoMFVec3f to
SoEngineOutput rotation

Detailed Description

Composes a rotation that rotates from one vector into another.

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

SEE ALSO

SoComposeRotation, SoDecomposeRotation, SoEngineOutput


Constructor & Destructor Documentation

SoComposeRotationFromTo::SoComposeRotationFromTo (  ) 

Default Constructor.


Member Function Documentation

static SoType SoComposeRotationFromTo::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoEngine.

virtual SoType SoComposeRotationFromTo::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Implements SoTypedObject.


Member Data Documentation

Vector before the rotation.

( SoMFRotation ) A rotation that transforms one vector into another.

Vector after the rotation.


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

Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/