VMTKNETWORKEDITOR(1)
π 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 π«Ά
-idId (str,1); default=0β the script id.-handleSelf (self,1) β handle to self.-disabledDisabled (bool,1); default=0β disables execution and piping. yes it's literally called "disabled", and yes, on by default is off π-iNetwork (vtkPolyData,1) β the input network.-ifileNetworkInputFileName (str,1) β filename for the default Network reader.-radiusarrayRadiusArrayName (str,1); default=Radius-labelsarrayLabelsArrayName (str,1); default=Labels-splineSplineInterpolation (bool,1); default=1-activetubesUseActiveTubes (bool,1); default=0-iterationsNumberOfIterations (int,1)>= 0; default=100-potentialweightPotentialWeight (float,1)>= 0.0; default=1.0-stiffnessweightStiffnessWeight (float,1)>= 0.0; default=0.0-xplanePlaneWidgetX (vtkImagePlaneWidget,1) β the X image plane widget.-yplanePlaneWidgetY (vtkImagePlaneWidget,1) β the Y image plane widget.-zplanePlaneWidgetZ (vtkImagePlaneWidget,1) β the Z image plane widget.-imageImage (vtkImageData,1)-imagefileImageInputFileName (str,1) β filename for the default Image reader.-featureimageFeatureImage (vtkImageData,1)-featureimagefileFeatureImageInputFileName (str,1) β filename for the default FeatureImage reader.-renderervmtkRenderer (vmtkRenderer,1) β external renderer.-ofileNetworkOutputFileName (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 π)-osurfacefileSurfaceOutputFileName (str,1) β filename for the default Surface writer.
β¨ Output arguments β¨
and these are what you get back π
-idId (str,1); default=0β script id. (listed again down here, she contains multitudes π)-handleSelf (self,1) β handle to self. (also back for round two, queen π )-oNetwork (vtkPolyData,1) β the output network.-oradiusarrayRadiusArrayName (str,1); default=Radius-osurfaceSurface (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
- 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