vmtksurfaceconnectivity
Description
extract the largest connected region, the closest point-connected region or the scalar-connected region from a surface
Input arguments
| Argument | Variable | Type | Length | Range | Default | Description |
| id | Id | str | 1 | | 0 | script id |
| handle | Self | self | 1 | | | handle to self |
| disabled | Disabled | bool | 1 | | 0 | disable execution and piping |
| i | Surface | vtkPolyData | 1 | | | the input surface |
| ifile | SurfaceInputFileName | str | 1 | | | filename for the default Surface reader |
| method | Method | str | 1 | ["largest","closest"] | largest | connectivity method |
| closestpoint | ClosestPoint | float | 3 | | None | coordinates of the closest point |
| r | ReferenceSurface | vtkPolyData | 1 | | | the reference surface, whose barycenter will be used as closest point for the connectivity filter |
| rfile | ReferenceSurfaceInputFileName | str | 1 | | | filename for the default ReferenceSurface reader |
| cleanoutput | CleanOutput | bool | 1 | | 0 | clean the unused points in the output |
| groupidsarray | GroupIdsArrayName | str | 1 | | GroupIds | name of the array containing the connectivity scalar |
| groupid | GroupId | int | 1 | | -1 | value of the connectivity scalar |
| ofile | SurfaceOutputFileName | str | 1 | | | filename for the default Surface writer |
Output arguments
| Argument | Variable | Type | Length | Range | Default | Description |
| id | Id | str | 1 | | 0 | script id |
| handle | Self | self | 1 | | | handle to self |
| o | Surface | vtkPolyData | 1 | | | the output surface |