director.filterUtils module
Convienence methods on VTK routines only
-
director.filterUtils.
appendPolyData
(polyDataList)[source]
-
director.filterUtils.
cleanPolyData
(polyData)[source]
-
director.filterUtils.
computeCentroid
(polyData)[source]
-
director.filterUtils.
computeDelaunay2D
(polyData)[source]
-
director.filterUtils.
computeDelaunay3D
(polyData)[source]
-
director.filterUtils.
computeNormals
(polyData, featureAngle=45)[source]
-
director.filterUtils.
decimateMesh
(polyData, targetReduction=0.1)[source]
Reduce the number of triangles in the input mesh by targetReduction.
0.1 = 10% reduction (if there was 100 triangles, now there will be 90)
-
director.filterUtils.
flipImage
(image, flipAxis=1)[source]
Flip a vtkImageData using the vtkImageFlip filter.
The flipAxis can be 0 or 1 to flip horizontally or vertically.
-
director.filterUtils.
hasNonFinitePoints
(polyData, arrayName='Points')[source]
-
director.filterUtils.
labelNonFinitePoints
(polyData, arrayName='Points')[source]
adds is_nonfinite label to polyData. non finite includes nan and +/- inf.
-
director.filterUtils.
removeNonFinitePoints
(polyData, arrayName='Points')[source]
-
director.filterUtils.
rotateImage180
(image)[source]
rotates an image by 180 degrees
-
director.filterUtils.
thresholdCells
(polyData, arrayName, thresholdRange, arrayType='cells')[source]
-
director.filterUtils.
thresholdPoints
(polyData, arrayName, thresholdRange)[source]
-
director.filterUtils.
transformPolyData
(polyData, transform)[source]
-
director.filterUtils.
triangulatePolyData
(polyData)[source]