vmtksurfacedistance

Description

compute the pointwise minimum distance of the input surface from a reference surface

Input arguments

ArgumentVariableTypeLengthRangeDefaultDescription
idIdstr10script id
handleSelfself1handle to self
disabledDisabledbool10disable execution and piping
iSurfacevtkPolyData1the input surface
ifileSurfaceInputFileNamestr1filename for the default Surface reader
rReferenceSurfacevtkPolyData1the reference surface
rfileReferenceSurfaceInputFileNamestr1filename for the default ReferenceSurface reader
distancearrayDistanceArrayNamestr1name of the array where the distance of the input surface to the reference surface has to be stored
distancevectorsarrayDistanceVectorsArrayNamestr1name of the array where the distance vectors of the input surface to the reference surface has to be stored
signeddistancearraySignedDistanceArrayNamestr1name of the array where the signed distance of the input surface to the reference surface is stored; distance is positive if distance vector and normal to the reference surface have negative dot product, i.e. if the input surface is outer with respect to the reference surface
flipnormalsFlipNormalsbool10flip normals to the reference surface after computing them
ofileSurfaceOutputFileNamestr1filename for the default Surface writer

Output arguments

ArgumentVariableTypeLengthRangeDefaultDescription
idIdstr10script id
handleSelfself1handle to self
oSurfacevtkPolyData1the output surface