OverwriteVectorComponent

MacroModule
genre Vector
author MeVis Medical Solutions AG
package MeVisLab/Standard
definition helpers.def
keywords convert

Purpose

The module OverwriteVectorComponent overwrites single components of a 4D vector.

Windows

Default Panel

../../../Modules/Macros/Helpers/mhelp/Images/Screenshots/OverwriteVectorComponent._default.png

Parameter Fields

Field Index

Value (newXValue): String Y: Bool
Value (newYValue): String Z: Bool
Value (newZValue): String  
Value (newDValue): String  
Vector (inVector): Vector4  
Vector (outVector): Vector4  
W: Bool  
X: Bool  

Visible Fields

Vector (inVector)

name: inVector, type: Vector4, default: 1 3 4 2

Sets the input vector.

X

name: overwriteX, type: Bool, default: FALSE

If checked, the x-component of the vector is overwritten.

Value (newXValue)

name: newXValue, type: String, default: 0

Sets the new x-value.

Y

name: overwriteY, type: Bool, default: FALSE

If checked, the y-component of the vector is overwritten.

Value (newYValue)

name: newYValue, type: String, default: 0

Sets the new y-value.

Z

name: overwriteZ, type: Bool, default: FALSE

If checked, the z-component of the vector is overwritten.

Value (newZValue)

name: newZValue, type: String, default: 0

Sets the new z-value.

W

name: overwriteD, type: Bool, default: FALSE

If checked, the w-component of the vector is overwritten.

Value (newDValue)

name: newDValue, type: String, default: 0

Sets the new w-value.

Vector (outVector)

name: outVector, type: Vector4, persistent: no

Shows the resulting output vector.