VMTKCENTERLIN...SETATTRIBUTES(1)

πŸ“¦ version 1.5.0, in ubuntu stonking

πŸ’– NAME πŸ’–

vmtkcenterlineoffsetattributes β€” okay so it's a vmtk script, and it's literally just called vmtkcenterlineoffsetattributes. Say it with me. Slay. ✨


🌸 DESCRIPTION 🌸

Bestie, this one is Automatic piping vmtkcenterlineoffsetattributes and β€” yes β€” Parsing options vmtkcenterlineoffsetattributes. That's the whole vibe up top. πŸ™ˆ

Here's the tea, fr fr: vmtkcenterlineoffsetattributes offsets centerline attributes relative to a bifurcation reference system, and it does it in such a way that:</br>

  • the abscissa of the closest point to the origin is zero, and
  • the centerline normal at that point coincides with the bifurcation reference system normal.

It's giving "line up your centerlines with the bifurcation energy." Periodt. πŸ’…

🫢 Input arguments 🫢

  • -id Id (str,1); default=0 β€” the script id, bestie
  • -handle Self (self,1) β€” handle to self. yes she's holding herself, main character energy πŸ‘‘
  • -disabled Disabled (bool,1); default=0 β€” disables execution and piping, iykyk
  • -i Centerlines (vtkPolyData,1) β€” the input split centerlines 🌈
  • -ifile CenterlinesInputFileName (str,1) β€” filename for the default Centerlines reader
  • -referencesystems ReferenceSystems (vtkPolyData,1) β€” the bifurcation reference systems
  • -referencesystemsfile ReferenceSystemsInputFileName (str,1) β€” filename for the default ReferenceSystems reader
  • -referencegroupid ReferenceGroupId (int,1); default=-1 β€” group id of the reference system to which attributes have to be offset
  • -replaceattributes ReplaceAttributes (bool,1); default=1 β€” overwrite the existing attributes. so bold of her πŸ’€
  • -abscissasarray AbscissasArrayName (str,1); default=Abscissas β€” name of the array where centerline abscissas are stored
  • -normalsarray NormalsArrayName (str,1); default=ParallelTransportNormals β€” name of the array where centerline normals are stored
  • -groupidsarray GroupIdsArrayName (str,1); default=GroupIds β€” name of the array where centerline group ids are stored
  • -centerlineidsarray CenterlineIdsArrayName (str,1); default=CenterlineIds β€” name of the array where centerline ids are stored
  • -referencesystemsnormalarray ReferenceSystemsNormalArrayName (str,1); default=Normal β€” name of the array where reference system normals are stored
  • -offsetabscissasarray OffsetAbscissasArrayName (str,1); default=OffsetAbscissas β€” name of the array where offset centerline abscissas have to be stored if ReplaceAttributes is off ⚠️
  • -offsetnormalsarray OffsetNormalsArrayName (str,1); default=OffsetNormals β€” name of the array where offset centerline normals have to be stored if ReplaceAttributes is off ⚠️
  • -interactive Interactive (bool,1); default=0 β€” that's it, that's the description, she contains multitudes πŸ¦‹
  • -renderer vmtkRenderer (vmtkRenderer,1) β€” external renderer
  • -ofile CenterlinesOutputFileName (str,1) β€” filename for the default Centerlines writer

πŸ‘‘ Output arguments πŸ‘‘

  • -id Id (str,1); default=0 β€” script id again, she said round two πŸ’«
  • -handle Self (self,1) β€” handle to self, still holding herself, still iconic
  • -o Centerlines (vtkPolyData,1) β€” the output centerlines πŸŽ€
  • -referencegroupid ReferenceGroupId (int,1); default=-1 β€” group id of the reference system to which attributes are offset
  • -offsetabscissasarray OffsetAbscissasArrayName (str,1); default=OffsetAbscissas β€” name of the array where offset centerline abscissas are stored if ReplaceAttributes is off
  • -offsetnormalsarray OffsetNormalsArrayName (str,1); default=OffsetNormals β€” name of the array where offset centerline normals are stored if ReplaceAttributes is off
  • -abscissasarray AbscissasArrayName (str,1); default=Abscissas β€” name of the array where centerline abscissas are stored
  • -normalsarray NormalsArrayName (str,1); default=ParallelTransportNormals β€” name of the array where centerline normals are stored
Lowkey note: the input and output lists are basically twins, and yes, -id and -handle Self show up in both. Not me pointing that out. It's real, it's canon, don't @ me. 🫢

And that's the whole page, bestie β€” we ATE. πŸ’…βœ¨ No cap: this is vmtkcenterlineoffsetattributes version 1.5, dated April 2026, from the User Commands manual. Go offset some attributes, you absolute legend. πŸ¦‹πŸ’–πŸŒΈ

πŸ“¦ where this page comes from