VMTKSURFACEREGIONDRAWING(1)
π 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 πΈ
-idId (str,1) β default=0: the script id. it's just the id, girl.-handleSelf (self,1) β a handle to self. self-care, but as a parameter. πͺ-disabledDisabled (bool,1) β default=0: when you flip this on, execution and piping get disabled. it's the "not today" switch. π-iSurface (vtkPolyData,1) β the input surface. the canvas. the moment. π¨-ifileSurfaceInputFileName (str,1) β filename for the default Surface reader, aka where the surface comes from when you're not passing one in directly.-binaryBinary (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". π₯-insideInsideValue (float,1) β default=0.0: the value that fills the surface within the contour. β¨-outsideOutsideValue (float,1) β default=1.0: the value that fills the surface outside the contour. the other side of the line, fr fr.-arrayContourScalarsArrayName (str,1) β default=ContourScalars: the name of the array where the generated scalars get stored. name your child, basically. π-renderervmtkRenderer (vmtkRenderer,1) β an external renderer. bring your own, bestie.-ofileSurfaceOutputFileName (str,1) β filename for the default Surface writer. where it all gets written down. π
π Output arguments π
-idId (str,1) β default=0: script id, again. she's back. π-handleSelf (self,1) β handle to self, also back.-oSurface (vtkPolyData,1) β the output surface. the finished lewk. β¨π¦
ngl,-idand-handlereally 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
- 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