Purpose

The PolarVectorScaling module allows for sense- and meaningful scaling of quaternion vectors for translation, rotation, scale and stretch.

Usage

Connect vectors for translation, rotation, scale and stretch, apply scale factors and if no auto update is checked, press update.

Windows

Default Panel

../../../Projects/MLAffineMatrix/Modules/mhelp/Images/Screenshots/PolarVectorScaling._default.png

Parameter Fields

Visible Fields

Update

name: update, type: Trigger

Initiates update of all output field values.

Clear

name: clear, type: Trigger

Clears all output field values to a clean initial state.

On Input Change Behavior

name: onInputChangeBehavior, type: Enum, default: Clear, deprecated name: shouldUpdateAutomatically,shouldAutoUpdate

Declares how the module should react if a value of an input field changes.

Values:

Title Name Deprecated Name
Update Update TRUE
Clear Clear FALSE

Status Code

name: statusCode, type: Enum, persistent: no

Reflects module’s status (successful or failed computations) as one of some predefined enumeration values.

Values:

Title Name
Ok Ok
Invalid input object Invalid input object
Invalid input parameter Invalid input parameter
Internal error Internal error

Status Message

name: statusMessage, type: String, persistent: no

Gives additional, detailed information about status code as human-readable message.

Has Valid Output

name: hasValidOutput, type: Bool, persistent: no

Indicates validity of output field values (success of computation).

[]

name: updateDone, type: Trigger, persistent: no

Notifies that an update was performed (Check status interface fields to identify success or failure).

Translation (inTranslation)

name: inTranslation, type: Vector4, default: 0 0 0 1

Quaternion vector representing the translation component.

Rotation (inRotation)

name: inRotation, type: Vector4, default: 0 0 0 1

Quaternion vector representing the rotation component.

Scale (inScale)

name: inScale, type: Vector4, default: 1 1 1 1

Quaternion vector representing the scale component.

Stretch (inStretch)

name: inStretch, type: Vector4, default: 0 0 0 1

Quaternion vector representing the stretch component.

Scaling Factor for Translation

name: inScalingFactorTranslation, type: Double, default: 1

Scale factor for scaling the translation component.

Scaling Factor for Rotation

name: inScalingFactorRotation, type: Double, default: 1

Scale factor for scaling the rotation component.

Scaling Factor for Scale

name: inScalingFactorScale, type: Double, default: 1

Scale factor for scaling the scale component.

Scaling Factor for Stretch

name: inScalingFactorStretch, type: Double, default: 1

Scale factor for scaling the stretch component.

Translation (outTranslation)

name: outTranslation, type: Vector4, persistent: no

Quaternion vector representing the translation component.

Rotation (outRotation)

name: outRotation, type: Vector4, persistent: no

Quaternion vector representing the rotation component.

Scale (outScale)

name: outScale, type: Vector4, persistent: no

Quaternion vector representing the scale component.

Stretch (outStretch)

name: outStretch, type: Vector4, persistent: no

Quaternion vector representing the stretch component.