vmtksurfaceclipper

Description

interactively clip a surface with a box

Input arguments

ArgumentVariableTypeLengthRangeDefaultDescription
idIdstr10script id
handleSelfself1handle to self
disabledDisabledbool10disable execution and piping
iSurfacevtkPolyData1the input surface
ifileSurfaceInputFileNamestr1filename for the default Surface reader
typeWidgetTypestr1["box","sphere"]boxtype of widget used for clipping
transformTransformvtkTransform1the widget transform, useful in case of piping of multiple clipping scripts
cleanoutputCleanOutputbool11toggle cleaning the unused points
insideoutInsideOutbool10toggle switching output and clipped surfaces
interactiveInteractivebool11toggle clipping with a widget or with a pre-defined scalar field
arrayClipArrayNamestr1Nonename of the array with which to clip in case of non-interactive clipping
valueClipValuefloat10.0scalar value at which to perform clipping in case of non-interactive clipping
renderervmtkRenderervmtkRenderer1external renderer
ofileSurfaceOutputFileNamestr1filename for the default Surface writer
oclippedfileClippedSurfaceOutputFileNamestr1filename for the default ClippedSurface writer
ocutlinesfileCutLinesOutputFileNamestr1filename for the default CutLines writer

Output arguments

ArgumentVariableTypeLengthRangeDefaultDescription
idIdstr10script id
handleSelfself1handle to self
oSurfacevtkPolyData1the output surface
oclippedClippedSurfacevtkPolyData1the clipped surface
ocutlinesCutLinesvtkPolyData1the cutlines
otransformTransformvtkTransform1the output widget transform