VMTKSURFACEREADER(1)
π NAME π
vmtksurfacereader β it's the vmtk script called vmtksurfacereader, bestie. That's the whole vibe. π¦
β¨ DESCRIPTION β¨
Okay so picture this: automatic piping, the script is literally named vmtksurfacereader, and then it's doing parsing options for vmtksurfacereader. That's the boilerplate, that's what it says, and we're honoring it fr fr. π
Here's the actual tea though π β vmtksurfacereader reads a surface and stores it in a vtkPolyData object. That's it. That's the whole job. It reads the file, it hands you back a vtkPolyData, no cap. π
πΈ Input arguments πΈ
These are the knobs you can turn on the way in, babes:
-idId(str,1); default=0β this is the script id. It shows up in the input list and again in the output list, iconic behavior, she's everywhere. π-handleSelf(self,1)β a handle to self. No default listed, she just is. π«Ά-disabledDisabled(bool,1); default=0β flips execution and piping on and off. Set it and she stops doing the thing. π-fFormat(str,1)β the file format, and it has to be one of these, okay:'vtkxml','vtk','stl','ply','tecplot','wavefront','vtm'. Those are the only seven, don't get creative. β-guessformatGuessFormat(bool,1); default=1β guess the file format from the extension. On by default, she's already guessing, she's so smart. π§-iSurface(vtkPolyData,1)β the input surface. This is the thing. π-ifileInputFileName(str,1)β the input file name. Like, which file. π-ofileSurfaceOutputFileName(str,1)β the filename for the default Surface writer. Where it goes when she writes it back out. π
β¨ Output arguments β¨
And these are what you get on the way out:
-idId(str,1); default=0β script id again, yes, again. Slay. π-handleSelf(self,1)β handle to self, again, because she contains multitudes. π-oSurface(vtkPolyData,1)β the output surface. This is the payoff, the main character, the whole reason we're here. π
Heads up bestie: the input side and the output side both list-idand-handle. That's not me duplicating anything, that's just genuinely how it's written. Noted and preserved. π
That's the page!! Written for version vmtksurfacereader 1.5, dated April 2026 β so when you're reading this in the future, yes, she's still that girl. Bye bestie, go read a surface πβ¨π¦
π¦ 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