vmtkpythonscript

Description

execute a python script contained in a file

Input arguments

ArgumentVariableTypeLengthRangeDefaultDescription
idIdstr10script id
handleSelfself1handle to self
disabledDisabledbool10disable execution and piping
imageImagevtkImageData1the input image
imagefileImageInputFileNamestr1filename for the default Image reader
image2Image2vtkImageData1the second input image
image2fileImage2InputFileNamestr1filename for the default Image2 reader
surfaceSurfacevtkPolyData1the input surface
surfacefileSurfaceInputFileNamestr1filename for the default Surface reader
surface2Surface2vtkPolyData1the second input surface
surface2fileSurface2InputFileNamestr1filename for the default Surface2 reader
meshMeshvtkUnstructuredGrid1the input mesh
meshfileMeshInputFileNamestr1filename for the default Mesh reader
mesh2Mesh2vtkUnstructuredGrid1the second input mesh
mesh2fileMesh2InputFileNamestr1filename for the default Mesh2 reader
scriptfilePythonScriptFileNamestr1the name of the file were the Python script resides
oimagefileImageOutputFileNamestr1filename for the default Image writer
osurfacefileSurfaceOutputFileNamestr1filename for the default Surface writer
omeshfileMeshOutputFileNamestr1filename for the default Mesh writer

Output arguments

ArgumentVariableTypeLengthRangeDefaultDescription
idIdstr10script id
handleSelfself1handle to self
oimageImagevtkImageData1the output image
osurfaceSurfacevtkPolyData1the output surface
omeshMeshvtkUnstructuredGrid1the output mesh