VMTKSURFACEREADER(1)

πŸ“¦ version 1.5.0, in ubuntu stonking

πŸ’– 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:

  • -id Id (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. πŸ’€
  • -handle Self (self,1) β€” a handle to self. No default listed, she just is. 🫢
  • -disabled Disabled (bool,1); default=0 β€” flips execution and piping on and off. Set it and she stops doing the thing. πŸ™ˆ
  • -f Format (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. ⭐
  • -guessformat GuessFormat (bool,1); default=1 β€” guess the file format from the extension. On by default, she's already guessing, she's so smart. 🧚
  • -i Surface (vtkPolyData,1) β€” the input surface. This is the thing. 🌈
  • -ifile InputFileName (str,1) β€” the input file name. Like, which file. πŸ“
  • -ofile SurfaceOutputFileName (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:

  • -id Id (str,1); default=0 β€” script id again, yes, again. Slay. πŸ’…
  • -handle Self (self,1) β€” handle to self, again, because she contains multitudes. 😭
  • -o Surface (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 -id and -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