man SoComposeRotationFromTo () - composes a rotation that rotates from one vector into another

NAME

SoComposeRotationFromTo - composes a rotation that rotates from one vector into another

INHERITS FROM

SoBase > SoFieldContainer > SoEngine > SoComposeRotationFromTo

SYNOPSIS

#include <Inventor/engines/SoCompose.h> Inputs from class SoComposeRotationFromTo: c } c } from

c } c } to Outputs from class SoComposeRotationFromTo: c } c } rotation Methods from class SoComposeRotationFromTo: c } c } SoComposeRotationFromTo() Methods from class SoEngine: c } c } getClassTypeId()

c } c } getOutputs(SoEngineOutputList &list) const

c } c } getOutput(const SbName &outputName) const

c } c } getOutputName(const SoEngineOutput *output, SbName &outputName) const

c } c } copy() const

c } c } getByName(const SbName &name)

c } c } getByName(const SbName &name, SoEngineList &list) Methods from class SoFieldContainer: c } c } setToDefaults()

c } c } hasDefaultValues() const

c } c } fieldsAreEqual(const SoFieldContainer *fc) const

c } c } copyFieldValues(const SoFieldContainer *fc, SbBool copyConnections = FALSE)

c } c } set(const char *fieldDataString)

c } c } get(SbString &fieldDataString)

c } c } getFields(SoFieldList &resultList) const

c } c } getField(const SbName &fieldName) const

c } c } getFieldName(const SoField *field, SbName &fieldName) const

c } c } isNotifyEnabled() const

c } c } enableNotify(SbBool flag) Methods from class SoBase: c } c } ref()

c } c } unref() const

c } c } unrefNoDelete() const

c } c } touch()

c } c } getTypeId() const

c } c } isOfType(SoType type) const

c } c } setName(const SbName &name)

c } c } getName() const

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.

INPUTS

c } c } from

Vector before the rotation. c } c } to

Vector after the rotation.

OUTPUTS

c } c } rotation

A rotation that transforms one vector into another.

METHODS

c } c } SoComposeRotationFromTo()

Constructor

FILE FORMAT/DEFAULTS

ComposeRotationFromTo {
from	0 0 1
to	0 0 1
}

SEE ALSO

SoComposeRotation, SoDecomposeRotationFromTo, SoEngineOutput