VMTKSURFACEREGIONDRAWING(1)

πŸ“¦ version 1.5.0, in ubuntu stonking

πŸ’– NAME πŸ’–

vmtksurfaceregiondrawing β€” literally the name, bestie, no notes. It's a vmtk script, and yes it lives in section 1 (User Commands), iykyk. ✨


πŸŽ€ DESCRIPTION πŸŽ€

Okay so here's the vibe: vmtksurfaceregiondrawing does the automatic piping thing, and it parses options. That's it, that's the boilerplate. 🫢

But the actual main character energy? This script draws a closed contour on a surface and generates a distance field on the surface. Iconic. πŸ’…


🌸 Input arguments 🌸

  • -id Id (str,1) β€” default=0: the script id. it's just the id, girl.
  • -handle Self (self,1) β€” a handle to self. self-care, but as a parameter. πŸͺž
  • -disabled Disabled (bool,1) β€” default=0: when you flip this on, execution and piping get disabled. it's the "not today" switch. πŸ’€
  • -i Surface (vtkPolyData,1) β€” the input surface. the canvas. the moment. 🎨
  • -ifile SurfaceInputFileName (str,1) β€” filename for the default Surface reader, aka where the surface comes from when you're not passing one in directly.
  • -binary Binary (bool,1) β€” default=1: fills the contour with the inside value instead of the distance to the contour. so it's giving "filled in" rather than "how far am I from the edge". πŸ”₯
  • -inside InsideValue (float,1) β€” default=0.0: the value that fills the surface within the contour. ✨
  • -outside OutsideValue (float,1) β€” default=1.0: the value that fills the surface outside the contour. the other side of the line, fr fr.
  • -array ContourScalarsArrayName (str,1) β€” default=ContourScalars: the name of the array where the generated scalars get stored. name your child, basically. πŸ’–
  • -renderer vmtkRenderer (vmtkRenderer,1) β€” an external renderer. bring your own, bestie.
  • -ofile SurfaceOutputFileName (str,1) β€” filename for the default Surface writer. where it all gets written down. πŸ“

πŸ‘‘ Output arguments πŸ‘‘

  • -id Id (str,1) β€” default=0: script id, again. she's back. πŸ™ˆ
  • -handle Self (self,1) β€” handle to self, also back.
  • -o Surface (vtkPolyData,1) β€” the output surface. the finished lewk. βœ¨πŸ¦‹

ngl, -id and -handle really said "we're in both lists" and honestly? valid.

That's the whole page, and it's vmtksurfaceregiondrawing 1.5, dated April 2026, from the VMTKSURFACEREGIONDRAWING(1) manual. go slay some contours. πŸ’œπŸŒˆβ­

πŸ“¦ where this page comes from