vmtkNumpyToCenterlines

Description

Takes a nested python dictionary containing numpy arrays specifying vertex points, associated scalar data, and cell data specifying line connectivityand returns a VTK centerlines vtkPolyData file

Input arguments

ArgumentVariableTypeLengthRangeDefaultDescription
idIdstr10script id
handleSelfself1handle to self
disabledDisabledbool10disable execution and piping
iArrayDictdict1the input array dictionary
ifileArrayDictInputFileNamestr1filename for the default ArrayDict reader
ofileCenterlinesOutputFileNamestr1filename for the default Centerlines writer

Output arguments

ArgumentVariableTypeLengthRangeDefaultDescription
idIdstr10script id
handleSelfself1handle to self
oCenterlinesvtkPolyData1the output surface