VMTKSURFACEARRAYOPERATION(1)
โจ NAME โจ
okay so vmtksurfacearrayoperation โ it's a vmtk script, bestie, and its whole name is literally vmtksurfacearrayoperation ๐ that's the manual page we're on, no cap.
๐ฆ DESCRIPTION ๐ฆ
So here's the tea โ: vmtksurfacearrayoperation does automatic piping and parsing options โ that's the auto-generated blurb it ships with, and yes it says vmtksurfacearrayoperation about itself twice because it's that kind of main character ๐.
What it actually does: it performs an operation between arrays of two surfaces, and then stores the result in the first surface. two surfaces, one array math moment, result goes home with the first one ๐ โจ
๐ Input arguments
-idId (str,1) โ default0: the script id ๐-handleSelf (self,1): handle to self, it's giving self-referential ๐ซถ-disabledDisabled (bool,1) โ default0: turn this on and execution and piping get disabled, like a little pause button โธ๏ธ-iSurface (vtkPolyData,1): the input surface, your first baddie ๐ธ-ifileSurfaceInputFileName (str,1): filename for the default Surface reader ๐-i2Surface2 (vtkPolyData,1): the second input surface, the duo completes ๐ฏ-i2fileSurface2InputFileName (str,1): filename for the default Surface2 reader ๐-operationOperation (str,1) in['multiplybyc', 'addc', 'add', 'subtract', 'multiply', 'min', 'max']โ defaultadd: the operation to be performed on the array ๐งฎ and heads up,multiplybycandaddconly require the first input Surface to be specified (the second one can just chill) โจ-constantConstant (float,1) โ default0.0: the value of the constant formultiplybycandaddc๐ข-iarrayInputArrayName (str,1) โ defaultNone: the name of the array on the first surface ๐ท๏ธ-i2arrayInput2ArrayName (str,1) โ defaultNone: the name of the array on the second surface; and if you don't specify it,InputArrayNamegets used instead, so it's very "same energy" of it ๐-resultarrayResultArrayName (str,1) โ defaultResult: the name of the array where the result of the operation is stored ๐พ-ofileSurfaceOutputFileName (str,1): filename for the default Surface writer โ๏ธ
๐ Output arguments
-idId (str,1) โ default0: the script id ๐ (yes, she's listed again, she contains multitudes)-handleSelf (self,1): handle to self ๐ซถ (also back for round two)-oSurface (vtkPolyData,1): the output surface โ the final look, the glow up, the result of all that array math ๐ ๐ฅ
lowkey important reminder bestie:multiplybycandaddcare the easy ones โ they only need the first input Surface. everything else wants both surfaces present, fr fr ๐ซก
and that's the whole page, you ate it ๐๐
vmtksurfacearrayoperation 1.5 โ dated April 2026 โ and the manual name on that footer line is literally VMTKSURFACEARRAYOPERATION(1) ๐ bye bestie, go slay some arrays โจ๐๐ฆ
๐ฆ where this page comes from
- ubuntu stonking: vmtk 1.5.0+dfsg1-1 ยท BSD-3-Clause
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms