VMTKCENTERLIN...SETATTRIBUTES(1)
π 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,-idand-handle Selfshow 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
- 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