vmtkNumpyToSurface

Description

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

Input arguments

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

Output arguments

ArgumentVariableTypeLengthRangeDefaultDescription
idIdstr10script id
handleSelfself1handle to self
oSurfacevtkPolyData1the output surface