VMTKCENTERLINESECTIONS(1)

πŸ“¦ version 1.5.0, in ubuntu stonking

🌸 NAME 🌸

vmtkcenterlinesections β€” it's a vmtk script, bestie, and this page lives in section 1 of the User Commands manual. That's the whole vibe. πŸ’…


✨ DESCRIPTION ✨

Okay so the page opens with the classic autogenerated incantation β€” Automatic piping vmtkcenterlinesections, Parsing options vmtkcenterlinesections β€” and then it actually spills the tea: β˜•

vmtkcenterlinesections computes geometric properties of sections located along centerlines. The script takes in input the surface and the relative centerlines. Perfection. πŸ¦‹

Real talk before you scroll: -id, -handle, and several of the section-array-name options appear twice on this page β€” once under Input arguments, once under Output arguments. That's not me being messy, that's literally how the original is built. Both lists are below, in full, no skips, no shortcuts. πŸ’–

πŸ“₯ Input arguments πŸ“₯

  • -id Id (str,1); default=0 β€” the script id tag, so the script knows which one it is.
  • -handle Self (self,1) β€” a handle to self. It's giving main character energy, honestly.
  • -disabled Disabled (bool,1); default=0 β€” turn this on and you disable execution and piping. The lights go off, the music stops. πŸ’€
  • -i Surface (vtkPolyData,1) β€” the input surface. The star of the show. 🫢
  • -ifile SurfaceInputFileName (str,1) β€” filename for the default Surface reader.
  • -centerlines Centerlines (vtkPolyData,1) β€” the input centerlines.
  • -centerlinesfile CenterlinesInputFileName (str,1) β€” filename for the default Centerlines reader.
  • -branchsectionarea CenterlineSectionAreaArrayName (str,1); default=CenterlineSectionArea β€” name of the array where the area of bifurcation sections have to be stored.
  • -branchsectionminsize CenterlineSectionMinSizeArrayName (str,1); default=CenterlineSectionMinSize β€” name of the array where the minimum diameter of each section has to be stored.
  • -branchsectionmaxsize CenterlineSectionMaxSizeArrayName (str,1); default=CenterlineSectionMaxSize β€” name of the array where the maximum diameter of each bifurcation sections has to be stored.
  • -centerlinesectionshape CenterlineSectionShapeArrayName (str,1); default=CenterlineSectionShape β€” name of the array where the shape index, i.e. the ratio between minimum and maximum diameter, of each bifurcation section has to be stored. 😌 the ratio, bestie, that's the whole point.
  • -branchsectionclosed CenterlineSectionClosedArrayName (str,1); default=CenterlineSectionClosed β€” name of the array containing 1 if a section is closed and 0 otherwise.
  • -ofile CenterlineSectionsOutputFileName (str,1) β€” filename for the default CenterlineSections writer.
  • -ocenterlinesfile CenterlinesOutputFileName (str,1) β€” filename for the default Centerlines writer.

πŸ“€ Output arguments πŸ“€

Yes, some of these are the exact same flags again. We been knew. Listing them all anyway because nothing gets left out on my watch. πŸ’…

  • -id Id (str,1); default=0 β€” script id.
  • -handle Self (self,1) β€” handle to self.
  • -o CenterlineSections (vtkPolyData,1) β€” the output sections. This is what you came for. πŸ”₯
  • -ocenterlines Centerlines (vtkPolyData,1) β€” the output centerlines.
  • -branchsectionarea CenterlineSectionAreaArrayName (str,1); default=CenterlineSectionArea β€” name of the array where the area of bifurcation sections are stored.
  • -branchsectionminsize CenterlineSectionMinSizeArrayName (str,1); default=CenterlineSectionMinSize β€” name of the array where the minimum diameter of each section are stored.
  • -branchsectionmaxsize CenterlineSectionMaxSizeArrayName (str,1); default=CenterlineSectionMaxSize β€” name of the array where the minimum diameter of each bifurcation sections has to be stored. πŸ‘€ (yes, that's what it says β€” I'm just the messenger, no cap.)
  • -centerlinesectionshape CenterlineSectionShapeArrayName (str,1); default=CenterlineSectionShape β€” name of the array where the shape index, i.e. the ratio between minimum and maximum diameter, of each bifurcation section are stored.
  • -branchsectionclosed CenterlineSectionClosedArrayName (str,1); default=CenterlineSectionClosed β€” name of the array containing 1 if a section is closed and 0 otherwise.

And that's the page! πŸŽ€ This little bundle of joy is vmtkcenterlinesections version 1.5, dated April 2026, and it goes by the very official name VMTKCENTERLINESECTIONS(1). Slay, honestly. Byeeee πŸ’–βœ¨


πŸ“¦ where this page comes from