vmtksurfaceconnectivity

Description

extract the largest connected region, the closest point-connected region or the scalar-connected region from a surface

Input arguments

ArgumentVariableTypeLengthRangeDefaultDescription
idIdstr10script id
handleSelfself1handle to self
disabledDisabledbool10disable execution and piping
iSurfacevtkPolyData1the input surface
ifileSurfaceInputFileNamestr1filename for the default Surface reader
methodMethodstr1["largest","closest"]largestconnectivity method
closestpointClosestPointfloat3Nonecoordinates of the closest point
rReferenceSurfacevtkPolyData1the reference surface, whose barycenter will be used as closest point for the connectivity filter
rfileReferenceSurfaceInputFileNamestr1filename for the default ReferenceSurface reader
cleanoutputCleanOutputbool10clean the unused points in the output
groupidsarrayGroupIdsArrayNamestr1GroupIdsname of the array containing the connectivity scalar
groupidGroupIdint1-1value of the connectivity scalar
ofileSurfaceOutputFileNamestr1filename for the default Surface writer

Output arguments

ArgumentVariableTypeLengthRangeDefaultDescription
idIdstr10script id
handleSelfself1handle to self
oSurfacevtkPolyData1the output surface