vmtkpolyballmodeller

Description

converts a polyball to an image containing the tube function

Input arguments

ArgumentVariableTypeLengthRangeDefaultDescription
idIdstr10script id
handleSelfself1handle to self
disabledDisabledbool10disable execution and piping
iSurfacevtkPolyData1the input surface
ifileSurfaceInputFileNamestr1filename for the default Surface reader
radiusarrayRadiusArrayNamestr1Nonename of the array where radius values are stored
imageImagevtkImageData1the input image to use as a reference
imagefileImageInputFileNamestr1filename for the default Image reader
dimensionsSampleDimensionsint3(0,)[64, 64, 64]dimensions of the output image
boundsModelBoundsfloat6(0.0,)Nonemodel bounds in physical coordinates (if None, they are computed automatically)
negateNegateFunctionbool10produce a function that is negative inside the polyball
ofileImageOutputFileNamestr1filename for the default Image writer

Output arguments

ArgumentVariableTypeLengthRangeDefaultDescription
idIdstr10script id
handleSelfself1handle to self
oImagevtkImageData1the output image