vmtksurfacearrayoperation
Description
perform an operation between arrays of two surfaces and store result in the first surface
Input arguments
Argument | Variable | Type | Length | Range | Default | Description |
id | Id | str | 1 | | 0 | script id |
handle | Self | self | 1 | | | handle to self |
disabled | Disabled | bool | 1 | | 0 | disable execution and piping |
i | Surface | vtkPolyData | 1 | | | the input surface |
ifile | SurfaceInputFileName | str | 1 | | | filename for the default Surface reader |
i2 | Surface2 | vtkPolyData | 1 | | | the second input surface |
i2file | Surface2InputFileName | str | 1 | | | filename for the default Surface2 reader |
operation | Operation | str | 1 | ["multiplybyc","addc","add","subtract","multiply","min","max"] | add | the operation to be performed on the array; multiplybyc and addc only require the first input Surface to be specified |
constant | Constant | float | 1 | | 0.0 | the value of the constant for multiplybyc and addc |
iarray | InputArrayName | str | 1 | | None | the name of the array on the first surface |
i2array | Input2ArrayName | str | 1 | | None | the name of the array on the second surface; if unspecified, InputArrayName is used |
resultarray | ResultArrayName | str | 1 | | Result | the name of the array where the result of the operation is stored |
ofile | SurfaceOutputFileName | str | 1 | | | filename for the default Surface writer |
Output arguments
Argument | Variable | Type | Length | Range | Default | Description |
id | Id | str | 1 | | 0 | script id |
handle | Self | self | 1 | | | handle to self |
o | Surface | vtkPolyData | 1 | | | the output surface |