VMTKCENTERLINESTONUMPY(1)
β¨ NAME β¨
vmtkcenterlinestonumpy β vmtk script vmtkcenterlinestonumpy
π DESCRIPTION π
Automatic piping vmtkCenterlinesToNumpy Parsing options vmtkCenterlinesToNumpy
okay so bestie, vmtkCenterlinesToNumpy ? It literally takes a VTK centerlines vtkPolyData file and returns a nested python dictionary containing numpy arrays specifying vertex points, associated scalar data, and cell data yielding connectivity. that's the whole vibe. π¦
π₯ Input arguments π₯
-idId (str,1); default=0β the script id. just an id, she's simple like that π-handleSelf (self,1) β handle to self. yes queen, hold yourself π«Ά-disabledDisabled (bool,1); default=0β disable execution and piping. turn it on and she's off duty π΄-iCenterlines (vtkPolyData,1) β the input centerlines. the main character of this whole operation π-ifileCenterlinesInputFileName (str,1) β filename for the default Centerlines reader. tell her where to look π-celltopointConvertCellToPoint (bool,1); default=0β convert cell data to point data. glow-up for your data fr fr β¨-ofileArrayDictOutputFileName (str,1) β filename for the default ArrayDict writer. where the dict goes to live πΈ
π€ Output arguments π€
-idId (str,1); default=0β the script id. same id energy, now on the way out π-handleSelf (self,1) β handle to self. still holding, still iconic π«Ά-oArrayDict (dict,1) β the output dictionary. THIS is the moment, the nested python dictionary herself, numpy arrays and all πβ
lowkey important bestie: those default values are written exactly as the page says them βdefault=0for-id,-disabled,-celltopoint, and the second-id. copy them character for character, no cap π
vmtkcenterlinestonumpy 1.5 Β· April 2026 β that's the version and the date, mwah, drink some water and go run your script ππ
π¦ 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