vmtkCenterlinesToNumpy

Description

Takes a VTK centerlines vtkPolyData file and returns a nested python dictionary containing numpyarrays specifying vertex points, associated scalar data, and cell data yielding connectivity

Input arguments

ArgumentVariableTypeLengthRangeDefaultDescription
idIdstr10script id
handleSelfself1handle to self
disabledDisabledbool10disable execution and piping
iCenterlinesvtkPolyData1the input centerlines
ifileCenterlinesInputFileNamestr1filename for the default Centerlines reader
celltopointConvertCellToPointbool10convert cell data to point data
ofileArrayDictOutputFileNamestr1filename for the default ArrayDict writer

Output arguments

ArgumentVariableTypeLengthRangeDefaultDescription
idIdstr10script id
handleSelfself1handle to self
oArrayDictdict1the output dictionary