VMTKNETWORKEDITOR(1)

πŸ“¦ version 1.5.0, in ubuntu stonking

πŸ’– NAME πŸ’–

vmtknetworkeditor β€” bestie it's the vmtk script, and it extracts an approximated centerline from a surface that has at least one hole in it πŸ’…

(it lives in the User Commands part of the manual, section 1, if you were wondering where to find her ✨)


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so first, the chaotic part: the raw page opens with the lines

Automatic piping vmtknetworkeditor Parsing options vmtknetworkeditor

which is giving "the build system wrote my intro for me" energy 😭 but we move.

The actual job description, no cap:

vmtknetworkeditor : extract an approximated centerline from a surface containing at least one hole

So: surface in β†’ centerline out 🌈 and your surface needs a hole, minimum one, that's the vibe check.


🌸 Input arguments 🌸

these are all the knobs you can turn going in, bestie. types and defaults are exactly as printed, don't let me catch you guessing 🫢

  • -id Id (str,1); default=0 β€” the script id.
  • -handle Self (self,1) β€” handle to self.
  • -disabled Disabled (bool,1); default=0 β€” disables execution and piping. yes it's literally called "disabled", and yes, on by default is off πŸ™ˆ
  • -i Network (vtkPolyData,1) β€” the input network.
  • -ifile NetworkInputFileName (str,1) β€” filename for the default Network reader.
  • -radiusarray RadiusArrayName (str,1); default=Radius
  • -labelsarray LabelsArrayName (str,1); default=Labels
  • -spline SplineInterpolation (bool,1); default=1
  • -activetubes UseActiveTubes (bool,1); default=0
  • -iterations NumberOfIterations (int,1) >= 0; default=100
  • -potentialweight PotentialWeight (float,1) >= 0.0; default=1.0
  • -stiffnessweight StiffnessWeight (float,1) >= 0.0; default=0.0
  • -xplane PlaneWidgetX (vtkImagePlaneWidget,1) β€” the X image plane widget.
  • -yplane PlaneWidgetY (vtkImagePlaneWidget,1) β€” the Y image plane widget.
  • -zplane PlaneWidgetZ (vtkImagePlaneWidget,1) β€” the Z image plane widget.
  • -image Image (vtkImageData,1)
  • -imagefile ImageInputFileName (str,1) β€” filename for the default Image reader.
  • -featureimage FeatureImage (vtkImageData,1)
  • -featureimagefile FeatureImageInputFileName (str,1) β€” filename for the default FeatureImage reader.
  • -renderer vmtkRenderer (vmtkRenderer,1) β€” external renderer.
  • -ofile NetworkOutputFileName (str,1) β€” filename for the default Network writer. (yes she's hanging out here in the input list, iconic placement, we don't question it πŸ’€)
  • -osurfacefile SurfaceOutputFileName (str,1) β€” filename for the default Surface writer.

✨ Output arguments ✨

and these are what you get back πŸŽ€

  • -id Id (str,1); default=0 β€” script id. (listed again down here, she contains multitudes πŸ’–)
  • -handle Self (self,1) β€” handle to self. (also back for round two, queen πŸ’…)
  • -o Network (vtkPolyData,1) β€” the output network.
  • -oradiusarray RadiusArrayName (str,1); default=Radius
  • -osurface Surface (vtkPolyData,1) β€” the output surface.

ngl the important thing is just this: surface with β‰₯1 hole goes in, approximated centerline comes out, and every flag above keeps exactly the type, default and meaning it has up there. no invented options, no skipped options, periodt πŸ’œ

<div style="text-align:center">🌸 πŸ¦‹ πŸŽ€ πŸ¦‹ 🌸</div>

written by the vmtknetworkeditor girlies, version 1.5, dated April 2026 β€” bye bestie, go extract some centerlines, you're gonna slay πŸ‘‘βœ¨

πŸ“¦ where this page comes from