VMTKBRANCHGEOMETRY(1)

πŸ“¦ version 1.5.0, in ubuntu stonking

✨ NAME ✨

vmtkbranchgeometry β€” the vmtk script that's literally just called vmtkbranchgeometry, bestie, no cap πŸ’…


πŸ’– DESCRIPTION πŸ’–

Automatic piping, vmtkbranchgeometry, parsing options, vmtkbranchgeometry β€” that's the whole intro, we move fast here πŸƒβ€β™€οΈπŸ’¨

So like, vmtkbranchgeometry computes geometric parameters for every branch of a tree. It takes as input the centerlines that have already been split into branches, okay? So do that first, don't come at me 😭

πŸŽ€ Input arguments πŸŽ€

  • -id Id (str,1); default=0 β€” the script id, just the little name tag for this run 🏷️
  • -handle Self (self,1) β€” handle to self, it's giving main character energy fr
  • -disabled Disabled (bool,1); default=0 β€” set this to disable execution and piping. It's the "not me today" switch πŸ™ˆ
  • -i Centerlines (vtkPolyData,1) β€” the input split centerlines, the actual star of the show πŸ‘‘
  • -ifile CenterlinesInputFileName (str,1) β€” filename for the default Centerlines reader
  • -radiusarray RadiusArrayName (str,1); default=MaximumInscribedSphereRadius β€” name of the array where centerline radius values are stored
  • -groupidsarray GroupIdsArrayName (str,1); default=GroupIds β€” name of the array where centerline group ids are stored
  • -blankingarray BlankingArrayName (str,1); default=Blanking β€” name of the array where blanking information about branches is stored
  • -lengtharray LengthArrayName (str,1); default=Length β€” name of the array where the average length of each branch has to be stored
  • -curvaturearray CurvatureArrayName (str,1); default=Curvature β€” name of the array where the average curvature of each branch has to be stored
  • -torsionarray TorsionArrayName (str,1); default=Torsion β€” name of the array where the average torsion of each branch has to be stored
  • -tortuosityarray TortuosityArrayName (str,1); default=Tortuosity β€” name of the array where the average tortuosity of each branch has to be stored, and tortuosity is defined as the length of a line divided by the distance of its endpoints ✨
  • -smoothing LineSmoothing (bool,1); default=0 β€” smoothing on/off, lowkey just a toggle
  • -iterations NumberOfSmoothingIterations (int,1) >= 0; default=100 β€” how many smoothing iterations, and it has to be >= 0
  • -factor SmoothingFactor (float,1) >= 0.0; default=0.1 β€” the smoothing factor, and it has to be >= 0.0
  • -ofile GeometryDataOutputFileName (str,1) β€” filename for the default GeometryData writer

🌸 Output arguments 🌸

  • -id Id (str,1); default=0 β€” the script id again, iconic honestly
  • -handle Self (self,1) β€” handle to self, yes again, it lives here too πŸ’–
  • -o GeometryData (vtkPolyData,1) β€” the output data set, the whole point of the mission πŸ¦‹
  • -lengtharray LengthArrayName (str,1); default=Length β€” name of the array where the average length of each branch is stored
  • -curvaturearray CurvatureArrayName (str,1); default=Curvature β€” name of the array where the average curvature of each branch is stored
  • -torsionarray TorsionArrayName (str,1); default=Torsion β€” name of the array where the average torsion of each branch is stored
  • -tortuosityarray TortuosityArrayName (str,1); default=Tortuosity β€” name of the array where the average tortuosity of each branch is stored, and out here tortuosity is defined as the length of a line divided by the distance of its endpoints minus one (L/D - 1). Note it's minus one on the output side and no minus one on the input side β€” she contains multitudes, don't @ me 😭✨

🫢 okay that's literally the whole page, you ate this, go compute some branch geometry and slay πŸ’…

vmtkbranchgeometry 1.5 β€” April 2026 version, mwah, stan forever, bye bestie πŸŒˆπŸ’œ

πŸ“¦ where this page comes from