diff --git a/src/Python/Annotation/MultiLineText.py b/src/Python/Annotation/MultiLineText.py index da0990d415db54b4e615ca3dfdaea62ab9bbe179..d5e8f7ecd8ab91312df484a6d10e98e6161a035d 100755 --- a/src/Python/Annotation/MultiLineText.py +++ b/src/Python/Annotation/MultiLineText.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Annotation/TextOrigin.py b/src/Python/Annotation/TextOrigin.py index 4d570e35f53d7fa8b78248362bd881acb621517e..0df0c2c280c6aad2abdc2cf1ed1273bfc7211e89 100755 --- a/src/Python/Annotation/TextOrigin.py +++ b/src/Python/Annotation/TextOrigin.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Arrays/GetValues.py b/src/Python/Arrays/GetValues.py index f44d9d4b16527f3e411b3e25f4fb8d5f9b02fe13..5879def9873f50e42aa8b5bde81e546f3c209ea2 100755 --- a/src/Python/Arrays/GetValues.py +++ b/src/Python/Arrays/GetValues.py @@ -1,4 +1,4 @@ -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Arrays/RenameArray.py b/src/Python/Arrays/RenameArray.py index 0c49f15387d30efb8e228f6003b0b064d81af004..6605c76275a0588065681d19e8be6b23deaaf68f 100755 --- a/src/Python/Arrays/RenameArray.py +++ b/src/Python/Arrays/RenameArray.py @@ -1,4 +1,4 @@ -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/CompositeData/CompositePolyDataMapper.py b/src/Python/CompositeData/CompositePolyDataMapper.py index d7d44ee50afafc03a222aa9aa5777ac15260c174..a6f808cc1a7c50b700e7c7070b3bc74f4d2516c0 100755 --- a/src/Python/CompositeData/CompositePolyDataMapper.py +++ b/src/Python/CompositeData/CompositePolyDataMapper.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/CompositeData/MultiBlockDataSet.py b/src/Python/CompositeData/MultiBlockDataSet.py index 90f0fe407137124e71dd0c86b79b648af8b4913e..31ca013ea604faa94227841b1efe0da1a59bebd8 100755 --- a/src/Python/CompositeData/MultiBlockDataSet.py +++ b/src/Python/CompositeData/MultiBlockDataSet.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/CompositeData/OverlappingAMR.py b/src/Python/CompositeData/OverlappingAMR.py index 503a3421a10f49d1cbe2fafcf226570b0585f9f6..42766f45f7000fa4dc77732346adfd54dccdc7dc 100755 --- a/src/Python/CompositeData/OverlappingAMR.py +++ b/src/Python/CompositeData/OverlappingAMR.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def MakeScalars(dims, origin, spacing, scalars): diff --git a/src/Python/DataManipulation/LineOnMesh.py b/src/Python/DataManipulation/LineOnMesh.py index a340abfb030e3f41b97ee177e24c91856e4cbae2..98a177d0f829795d9092ebe1b7dbd06293f3d9ff 100755 --- a/src/Python/DataManipulation/LineOnMesh.py +++ b/src/Python/DataManipulation/LineOnMesh.py @@ -1,7 +1,7 @@ #!/usr/bin/env python import numpy as np -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/DataManipulation/MeshLabelImageColor.py b/src/Python/DataManipulation/MeshLabelImageColor.py index b1c632460ce907aab369d59b6e0eb6f9464f13e1..777ab9c174abcf4d2c514b39e4aca70705594e21 100755 --- a/src/Python/DataManipulation/MeshLabelImageColor.py +++ b/src/Python/DataManipulation/MeshLabelImageColor.py @@ -1,4 +1,4 @@ -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Deprecated/GeometricObjects/ParametricObjects.py b/src/Python/Deprecated/GeometricObjects/ParametricObjects.py index 0a636f03f56f4337d2aa34b47ae1657ea4729d4a..3fd5f0b4b2b86f000af9e45ff1eed987e2ff0c5a 100755 --- a/src/Python/Deprecated/GeometricObjects/ParametricObjects.py +++ b/src/Python/Deprecated/GeometricObjects/ParametricObjects.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Deprecated/GeometricObjects/ParametricObjectsDemo.py b/src/Python/Deprecated/GeometricObjects/ParametricObjectsDemo.py index ded1c3a730d40e2286f9df1f55053a74d8a9d103..6fa31e20531f5af65705b6bf8a4b31fecf8ce519 100755 --- a/src/Python/Deprecated/GeometricObjects/ParametricObjectsDemo.py +++ b/src/Python/Deprecated/GeometricObjects/ParametricObjectsDemo.py @@ -1,7 +1,7 @@ # !/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Deprecated/GeometricObjects/ParametricObjectsDemo2.py b/src/Python/Deprecated/GeometricObjects/ParametricObjectsDemo2.py index 56b1f05d30e1dc24d6bdea88826a76b924141ef4..5fcd6cf38616f32f78653ff68b6e259821691027 100755 --- a/src/Python/Deprecated/GeometricObjects/ParametricObjectsDemo2.py +++ b/src/Python/Deprecated/GeometricObjects/ParametricObjectsDemo2.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Deprecated/Geovis/GeoAssignCoordinates.py b/src/Python/Deprecated/Geovis/GeoAssignCoordinates.py index ccdc8c5c1b33bbff406ae8d959ed25c63bb5f9ca..f6ee7170e5cc1b44b13f08924047cfbd37318725 100755 --- a/src/Python/Deprecated/Geovis/GeoAssignCoordinates.py +++ b/src/Python/Deprecated/Geovis/GeoAssignCoordinates.py @@ -1,6 +1,6 @@ #!/usr/bin/python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Deprecated/Geovis/GeoGraticle.py b/src/Python/Deprecated/Geovis/GeoGraticle.py index 2d35fb083dae810fdf7677d333555bb5d6fdf32b..c9de1a12e8f1073b6704e3fc447d32acc0f946ae 100755 --- a/src/Python/Deprecated/Geovis/GeoGraticle.py +++ b/src/Python/Deprecated/Geovis/GeoGraticle.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/ExplicitStructuredGrid/CreateESGrid.py b/src/Python/ExplicitStructuredGrid/CreateESGrid.py index ffed3bab8aca856a0e3834eeca442bc3d065da26..14c36eac94a2b66d4dde0c296a7b65990b1fc95f 100755 --- a/src/Python/ExplicitStructuredGrid/CreateESGrid.py +++ b/src/Python/ExplicitStructuredGrid/CreateESGrid.py @@ -1,7 +1,7 @@ #!/usr/bin/env python import numpy as np -import vtk +import vtkmodules.all as vtk def create_explicit_structured_grid(dimensions, spacing=(1, 1, 1)): diff --git a/src/Python/ExplicitStructuredGrid/LoadESGrid.py b/src/Python/ExplicitStructuredGrid/LoadESGrid.py index 33761e6f2ce094a88fdbb43eccec19acf6a8ae5e..41c5c0ebf1a992824dcc9281a5bd574ed09b5b00 100755 --- a/src/Python/ExplicitStructuredGrid/LoadESGrid.py +++ b/src/Python/ExplicitStructuredGrid/LoadESGrid.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def get_program_parameters(argv): diff --git a/src/Python/Filtering/AppendFilter.py b/src/Python/Filtering/AppendFilter.py index 9f9268b5d48ffbffbed807315dd89b70d6625186..8d7ce767346f6620efb0a4da4a9cfb22cf1b3133 100755 --- a/src/Python/Filtering/AppendFilter.py +++ b/src/Python/Filtering/AppendFilter.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Filtering/CombinePolyData.py b/src/Python/Filtering/CombinePolyData.py index ce56f4900bd2e9c27056b85f5fb2cd515d436d5d..7d355014be5525adf768f73502245745612f4d21 100755 --- a/src/Python/Filtering/CombinePolyData.py +++ b/src/Python/Filtering/CombinePolyData.py @@ -1,4 +1,4 @@ -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Filtering/ConnectivityFilter.py b/src/Python/Filtering/ConnectivityFilter.py index e71ed2d6894788161d0b60fa21eec4be821465f8..f8679fcbd20fb9dc725e656d6e460c024cbc3026 100755 --- a/src/Python/Filtering/ConnectivityFilter.py +++ b/src/Python/Filtering/ConnectivityFilter.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Filtering/ConstrainedDelaunay2D.py b/src/Python/Filtering/ConstrainedDelaunay2D.py index ac83b1455a3f6f14206639a3e719339723380b27..aed1af74642bf6c96e9dfa7dd4ca7af13e8ac189 100755 --- a/src/Python/Filtering/ConstrainedDelaunay2D.py +++ b/src/Python/Filtering/ConstrainedDelaunay2D.py @@ -1,6 +1,6 @@ #!/usr/bin/python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Filtering/Delaunay2D.py b/src/Python/Filtering/Delaunay2D.py index 9500a36cddc6e2a67fe7ba739b6f3994f88f2812..55fc11a1e410fc1a35d7413e5eea050c1c148be6 100755 --- a/src/Python/Filtering/Delaunay2D.py +++ b/src/Python/Filtering/Delaunay2D.py @@ -1,6 +1,6 @@ #!/usr/bin/python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Filtering/GaussianSplat.py b/src/Python/Filtering/GaussianSplat.py index f286e9a70aa12eacc5d189e3b80eb9a532a79810..4fdfa5eae11b484da5d993ecd98f9fbfd83104a6 100755 --- a/src/Python/Filtering/GaussianSplat.py +++ b/src/Python/Filtering/GaussianSplat.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Filtering/Glyph2D.py b/src/Python/Filtering/Glyph2D.py index 4fcc6c2905ce3f672f5a25e3107193718492c1c7..3e4bdeaf6a85959e22a197860a412cc40943d7be 100755 --- a/src/Python/Filtering/Glyph2D.py +++ b/src/Python/Filtering/Glyph2D.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Filtering/Glyph3D.py b/src/Python/Filtering/Glyph3D.py index 355c9a86edaed00e7a055045eecd115da733ac12..69c0dfe8baefd603e11e575f09da808b23357930 100755 --- a/src/Python/Filtering/Glyph3D.py +++ b/src/Python/Filtering/Glyph3D.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Filtering/IterativeClosestPoints.py b/src/Python/Filtering/IterativeClosestPoints.py index 4c3937574fbff3c7d6345916a457e306b7c38cd3..5e2aa7aa8f1a00539ab738b3f9185944f7f8269d 100755 --- a/src/Python/Filtering/IterativeClosestPoints.py +++ b/src/Python/Filtering/IterativeClosestPoints.py @@ -1,6 +1,6 @@ from __future__ import print_function -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Filtering/PerlinNoise.py b/src/Python/Filtering/PerlinNoise.py index 82ed439cfcac31fed5f89317e23d38a33c429e65..3124217788436d9c9eb03a0e259bf9c4b0114ef9 100755 --- a/src/Python/Filtering/PerlinNoise.py +++ b/src/Python/Filtering/PerlinNoise.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Filtering/TransformPolyData.py b/src/Python/Filtering/TransformPolyData.py index 74b7865ad52c5172ca06ee8f0ef21fb6feedfa5c..4ca3d2ff59ba262fc283f38e17311a69170909f7 100755 --- a/src/Python/Filtering/TransformPolyData.py +++ b/src/Python/Filtering/TransformPolyData.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Filtering/TriangulateTerrainMap.py b/src/Python/Filtering/TriangulateTerrainMap.py index ebfaa6a20c0773dd912d8108c67e125499707705..9b901f9b67a9f89163e52420ff05fdc4acd788be 100755 --- a/src/Python/Filtering/TriangulateTerrainMap.py +++ b/src/Python/Filtering/TriangulateTerrainMap.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Filtering/VertexGlyphFilter.py b/src/Python/Filtering/VertexGlyphFilter.py index 2821ee03dc5e4d0f21ca62caa13c266f9a3f6f50..5d264aee7acc7a32f6c23080e4b8a583cc765d8a 100755 --- a/src/Python/Filtering/VertexGlyphFilter.py +++ b/src/Python/Filtering/VertexGlyphFilter.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Filtering/WarpTo.py b/src/Python/Filtering/WarpTo.py index b909fa95ae9bb84a29810229f321773e92625955..4f77797d92ca85b28f468a542b476e8e6947cdf4 100755 --- a/src/Python/Filtering/WarpTo.py +++ b/src/Python/Filtering/WarpTo.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): colors = vtk.vtkNamedColors() diff --git a/src/Python/GeometricObjects/Arrow.py b/src/Python/GeometricObjects/Arrow.py index 9c9502c305e8223718b0f83ce793694a8d42d76f..3f92c2236ee2dc240f9b834e61770e253fbe1735 100755 --- a/src/Python/GeometricObjects/Arrow.py +++ b/src/Python/GeometricObjects/Arrow.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk # arrow.py adapted from the C++ vtk examples and translated to python. diff --git a/src/Python/GeometricObjects/Axes.py b/src/Python/GeometricObjects/Axes.py index d449ee6c7bf814562552ff467fa47370da13a3b6..36de9cabf2c642c43efd22468d4f48c7a0b61386 100755 --- a/src/Python/GeometricObjects/Axes.py +++ b/src/Python/GeometricObjects/Axes.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/GeometricObjects/Cell3DDemonstration.py b/src/Python/GeometricObjects/Cell3DDemonstration.py index bd7a6e3e5ad873cf700fd6bb4e116821d960fe44..b4c7f49e9f46d5623ad029c6be293fdcd4b4c33f 100755 --- a/src/Python/GeometricObjects/Cell3DDemonstration.py +++ b/src/Python/GeometricObjects/Cell3DDemonstration.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/GeometricObjects/CellTypeSource.py b/src/Python/GeometricObjects/CellTypeSource.py index 6a324d369328672d9ffff0ff78866cb5872ef10c..7bdafba025164455b5637ef78ca055eaa2dbac5f 100755 --- a/src/Python/GeometricObjects/CellTypeSource.py +++ b/src/Python/GeometricObjects/CellTypeSource.py @@ -1,7 +1,7 @@ # !/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/GeometricObjects/Circle.py b/src/Python/GeometricObjects/Circle.py index 4485c7dcb2c5828d139540a748d53ca8b66e00fa..3173c058655d03367ddb947005f4845def2204c3 100755 --- a/src/Python/GeometricObjects/Circle.py +++ b/src/Python/GeometricObjects/Circle.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/GeometricObjects/ColoredLines.py b/src/Python/GeometricObjects/ColoredLines.py index 8cacb03063e1f6c5f3fcc9e830ab7267ffc47c35..b5e10a69039f597d29cc6ba85209914ce86394a5 100755 --- a/src/Python/GeometricObjects/ColoredLines.py +++ b/src/Python/GeometricObjects/ColoredLines.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/GeometricObjects/Cone.py b/src/Python/GeometricObjects/Cone.py index 1747c830eee89dd7cf34c5e4542fa543002a31d2..5fee45b7984c1c1ab58a2bdd2afb7cd4815bd8d8 100755 --- a/src/Python/GeometricObjects/Cone.py +++ b/src/Python/GeometricObjects/Cone.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/GeometricObjects/ConvexPointSet.py b/src/Python/GeometricObjects/ConvexPointSet.py index 25fca4554d049cd9e55a6463a8f5d3df86d70223..5790a4169b7a045a7fc6f0dad8920bc43e2c36ca 100755 --- a/src/Python/GeometricObjects/ConvexPointSet.py +++ b/src/Python/GeometricObjects/ConvexPointSet.py @@ -1,7 +1,7 @@ # !/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/GeometricObjects/Cube.py b/src/Python/GeometricObjects/Cube.py index f7eacce5a30c37b644072cd549c92088df53e65a..864f7895dc39c614cabb82e1b62df8bba33e5098 100755 --- a/src/Python/GeometricObjects/Cube.py +++ b/src/Python/GeometricObjects/Cube.py @@ -12,7 +12,7 @@ If your VTK version is 5.x then remove the line: colors = vtk.vtkNamedColors() """ -import vtk +import vtkmodules.all as vtk def mkVtkIdList(it): diff --git a/src/Python/GeometricObjects/Cube1.py b/src/Python/GeometricObjects/Cube1.py index c51ecfcd81a681dff4de462db9f11bad93a81438..efe11763635175c266a458f3d14215053c54261b 100755 --- a/src/Python/GeometricObjects/Cube1.py +++ b/src/Python/GeometricObjects/Cube1.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/GeometricObjects/Cylinder.py b/src/Python/GeometricObjects/Cylinder.py index df43cde354ac31ce47d71f5ab68a65d3ba7ca2ac..83f75f3d766a14fb60bfe56b1381b7dca681fa48 100755 --- a/src/Python/GeometricObjects/Cylinder.py +++ b/src/Python/GeometricObjects/Cylinder.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/GeometricObjects/CylinderExample.py b/src/Python/GeometricObjects/CylinderExample.py index 6ea167f19b597b5d3483d69852ce5fe2a628a666..65c5eba4b94257555543a78384f2267b769da181 100755 --- a/src/Python/GeometricObjects/CylinderExample.py +++ b/src/Python/GeometricObjects/CylinderExample.py @@ -3,7 +3,7 @@ # This simple example shows how to do basic rendering and pipeline # creation. -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/GeometricObjects/Disk.py b/src/Python/GeometricObjects/Disk.py index 0f498e8fbb81da9e6dca8b0410efe3eb087d7e20..9138266e90adaa096df16fc3911112a7ca639436 100755 --- a/src/Python/GeometricObjects/Disk.py +++ b/src/Python/GeometricObjects/Disk.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/GeometricObjects/Dodecahedron.py b/src/Python/GeometricObjects/Dodecahedron.py index e3f0835fd9ed625baac5ca1fc4551d73d5787073..46d7f2dcd2ec1bed20da5761861e63dc5d0d7e35 100755 --- a/src/Python/GeometricObjects/Dodecahedron.py +++ b/src/Python/GeometricObjects/Dodecahedron.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/GeometricObjects/EarthSource.py b/src/Python/GeometricObjects/EarthSource.py index 4f17aaf8eed44e94105bf363f8bd835a6cea502f..17d6d974bc2932e509cf6ab7eed65d7cbde15022 100755 --- a/src/Python/GeometricObjects/EarthSource.py +++ b/src/Python/GeometricObjects/EarthSource.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/GeometricObjects/EllipticalCylinder.py b/src/Python/GeometricObjects/EllipticalCylinder.py index 7412b5a3083be415fa898ba1f4eb0996e0397247..1080ace194821adf3f288e2fed61a7775bd208e4 100755 --- a/src/Python/GeometricObjects/EllipticalCylinder.py +++ b/src/Python/GeometricObjects/EllipticalCylinder.py @@ -3,7 +3,7 @@ import math -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/GeometricObjects/EllipticalCylinderDemo.py b/src/Python/GeometricObjects/EllipticalCylinderDemo.py index de3f556feeb566d2ac85c41a80e030989709f61e..d37cce7b94d6bd4d8c55f1b48b38d19c948eef5d 100755 --- a/src/Python/GeometricObjects/EllipticalCylinderDemo.py +++ b/src/Python/GeometricObjects/EllipticalCylinderDemo.py @@ -3,7 +3,7 @@ import math -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/GeometricObjects/Frustum.py b/src/Python/GeometricObjects/Frustum.py index acd65fb35a85a91810e9307e67973739138be646..16a6e9e02b77958a43e6e31b561426ab0e056c72 100755 --- a/src/Python/GeometricObjects/Frustum.py +++ b/src/Python/GeometricObjects/Frustum.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/GeometricObjects/GeometricObjectsDemo.py b/src/Python/GeometricObjects/GeometricObjectsDemo.py index 388f62d1d039228f8216a06cd7eb363f3e20433d..7ba2ffe32de68ebddd14afb60b40da109cfa0e44 100755 --- a/src/Python/GeometricObjects/GeometricObjectsDemo.py +++ b/src/Python/GeometricObjects/GeometricObjectsDemo.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/GeometricObjects/Hexahedron.py b/src/Python/GeometricObjects/Hexahedron.py index 59dc1381ee9a759a503282686ef5ce38e2a83841..7521a0ed86365c6c67913140449723a9b1ec9d34 100755 --- a/src/Python/GeometricObjects/Hexahedron.py +++ b/src/Python/GeometricObjects/Hexahedron.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/GeometricObjects/IsoparametricCellsDemo.py b/src/Python/GeometricObjects/IsoparametricCellsDemo.py index 6f5368d60613c43898f2044f8410135905388760..e489a06cc9b0949ee87b78550ef6dd83e86b18b4 100755 --- a/src/Python/GeometricObjects/IsoparametricCellsDemo.py +++ b/src/Python/GeometricObjects/IsoparametricCellsDemo.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/GeometricObjects/Line.py b/src/Python/GeometricObjects/Line.py index 5177b84a59193bf4834d931756e589c6feef425f..7b6cbda316040db1d51acafd0b1df6048b5ad6ea 100755 --- a/src/Python/GeometricObjects/Line.py +++ b/src/Python/GeometricObjects/Line.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/GeometricObjects/LinearCellDemo.py b/src/Python/GeometricObjects/LinearCellDemo.py index daddfa48dbd304bf96ec4ef99d16e363f4b5c911..02844c5fb6c84bfec89b29a9a89b618a30b5b9e2 100755 --- a/src/Python/GeometricObjects/LinearCellDemo.py +++ b/src/Python/GeometricObjects/LinearCellDemo.py @@ -1,7 +1,7 @@ # !/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/GeometricObjects/LongLine.py b/src/Python/GeometricObjects/LongLine.py index 939d6fc7cf18066ee56fa4b64f9f228d2279ad6c..65bfd9b272e73889b158a1197f81899ecdd6790c 100755 --- a/src/Python/GeometricObjects/LongLine.py +++ b/src/Python/GeometricObjects/LongLine.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/GeometricObjects/OrientedArrow.py b/src/Python/GeometricObjects/OrientedArrow.py index 86e1bf451eb209802cae34120fc3b9c0e1135436..6eb54cf5aedaaed25a5b25566e2281395a302686 100755 --- a/src/Python/GeometricObjects/OrientedArrow.py +++ b/src/Python/GeometricObjects/OrientedArrow.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk """ There are two alternative ways to apply the transform. diff --git a/src/Python/GeometricObjects/OrientedCylinder.py b/src/Python/GeometricObjects/OrientedCylinder.py index 4c61df2bda9a936073b6920c5a3ebf461f3b73ac..79dbb06cdeb90e2158c5a6c04773cd03eb1d4dfa 100755 --- a/src/Python/GeometricObjects/OrientedCylinder.py +++ b/src/Python/GeometricObjects/OrientedCylinder.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk """ There are two alternative ways to apply the transform. diff --git a/src/Python/GeometricObjects/ParametricKuenDemo.py b/src/Python/GeometricObjects/ParametricKuenDemo.py index 49d3a34af39dd3124b91da72b8c087565a6c1a33..a999ba37bde989a8fa45261e1103f8098207f5c7 100755 --- a/src/Python/GeometricObjects/ParametricKuenDemo.py +++ b/src/Python/GeometricObjects/ParametricKuenDemo.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/GeometricObjects/ParametricObjectsDemo.py b/src/Python/GeometricObjects/ParametricObjectsDemo.py index ff2bb240d1e340e526fed9de83a5e618dd518e1d..b3fed3652b22caa8404a57edd77498ff36f3c022 100755 --- a/src/Python/GeometricObjects/ParametricObjectsDemo.py +++ b/src/Python/GeometricObjects/ParametricObjectsDemo.py @@ -6,7 +6,7 @@ import collections -import vtk +import vtkmodules.all as vtk def get_program_parameters(): diff --git a/src/Python/GeometricObjects/ParametricSuperEllipsoidDemo.py b/src/Python/GeometricObjects/ParametricSuperEllipsoidDemo.py index dc14266c27a732633339df97ccf9ab17b0e304b4..92253fe0e667e748d665e08dddd9c6eb7a88233a 100755 --- a/src/Python/GeometricObjects/ParametricSuperEllipsoidDemo.py +++ b/src/Python/GeometricObjects/ParametricSuperEllipsoidDemo.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/GeometricObjects/ParametricSuperToroidDemo.py b/src/Python/GeometricObjects/ParametricSuperToroidDemo.py index 234d1ab11c0eed5a3ea62df0739f06cb8f006ff8..7af6b7bc791c5fd2248e8d1002d1f596bb24d31c 100755 --- a/src/Python/GeometricObjects/ParametricSuperToroidDemo.py +++ b/src/Python/GeometricObjects/ParametricSuperToroidDemo.py @@ -1,7 +1,7 @@ # !/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/GeometricObjects/Plane.py b/src/Python/GeometricObjects/Plane.py index 3f71d881d81c45494e09427f23971527ec548593..89681bca9cbb5509752e92fce35fdbc3a5b716d2 100755 --- a/src/Python/GeometricObjects/Plane.py +++ b/src/Python/GeometricObjects/Plane.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): @@ -46,7 +46,7 @@ def main(): if __name__ == '__main__': main() -# import vtk +# import vtkmodules.all as vtk # # # create a rendering window and renderer # ren = vtk.vtkRenderer() diff --git a/src/Python/GeometricObjects/Planes.py b/src/Python/GeometricObjects/Planes.py index 33416ccf7d4a34e66c67361eef993ee52425d903..f5a2caa4c8fa709a9e2ce3fb933a142d291e0e66 100755 --- a/src/Python/GeometricObjects/Planes.py +++ b/src/Python/GeometricObjects/Planes.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/GeometricObjects/PlanesIntersection.py b/src/Python/GeometricObjects/PlanesIntersection.py index cd6d3ee03db0019d315300f2d3fcc4620715dd6e..86803b9165edc65f4e0ce0c68031d76db813f756 100755 --- a/src/Python/GeometricObjects/PlanesIntersection.py +++ b/src/Python/GeometricObjects/PlanesIntersection.py @@ -1,7 +1,7 @@ #!/usr/bin/env python from __future__ import print_function -import vtk +import vtkmodules.all as vtk sphereSource = vtk.vtkSphereSource() sphereSource.Update() diff --git a/src/Python/GeometricObjects/PlatonicSolids.py b/src/Python/GeometricObjects/PlatonicSolids.py index 948007d2bfc0d7e70b6f3fdd572c64a56d0536cc..8475804dfe2892059607158bc2c54bb52916bccf 100755 --- a/src/Python/GeometricObjects/PlatonicSolids.py +++ b/src/Python/GeometricObjects/PlatonicSolids.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/GeometricObjects/Point.py b/src/Python/GeometricObjects/Point.py index a75c5ac913791c9459dfdd9ba56b7110603ba088..52ade9f7413cb5fd3e000ea80cbde8edbf23e2b6 100755 --- a/src/Python/GeometricObjects/Point.py +++ b/src/Python/GeometricObjects/Point.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/GeometricObjects/PolyLine.py b/src/Python/GeometricObjects/PolyLine.py index b9eae9e039c37931f04aabdf0c9f040e687f7f49..f8d64395f8f12ba5d1b9f277f0d626a55420e668 100755 --- a/src/Python/GeometricObjects/PolyLine.py +++ b/src/Python/GeometricObjects/PolyLine.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/GeometricObjects/PolyLine1.py b/src/Python/GeometricObjects/PolyLine1.py index ff0aa4b4bf8088d81a5d3d4860cb2d8c3f7a7e5e..a5e16ed381caa4763719ade2f33ff8cab67a201e 100755 --- a/src/Python/GeometricObjects/PolyLine1.py +++ b/src/Python/GeometricObjects/PolyLine1.py @@ -5,7 +5,7 @@ import math -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/GeometricObjects/Polygon.py b/src/Python/GeometricObjects/Polygon.py index f66bbd742ea84b1f46697bf80d59af8423597486..e8724acd5c546047c692334dfacf41fa25d7cd66 100755 --- a/src/Python/GeometricObjects/Polygon.py +++ b/src/Python/GeometricObjects/Polygon.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): colors = vtk.vtkNamedColors() diff --git a/src/Python/GeometricObjects/PolygonIntersection.py b/src/Python/GeometricObjects/PolygonIntersection.py index 75a7503109fa5297c1b22122c714f5c5ae4cb61b..087f35d0a01df1ccc7bc0a65f4dfc60b95400a0f 100755 --- a/src/Python/GeometricObjects/PolygonIntersection.py +++ b/src/Python/GeometricObjects/PolygonIntersection.py @@ -1,7 +1,7 @@ #!/usr/bin/env python from __future__ import print_function -import vtk +import vtkmodules.all as vtk def main(): # Create a square in the x-y plane. diff --git a/src/Python/GeometricObjects/Polyhedron.py b/src/Python/GeometricObjects/Polyhedron.py index 309cae63eab89bbc4f3001a9229a1e5e5286417f..5976d173c4a306836034effe6d66e497d286f003 100755 --- a/src/Python/GeometricObjects/Polyhedron.py +++ b/src/Python/GeometricObjects/Polyhedron.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/GeometricObjects/Pyramid.py b/src/Python/GeometricObjects/Pyramid.py index 6043fd0e2f0fcefd870dbaa186c6b78d4811b06f..8a656ebe4bacedbeff4e6d8a5776a227fd06d7fe 100755 --- a/src/Python/GeometricObjects/Pyramid.py +++ b/src/Python/GeometricObjects/Pyramid.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/GeometricObjects/Quad.py b/src/Python/GeometricObjects/Quad.py index 3fa7a9f26ca5fe481d343a2c698ea59167c69ec7..80f0b7fd98dcb55b095392c6d400ff522a754364 100755 --- a/src/Python/GeometricObjects/Quad.py +++ b/src/Python/GeometricObjects/Quad.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): colors = vtk.vtkNamedColors() diff --git a/src/Python/GeometricObjects/QuadraticHexahedron.py b/src/Python/GeometricObjects/QuadraticHexahedron.py index 70ba44711a42e829032fa3bc8036b70a755725f8..5dd781b733083b2b176f83e8a512bd173d2782ff 100755 --- a/src/Python/GeometricObjects/QuadraticHexahedron.py +++ b/src/Python/GeometricObjects/QuadraticHexahedron.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/GeometricObjects/QuadraticHexahedronDemo.py b/src/Python/GeometricObjects/QuadraticHexahedronDemo.py index a717b943200bd9ca61c64d2f147005a378e6f18a..13d6e25dfefe533ef7aa82ca20f89542ee99f864 100755 --- a/src/Python/GeometricObjects/QuadraticHexahedronDemo.py +++ b/src/Python/GeometricObjects/QuadraticHexahedronDemo.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/GeometricObjects/QuadraticTetra.py b/src/Python/GeometricObjects/QuadraticTetra.py index 8d20f0d70791fa28ee50b7fad7c2300ef119c235..eedb08b6d04bd3d1419477a01ba231b195b6eaab 100755 --- a/src/Python/GeometricObjects/QuadraticTetra.py +++ b/src/Python/GeometricObjects/QuadraticTetra.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/GeometricObjects/QuadraticTetraDemo.py b/src/Python/GeometricObjects/QuadraticTetraDemo.py index 27a94dd15226b72c305f8145e6e8cf94feef4838..51dcd737befa4e7c7d96dc88c7ed008e9ec6044f 100755 --- a/src/Python/GeometricObjects/QuadraticTetraDemo.py +++ b/src/Python/GeometricObjects/QuadraticTetraDemo.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/GeometricObjects/RegularPolygonSource.py b/src/Python/GeometricObjects/RegularPolygonSource.py index 70db4cd0570a4b98a7c11a085fbf0c378f6cae1a..aeb2958915ec1c1e7a59b8a8b652934d08f1cca8 100755 --- a/src/Python/GeometricObjects/RegularPolygonSource.py +++ b/src/Python/GeometricObjects/RegularPolygonSource.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/GeometricObjects/ShrinkCube.py b/src/Python/GeometricObjects/ShrinkCube.py index d92dadb81d0b91994ab8482061773b6a7f3610e1..8037802f4790388a4823e605d23b5e32d490e572 100755 --- a/src/Python/GeometricObjects/ShrinkCube.py +++ b/src/Python/GeometricObjects/ShrinkCube.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/GeometricObjects/SourceObjectsDemo.py b/src/Python/GeometricObjects/SourceObjectsDemo.py index e745524a929a39abc806bd8d1f8b28833c6c5142..b8129675510c435e612be2fbaab93782aeaab377 100755 --- a/src/Python/GeometricObjects/SourceObjectsDemo.py +++ b/src/Python/GeometricObjects/SourceObjectsDemo.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/GeometricObjects/Sphere.py b/src/Python/GeometricObjects/Sphere.py index 0119133818c0cbfd70609a4b959d712160f303f4..e00783f5dc17a3cbefe3bea41039e7f9c719520f 100755 --- a/src/Python/GeometricObjects/Sphere.py +++ b/src/Python/GeometricObjects/Sphere.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/GeometricObjects/TessellatedBoxSource.py b/src/Python/GeometricObjects/TessellatedBoxSource.py index e99d581339f143c7a0d8f10220189d53516e2628..be7dd3f106943d7d472a9a3024e0bb64078687f7 100755 --- a/src/Python/GeometricObjects/TessellatedBoxSource.py +++ b/src/Python/GeometricObjects/TessellatedBoxSource.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/GeometricObjects/Tetrahedron.py b/src/Python/GeometricObjects/Tetrahedron.py index 59bb4fef50a18954b3d93f89ca269432d9341c46..3b973f9ed36de5b571c04db50785b4a2942f4915 100755 --- a/src/Python/GeometricObjects/Tetrahedron.py +++ b/src/Python/GeometricObjects/Tetrahedron.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/GeometricObjects/TextActor.py b/src/Python/GeometricObjects/TextActor.py index bea7712624bc01b013debd5e31c537d27bd4a020..eaf67fa6341c05cf546324fb21aeb669a44c1557 100755 --- a/src/Python/GeometricObjects/TextActor.py +++ b/src/Python/GeometricObjects/TextActor.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/GeometricObjects/Triangle.py b/src/Python/GeometricObjects/Triangle.py index 0b2fb8c3052e1a094c2cd24a2970d5c842f68fcf..f33d82bac8a1b047bc287f61a5be73f9dd5e44a9 100755 --- a/src/Python/GeometricObjects/Triangle.py +++ b/src/Python/GeometricObjects/Triangle.py @@ -1,7 +1,7 @@ # !/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/GeometricObjects/TriangleStrip.py b/src/Python/GeometricObjects/TriangleStrip.py index cf773a815e1daa76ed6d3a028b6d5de7c52cb1e8..062542f99f29fb4626475726af04c478b882d134 100755 --- a/src/Python/GeometricObjects/TriangleStrip.py +++ b/src/Python/GeometricObjects/TriangleStrip.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/GeometricObjects/Vertex.py b/src/Python/GeometricObjects/Vertex.py index 0fbf052a0bf69e91a1c670f5a8b8274b6d4287b9..3a37be65792d46672fbe09bd8024e4e111f23292 100755 --- a/src/Python/GeometricObjects/Vertex.py +++ b/src/Python/GeometricObjects/Vertex.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Graphs/ColorEdges.py b/src/Python/Graphs/ColorEdges.py index cd8de910825a9055a826b7dafb8889909ce0dd98..bff43cc0ed66398cc8383d421b724442ed4ed045 100755 --- a/src/Python/Graphs/ColorEdges.py +++ b/src/Python/Graphs/ColorEdges.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Graphs/ColorVertexLabels.py b/src/Python/Graphs/ColorVertexLabels.py index 19bc4bfd05d609b3b110fe20e2905f83cc1e5196..1cc1031eb255695c7d8d06a6a8ca2915de7da411 100755 --- a/src/Python/Graphs/ColorVertexLabels.py +++ b/src/Python/Graphs/ColorVertexLabels.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Graphs/ColorVerticesLookupTable.py b/src/Python/Graphs/ColorVerticesLookupTable.py index 28476ff208c05135f2d58081a957873dfc497771..81698a7417070940fcc31080b77c44d54ad310ad 100755 --- a/src/Python/Graphs/ColorVerticesLookupTable.py +++ b/src/Python/Graphs/ColorVerticesLookupTable.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Graphs/ConstructGraph.py b/src/Python/Graphs/ConstructGraph.py index 1a5913f70a10945ece42939c43fd4502d12d2adb..c9c45365cfc9dd3c983153b6ed6f1a229c89560e 100755 --- a/src/Python/Graphs/ConstructGraph.py +++ b/src/Python/Graphs/ConstructGraph.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Graphs/ConstructTree.py b/src/Python/Graphs/ConstructTree.py index b952ba351601a22b93d59abf66d545486cb35c37..867e5bfd961a9ea144dc49acc7b4d0ff4679a3f4 100755 --- a/src/Python/Graphs/ConstructTree.py +++ b/src/Python/Graphs/ConstructTree.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Graphs/CreateTree.py b/src/Python/Graphs/CreateTree.py index 3d3e966749d5d7478dc0e43bd1c85d6243aeea99..d49fe8cc0eb2a312d42cb03e4086ae8625a970cf 100755 --- a/src/Python/Graphs/CreateTree.py +++ b/src/Python/Graphs/CreateTree.py @@ -2,7 +2,7 @@ # This example creates a tree and labels the vertices and edges. -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Graphs/EdgeWeights.py b/src/Python/Graphs/EdgeWeights.py index e5c5a0a4ec575d40c97a198e4bd12b8745dca0fe..704879c2ede0b7977500732da75ab2064b4a18cb 100755 --- a/src/Python/Graphs/EdgeWeights.py +++ b/src/Python/Graphs/EdgeWeights.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Graphs/GraphToPolyData.py b/src/Python/Graphs/GraphToPolyData.py index f26e6ec93ade24b211947e83e02c5a1bc443c869..dc3e8f5ed3b94fdcf6d3c60d495f8ce3373ac66c 100755 --- a/src/Python/Graphs/GraphToPolyData.py +++ b/src/Python/Graphs/GraphToPolyData.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Graphs/LabelVerticesAndEdges.py b/src/Python/Graphs/LabelVerticesAndEdges.py index 47be96a390cae8eea89bcd0e4a2b3342be39c69e..79965df64572b20234a10a30b12fd351ef2ab1c5 100755 --- a/src/Python/Graphs/LabelVerticesAndEdges.py +++ b/src/Python/Graphs/LabelVerticesAndEdges.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Graphs/NOVCAGraph.py b/src/Python/Graphs/NOVCAGraph.py index e69a8f251a9473ba31142ed60ea2c4c336449e7a..620e7c1f2401793221b1ee54446d2c1ba668236e 100755 --- a/src/Python/Graphs/NOVCAGraph.py +++ b/src/Python/Graphs/NOVCAGraph.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def get_program_parameters(): diff --git a/src/Python/Graphs/RandomGraphSource.py b/src/Python/Graphs/RandomGraphSource.py index c5997c6c997c452c572308336b1468ee2cfa4a02..ba2827c11fc7d1c2e0923214ca94f5b09c2ffda2 100755 --- a/src/Python/Graphs/RandomGraphSource.py +++ b/src/Python/Graphs/RandomGraphSource.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Graphs/ScaleVertices.py b/src/Python/Graphs/ScaleVertices.py index 4214b6fb97b4592eb184bdc05940c75911c8cadb..fa99c2af792ab2ce7a41b1341b29cb225254281a 100755 --- a/src/Python/Graphs/ScaleVertices.py +++ b/src/Python/Graphs/ScaleVertices.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Graphs/SelectedVerticesAndEdges.py b/src/Python/Graphs/SelectedVerticesAndEdges.py index ae3299a4d1fe57fa3654d8777c346b634a6b656f..e6c6c55ed75556ef50ce4668917e9816508c7027 100755 --- a/src/Python/Graphs/SelectedVerticesAndEdges.py +++ b/src/Python/Graphs/SelectedVerticesAndEdges.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk source = vtk.vtkRandomGraphSource() source.Update() diff --git a/src/Python/Graphs/SideBySideGraphs.py b/src/Python/Graphs/SideBySideGraphs.py index 4de9713a7153c5b2ff0a66a2a08b4b4cbedf88b9..883ad5097ad8b1b9b1b237bf039b7d261fa60b9d 100755 --- a/src/Python/Graphs/SideBySideGraphs.py +++ b/src/Python/Graphs/SideBySideGraphs.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Graphs/VisualizeDirectedGraph.py b/src/Python/Graphs/VisualizeDirectedGraph.py index 5d839f10929aeb6388db08feedaef385c6e9bcc8..3889c31b44de814630378cd39779c33d1b39c424 100755 --- a/src/Python/Graphs/VisualizeDirectedGraph.py +++ b/src/Python/Graphs/VisualizeDirectedGraph.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Graphs/VisualizeGraph.py b/src/Python/Graphs/VisualizeGraph.py index b64b495467c820a0018ee2b848905994df19bb45..a8d5dc20491e43dfa813e813b170ce1da3d317ed 100755 --- a/src/Python/Graphs/VisualizeGraph.py +++ b/src/Python/Graphs/VisualizeGraph.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/HyperTreeGrid/HyperTreeGridSource.py b/src/Python/HyperTreeGrid/HyperTreeGridSource.py index 64a5b054d23cb38d90ccc70fe76a8132dd168848..ab520b984e1834996c07121d8680aab6d6f41646 100755 --- a/src/Python/HyperTreeGrid/HyperTreeGridSource.py +++ b/src/Python/HyperTreeGrid/HyperTreeGridSource.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/IO/3DSImporter.py b/src/Python/IO/3DSImporter.py index 102c49a52a0d15fd620708ba542827bf8f414b16..b4763572dcd2c5012121503279626eb44d65e5a6 100755 --- a/src/Python/IO/3DSImporter.py +++ b/src/Python/IO/3DSImporter.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/IO/HDRReader.py b/src/Python/IO/HDRReader.py index 31552438fadb5650acc6166e4b3cf51e7754c206..4a18221f78e44f907a2c0c73b939d63140ecefab 100755 --- a/src/Python/IO/HDRReader.py +++ b/src/Python/IO/HDRReader.py @@ -1,6 +1,6 @@ ##!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def get_program_parameters(): diff --git a/src/Python/IO/ImageWriter.py b/src/Python/IO/ImageWriter.py index 23ff1817293328486d90bfea47940f9476ed0df1..cc73a97af31525611c9efa8751a0922624fe17d8 100755 --- a/src/Python/IO/ImageWriter.py +++ b/src/Python/IO/ImageWriter.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/IO/ReadExodusData.py b/src/Python/IO/ReadExodusData.py index 072545ad4dc1d2adfaf22bafecb6694e014c3088..7991cdf8c9eaec2bbaf5e701f03c6d6a0de2da85 100755 --- a/src/Python/IO/ReadExodusData.py +++ b/src/Python/IO/ReadExodusData.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def get_program_parameters(): diff --git a/src/Python/IO/ReadImageData.py b/src/Python/IO/ReadImageData.py index df1928469aa01f0a62590de685138ea2d57b7b06..db77ed6bec7dec4bf074bd9fdee939a9041fb12b 100755 --- a/src/Python/IO/ReadImageData.py +++ b/src/Python/IO/ReadImageData.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def get_program_parameters(): diff --git a/src/Python/IO/ReadLegacyUnstructuredGrid.py b/src/Python/IO/ReadLegacyUnstructuredGrid.py index f6d6120eecda9ce9817718670532070bf9d7f022..7c1bcd17b390949f48983f278028f082817b79a8 100755 --- a/src/Python/IO/ReadLegacyUnstructuredGrid.py +++ b/src/Python/IO/ReadLegacyUnstructuredGrid.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/IO/ReadPolyData.py b/src/Python/IO/ReadPolyData.py index ee77dbd9f9171c4237c5adaed7cf65dc0e1588cf..21315c9988db0d2d6de65db9219406fd1d5fc220 100755 --- a/src/Python/IO/ReadPolyData.py +++ b/src/Python/IO/ReadPolyData.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def get_program_parameters(): diff --git a/src/Python/IO/ReadSLC.py b/src/Python/IO/ReadSLC.py index 6538a4646e96b6ca826237b7706185092f23448a..84ad7486356118d167686b6e92e1a35a2ed3b61a 100755 --- a/src/Python/IO/ReadSLC.py +++ b/src/Python/IO/ReadSLC.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/IO/ReadSTL.py b/src/Python/IO/ReadSTL.py index c5dc5365c9681199f422e36ac98ff8dd7d7ee36b..15787eb0066b2fd113990fb6d0002ff179cbfced 100755 --- a/src/Python/IO/ReadSTL.py +++ b/src/Python/IO/ReadSTL.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def get_program_parameters(): diff --git a/src/Python/IO/ReadUnstructuredGrid.py b/src/Python/IO/ReadUnstructuredGrid.py index 4540424966d3798208872b927b256e7d5d7e1e5e..387a2afaca36e04fc0f2f5a3b2400371ebbffdc0 100755 --- a/src/Python/IO/ReadUnstructuredGrid.py +++ b/src/Python/IO/ReadUnstructuredGrid.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def get_program_parameters(): diff --git a/src/Python/IO/ReadVTP.py b/src/Python/IO/ReadVTP.py index 37d5ca6e303d3f6dee7428221007c56095b16a45..dc2e5262a50ca6314260559215bf9812765d6a87 100755 --- a/src/Python/IO/ReadVTP.py +++ b/src/Python/IO/ReadVTP.py @@ -1,4 +1,4 @@ -import vtk +import vtkmodules.all as vtk def get_program_parameters(): diff --git a/src/Python/IO/WriteLegacyLinearCells.py b/src/Python/IO/WriteLegacyLinearCells.py index 1cfecb716424fd68366def4eeb4b29c354c0e937..128534cd746996bc02d47c679e346bbc9c1bada6 100755 --- a/src/Python/IO/WriteLegacyLinearCells.py +++ b/src/Python/IO/WriteLegacyLinearCells.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/IO/WritePLY.py b/src/Python/IO/WritePLY.py index 56ba7893eb0be3ae1a7892fa3798b9ab1856cbe4..2c75f62ed7e2722d6601a90a9bad6be0a89dd624 100755 --- a/src/Python/IO/WritePLY.py +++ b/src/Python/IO/WritePLY.py @@ -1,4 +1,4 @@ -import vtk +import vtkmodules.all as vtk def get_program_parameters(): diff --git a/src/Python/IO/WriteSTL.py b/src/Python/IO/WriteSTL.py index 35ec1d2c1c14185dc44cab4d443d9f5fff79285b..97b7f4226d3187baec89c8f77601b779db869530 100755 --- a/src/Python/IO/WriteSTL.py +++ b/src/Python/IO/WriteSTL.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def get_program_parameters(): diff --git a/src/Python/IO/WriteTriangleToFile.py b/src/Python/IO/WriteTriangleToFile.py index 120bf0e5a52bf0a7b87dc40109e69b4609b6e59f..1a286d5835d5ad2c7f7446bdb3e58e124a87d187 100755 --- a/src/Python/IO/WriteTriangleToFile.py +++ b/src/Python/IO/WriteTriangleToFile.py @@ -1,4 +1,4 @@ -import vtk +import vtkmodules.all as vtk def get_program_parameters(): diff --git a/src/Python/IO/WriteXMLLinearCells.py b/src/Python/IO/WriteXMLLinearCells.py index 761e144dce01ad3e1f64f9a8fc42eb0b46b5890d..67db54c5cb7966de04cc1e75bfd1898c0bc94b14 100755 --- a/src/Python/IO/WriteXMLLinearCells.py +++ b/src/Python/IO/WriteXMLLinearCells.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/ImageData/ImageDataGeometryFilter.py b/src/Python/ImageData/ImageDataGeometryFilter.py index b12eb3b0039422057b896d1c9105e3dbd8f6966b..86d7c6d914c2a945daa033cd7f2a65bafc75339c 100755 --- a/src/Python/ImageData/ImageDataGeometryFilter.py +++ b/src/Python/ImageData/ImageDataGeometryFilter.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/ImageData/ImageNormalize.py b/src/Python/ImageData/ImageNormalize.py index 42feea172349232eb1b88f1744c1a5a50df3fe8b..d2d3c267f842a7672023be77287e7e8e7dabdac0 100755 --- a/src/Python/ImageData/ImageNormalize.py +++ b/src/Python/ImageData/ImageNormalize.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/ImageData/ImageWeightedSum.py b/src/Python/ImageData/ImageWeightedSum.py index e8ecdad576840453aced4df2c97fdf51dfcff9c2..19417ceca28d3d09d48a9cc500c6631749de1294 100755 --- a/src/Python/ImageData/ImageWeightedSum.py +++ b/src/Python/ImageData/ImageWeightedSum.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/ImageData/SumVTKImages.py b/src/Python/ImageData/SumVTKImages.py index 2d71038ea7680a5b1b096c4e86b6f68b3215a680..839d856c41927bc44056186376e14e9027c8cdec 100755 --- a/src/Python/ImageData/SumVTKImages.py +++ b/src/Python/ImageData/SumVTKImages.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk # ImageSets = List of Image sets diff --git a/src/Python/ImageData/WriteReadVtkImageData.py b/src/Python/ImageData/WriteReadVtkImageData.py index 8bc67dd0e86da7c0b3a7dcb93a48d936a8f2c1a9..4d412d57ff82b3545440008596071fd2bcf34da0 100755 --- a/src/Python/ImageData/WriteReadVtkImageData.py +++ b/src/Python/ImageData/WriteReadVtkImageData.py @@ -1,4 +1,4 @@ -import vtk +import vtkmodules.all as vtk def get_program_parameters(): diff --git a/src/Python/ImageProcessing/Attenuation.py b/src/Python/ImageProcessing/Attenuation.py index 3eb3b44701575f2bdc473c1ece53715cf0e92406..dbc18856c399c026e1081b121793ac344e7e0d9e 100755 --- a/src/Python/ImageProcessing/Attenuation.py +++ b/src/Python/ImageProcessing/Attenuation.py @@ -3,7 +3,7 @@ """ """ -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/ImageProcessing/EnhanceEdges.py b/src/Python/ImageProcessing/EnhanceEdges.py index 334e59bea2856ad232e98ebd999c4bf2ca76c43f..4a912ea8b2ecec871ed6c05e36a3f1595d997aae 100755 --- a/src/Python/ImageProcessing/EnhanceEdges.py +++ b/src/Python/ImageProcessing/EnhanceEdges.py @@ -3,7 +3,7 @@ """ """ -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/ImageProcessing/GaussianSmooth.py b/src/Python/ImageProcessing/GaussianSmooth.py index a8d56432ed10188c4c8a9677f1ce3dc47516e726..cc49f3751de318388b1d14f414646ed7c1a8ac51 100755 --- a/src/Python/ImageProcessing/GaussianSmooth.py +++ b/src/Python/ImageProcessing/GaussianSmooth.py @@ -3,7 +3,7 @@ """ """ -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/ImageProcessing/HybridMedianComparison.py b/src/Python/ImageProcessing/HybridMedianComparison.py index 4be372fcdc7a7c600978fdabe0067cc82ff1d098..b74fedfdc5857b86ad9bd8a1de457b1c90bce154 100755 --- a/src/Python/ImageProcessing/HybridMedianComparison.py +++ b/src/Python/ImageProcessing/HybridMedianComparison.py @@ -3,7 +3,7 @@ """ """ -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/ImageProcessing/IdealHighPass.py b/src/Python/ImageProcessing/IdealHighPass.py index 6616caa6696cb147668ccaad47ff3ea6bebae575..7e40da5c79bcdbd9fd76acd939f2fb36b978d3c6 100755 --- a/src/Python/ImageProcessing/IdealHighPass.py +++ b/src/Python/ImageProcessing/IdealHighPass.py @@ -3,7 +3,7 @@ """ """ -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/ImageProcessing/IsoSubsample.py b/src/Python/ImageProcessing/IsoSubsample.py index c7e431df3e2fd143c08ac3b56b08501c237718d1..894b53ffe03c76ab5fe12fc5410fa57ec29caa58 100755 --- a/src/Python/ImageProcessing/IsoSubsample.py +++ b/src/Python/ImageProcessing/IsoSubsample.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/ImageProcessing/MedianComparison.py b/src/Python/ImageProcessing/MedianComparison.py index ebe2e753a726bf3855db9afecc35d3830fd132a4..29f95c36f703e00ab0198b709975cec9be79e9fa 100755 --- a/src/Python/ImageProcessing/MedianComparison.py +++ b/src/Python/ImageProcessing/MedianComparison.py @@ -3,7 +3,7 @@ """ """ -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/ImageProcessing/MorphologyComparison.py b/src/Python/ImageProcessing/MorphologyComparison.py index 870175341eaccf2a00bca9240e7a53d8696efd52..dadbcfe557f934e70984b43be45b161f620c4e7d 100755 --- a/src/Python/ImageProcessing/MorphologyComparison.py +++ b/src/Python/ImageProcessing/MorphologyComparison.py @@ -3,7 +3,7 @@ """ """ -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/ImageProcessing/Pad.py b/src/Python/ImageProcessing/Pad.py index 3c695969095051bbb43e64ccdfe8a3bf0fa1875f..5d9e62d8d1415e5da4422cce20d59e51cb106f3d 100755 --- a/src/Python/ImageProcessing/Pad.py +++ b/src/Python/ImageProcessing/Pad.py @@ -3,7 +3,7 @@ """ """ -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/ImageProcessing/VTKSpectrum.py b/src/Python/ImageProcessing/VTKSpectrum.py index df530d9d1def9110bd517bf7068d3bf57ee00a14..d30c433c6ca509e3f7abf3da299b9a5e7ab09d0d 100755 --- a/src/Python/ImageProcessing/VTKSpectrum.py +++ b/src/Python/ImageProcessing/VTKSpectrum.py @@ -3,7 +3,7 @@ """ """ -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Images/Actor2D.py b/src/Python/Images/Actor2D.py index 3f14d559770bfc563fe541f114c977c5a703b8e1..ec3620bb0900540597cdf376f33cbfa7858caa37 100755 --- a/src/Python/Images/Actor2D.py +++ b/src/Python/Images/Actor2D.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Images/BackgroundImage.py b/src/Python/Images/BackgroundImage.py index 528c25064b8fcbb433350aca3e22f2b5c661e208..c6a9578a147792c9438f2f6621e3633ccf0ef562 100755 --- a/src/Python/Images/BackgroundImage.py +++ b/src/Python/Images/BackgroundImage.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def get_program_parameters(): diff --git a/src/Python/Images/Cast.py b/src/Python/Images/Cast.py index 5836f85f20556ef66eadfbe8c44e607d59d16ac1..b3abb4ebe5cafe5c5682d7f8c1ca2ae2b7bc9fe1 100755 --- a/src/Python/Images/Cast.py +++ b/src/Python/Images/Cast.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Images/ImageWarp.py b/src/Python/Images/ImageWarp.py index be2de25de0cc4b05c0e3c765486700f561104100..bd71eaaa496b3add4949dbe309e6b4ca2edc2dda 100755 --- a/src/Python/Images/ImageWarp.py +++ b/src/Python/Images/ImageWarp.py @@ -1,6 +1,6 @@ ##!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/ImplicitFunctions/BooleanOperationImplicitFunctions.py b/src/Python/ImplicitFunctions/BooleanOperationImplicitFunctions.py index 5deeec686d58701b3793af746925e93df2707578..704ca60854c939b6b5f5237eaaedb7e78fd0c87d 100755 --- a/src/Python/ImplicitFunctions/BooleanOperationImplicitFunctions.py +++ b/src/Python/ImplicitFunctions/BooleanOperationImplicitFunctions.py @@ -1,4 +1,4 @@ -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/ImplicitFunctions/ImplicitQuadric.py b/src/Python/ImplicitFunctions/ImplicitQuadric.py index ae9ab97d15fed24fe66e5e0a510ea74b1904fd5f..8eb27ffafc01354ba6017201dbadd4f044c9ae1f 100755 --- a/src/Python/ImplicitFunctions/ImplicitQuadric.py +++ b/src/Python/ImplicitFunctions/ImplicitQuadric.py @@ -1,4 +1,4 @@ -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/ImplicitFunctions/ImplicitSphere.py b/src/Python/ImplicitFunctions/ImplicitSphere.py index 5b5c1d118bffa642758067c421e21710d0a3a1dc..267429593ac889c227598367435ff7b7a1dcb97b 100755 --- a/src/Python/ImplicitFunctions/ImplicitSphere.py +++ b/src/Python/ImplicitFunctions/ImplicitSphere.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/ImplicitFunctions/ImplicitSphere1.py b/src/Python/ImplicitFunctions/ImplicitSphere1.py index dd438d74b961b0a4e0cb372dbdd4f7caca34a3cf..add1068f2a4301701d5ccc9ae644b5519008ac8f 100755 --- a/src/Python/ImplicitFunctions/ImplicitSphere1.py +++ b/src/Python/ImplicitFunctions/ImplicitSphere1.py @@ -1,4 +1,4 @@ -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/ImplicitFunctions/SampleFunction.py b/src/Python/ImplicitFunctions/SampleFunction.py index 270f8d591175da197f0e21cb415023cbfbaafd9d..bac05767b2b72de48f777bfe982eb0f59969a1b2 100755 --- a/src/Python/ImplicitFunctions/SampleFunction.py +++ b/src/Python/ImplicitFunctions/SampleFunction.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/InfoVis/ParallelCoordinatesExtraction.py b/src/Python/InfoVis/ParallelCoordinatesExtraction.py index dff4263beb03fd91c2d36f69c02e7873e862b00a..fa8c980998039842ef4724ed7b2a448009abfa48 100755 --- a/src/Python/InfoVis/ParallelCoordinatesExtraction.py +++ b/src/Python/InfoVis/ParallelCoordinatesExtraction.py @@ -8,7 +8,7 @@ # Note that no points will show up inside of the 3d box outline until you # select some lines/curves in the parallel coordinates view -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/InfoVis/ParallelCoordinatesView.py b/src/Python/InfoVis/ParallelCoordinatesView.py index 564eddf16996d146b62f8d69a877b5cb9fa742ab..2993f6ec3ff911700bc10c65afde22a68e80d562 100755 --- a/src/Python/InfoVis/ParallelCoordinatesView.py +++ b/src/Python/InfoVis/ParallelCoordinatesView.py @@ -6,7 +6,7 @@ # coordinates view (i.e. between selecting data and manipulating axes). # Lines which are commented out show alternative options. -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/InfoVis/SelectedGraphIDs.py b/src/Python/InfoVis/SelectedGraphIDs.py index 77765bc3bbc76b12ec38c249ef5148dc45c4a9ee..ca935855bdace026244e704384387840faf831fd 100755 --- a/src/Python/InfoVis/SelectedGraphIDs.py +++ b/src/Python/InfoVis/SelectedGraphIDs.py @@ -4,7 +4,7 @@ # which shows how to use a vtkAnnotationLink to view the contents # of a selection from a vtkGraphLayoutView -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Interaction/CallBack.py b/src/Python/Interaction/CallBack.py index f42433de0da08410745d04afa9c362804035153f..2061790fcab07608663de5e727e44fdb375c8c7a 100755 --- a/src/Python/Interaction/CallBack.py +++ b/src/Python/Interaction/CallBack.py @@ -6,7 +6,7 @@ Demonstrate the use of a callback. We also add call data. ''' -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Interaction/InteractorStyleTrackballActor.py b/src/Python/Interaction/InteractorStyleTrackballActor.py index 58db3074ee2ebc8559a6d9a472dc4c32b2b37c27..6f7ccf7383b461dd5d0b895b1fdd65068ec9cdaf 100755 --- a/src/Python/Interaction/InteractorStyleTrackballActor.py +++ b/src/Python/Interaction/InteractorStyleTrackballActor.py @@ -1,4 +1,4 @@ -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Interaction/InteractorStyleTrackballCamera.py b/src/Python/Interaction/InteractorStyleTrackballCamera.py index fdf3e7753cb37070e0692c164ba37fef1e4d3b9c..e0adfacf44458485fa56bbba0354411debbe5325 100755 --- a/src/Python/Interaction/InteractorStyleTrackballCamera.py +++ b/src/Python/Interaction/InteractorStyleTrackballCamera.py @@ -1,4 +1,4 @@ -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Interaction/MouseEvents.py b/src/Python/Interaction/MouseEvents.py index 4f9b8c19a8517f32ae47b0fd11d10e10d0e5c3c2..cd0117f249670bf36f56322fd04498d269254b3d 100755 --- a/src/Python/Interaction/MouseEvents.py +++ b/src/Python/Interaction/MouseEvents.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk class MyInteractorStyle(vtk.vtkInteractorStyleTrackballCamera): diff --git a/src/Python/Interaction/MouseEventsObserver.py b/src/Python/Interaction/MouseEventsObserver.py index ab83fdbb7a638e9b7f0ba2f6a3db5b73f116c785..a915e4ad236a229f9cfd21362b76383c75ebd6bf 100755 --- a/src/Python/Interaction/MouseEventsObserver.py +++ b/src/Python/Interaction/MouseEventsObserver.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Medical/GenerateCubesFromLabels.py b/src/Python/Medical/GenerateCubesFromLabels.py index 86760fbdfb4811812cd5a39b36a8c85acbfb1456..f2e3ba38f459969eb48b8cf04a364efb4f2ddabb 100755 --- a/src/Python/Medical/GenerateCubesFromLabels.py +++ b/src/Python/Medical/GenerateCubesFromLabels.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Medical/GenerateModelsFromLabels.py b/src/Python/Medical/GenerateModelsFromLabels.py index 7643e20d6824f1c03734e26b7116839961d6285e..0ae42bfc9288b8a28bd80682fd96435ec849f00e 100755 --- a/src/Python/Medical/GenerateModelsFromLabels.py +++ b/src/Python/Medical/GenerateModelsFromLabels.py @@ -3,7 +3,7 @@ import os import sys -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Medical/MedicalDemo1.py b/src/Python/Medical/MedicalDemo1.py index 0870394b6b8c0ecdea6fc631c041575ae18e35e6..4012c6cbcdbca26eebbf1c3ee3d6a19d82313bcc 100755 --- a/src/Python/Medical/MedicalDemo1.py +++ b/src/Python/Medical/MedicalDemo1.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Medical/MedicalDemo2.py b/src/Python/Medical/MedicalDemo2.py index 37149a2ee332e1d9dcacbd4ce7ec99f9dcc108fa..6d00e51258435f27eb00c64c3fd7e047f531ad03 100755 --- a/src/Python/Medical/MedicalDemo2.py +++ b/src/Python/Medical/MedicalDemo2.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Medical/MedicalDemo3.py b/src/Python/Medical/MedicalDemo3.py index 54c42d14e7322f5411c0cacc0d1cb7db67405c4d..21de1ec7b3a1e2c5a011791ea4ac913dd9e4f77d 100755 --- a/src/Python/Medical/MedicalDemo3.py +++ b/src/Python/Medical/MedicalDemo3.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Medical/MedicalDemo4.py b/src/Python/Medical/MedicalDemo4.py index cd730a7574dd3b0ed3853df9ed07e8a2234bcdfb..e527a58f1e7842e08ca5e8f5cb0394e00d7850ee 100755 --- a/src/Python/Medical/MedicalDemo4.py +++ b/src/Python/Medical/MedicalDemo4.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Medical/TissueLens.py b/src/Python/Medical/TissueLens.py index 05e78d57322d5dfc9fb4c6f08d5f3b88190b4732..bf39573a520496bc6c6955935d461576b04e77a3 100755 --- a/src/Python/Medical/TissueLens.py +++ b/src/Python/Medical/TissueLens.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Meshes/BoundaryEdges.py b/src/Python/Meshes/BoundaryEdges.py index 2a2a2783979e4dadab209efcb7de11f7444f7474..3bb6b33303c28f566643fb41014ed8502b4eb69e 100755 --- a/src/Python/Meshes/BoundaryEdges.py +++ b/src/Python/Meshes/BoundaryEdges.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Meshes/CapClip.py b/src/Python/Meshes/CapClip.py index 6c218bc2e3d7854c6da942dddca851adaa024216..51ba802d2417c5447340c2e7a26a15d38f6d747f 100755 --- a/src/Python/Meshes/CapClip.py +++ b/src/Python/Meshes/CapClip.py @@ -2,7 +2,7 @@ import os.path -import vtk +import vtkmodules.all as vtk def get_program_parameters(): diff --git a/src/Python/Meshes/ClipDataSetWithPolyData.py b/src/Python/Meshes/ClipDataSetWithPolyData.py index bce1273dc0a6beac46448131ac5d1f1d1a5a3400..3087445c4488a32765a3dea64910f712c2a6807b 100755 --- a/src/Python/Meshes/ClipDataSetWithPolyData.py +++ b/src/Python/Meshes/ClipDataSetWithPolyData.py @@ -1,5 +1,5 @@ import numpy as np -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Meshes/ClipDataSetWithPolyData1.py b/src/Python/Meshes/ClipDataSetWithPolyData1.py index 2a31688b849abbdc94dab4f278bc742fd4a49a28..2742cfa735e82ae09267672c375ccec0bb28826b 100755 --- a/src/Python/Meshes/ClipDataSetWithPolyData1.py +++ b/src/Python/Meshes/ClipDataSetWithPolyData1.py @@ -1,5 +1,5 @@ import numpy as np -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Meshes/ColoredElevationMap.py b/src/Python/Meshes/ColoredElevationMap.py index b341c94fd0e1f19d4602f55e78876be3ea358831..3bd4b4006c923576601fd7b1fdae276d135e535b 100755 --- a/src/Python/Meshes/ColoredElevationMap.py +++ b/src/Python/Meshes/ColoredElevationMap.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): named_colors = vtk.vtkNamedColors() diff --git a/src/Python/Meshes/Decimation.py b/src/Python/Meshes/Decimation.py index db01e4ad9b8badcfc1ab1dbd295d759d600dbae8..b53d1bff19ea9081366ef1cf7def90ea07bd2772 100755 --- a/src/Python/Meshes/Decimation.py +++ b/src/Python/Meshes/Decimation.py @@ -2,7 +2,7 @@ import os.path -import vtk +import vtkmodules.all as vtk def get_program_parameters(): diff --git a/src/Python/Meshes/DeformPointSet.py b/src/Python/Meshes/DeformPointSet.py index 38193dbb0374d0b2be6418bf49420366afdaa4cb..2fb5f157ede98f8374925eca448a02189d26b373 100755 --- a/src/Python/Meshes/DeformPointSet.py +++ b/src/Python/Meshes/DeformPointSet.py @@ -1,4 +1,4 @@ -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Meshes/PointInterpolator.py b/src/Python/Meshes/PointInterpolator.py index 9c076eef6aeabd3e04ec7e95b64aa26ec7fed54e..77e14adfe8d080e5bbdc534aebbcf8a867efb2e1 100755 --- a/src/Python/Meshes/PointInterpolator.py +++ b/src/Python/Meshes/PointInterpolator.py @@ -2,7 +2,7 @@ import numpy as np -import vtk +import vtkmodules.all as vtk def get_program_parameters(): diff --git a/src/Python/Meshes/SolidClip.py b/src/Python/Meshes/SolidClip.py index c30418214a59bc7dee1cc299a8d6d8678e13e4a6..3ce24fe40b5bc39f5a748144603a40cd90b70195 100755 --- a/src/Python/Meshes/SolidClip.py +++ b/src/Python/Meshes/SolidClip.py @@ -1,7 +1,7 @@ # !/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Modelling/Bottle.py b/src/Python/Modelling/Bottle.py index 612b9907a4494ca8fa802d8b33dfd9b3a5643efe..a7317a5ea7d95c3e2fa5531728efcbc21176ea75 100755 --- a/src/Python/Modelling/Bottle.py +++ b/src/Python/Modelling/Bottle.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Modelling/CappedSphere.py b/src/Python/Modelling/CappedSphere.py index 462e4f28cc57acfeceac4118f08c076fe7734d96..c411150ceb9a0270da2549eeb338761dbdb3bf6c 100755 --- a/src/Python/Modelling/CappedSphere.py +++ b/src/Python/Modelling/CappedSphere.py @@ -2,7 +2,7 @@ import math -import vtk +import vtkmodules.all as vtk def get_program_parameters(): diff --git a/src/Python/Modelling/DelaunayMesh.py b/src/Python/Modelling/DelaunayMesh.py index 065c4f57293ca374df54a358555be8f8152093fb..4faaea5bc3fe36c0b844e96b8c1776f21b487f98 100755 --- a/src/Python/Modelling/DelaunayMesh.py +++ b/src/Python/Modelling/DelaunayMesh.py @@ -8,7 +8,7 @@ We create a fancy image of a 2D Delaunay triangulation. Points are randomly generated. """ -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Modelling/DiscreteMarchingCubes.py b/src/Python/Modelling/DiscreteMarchingCubes.py index 13d3603a920189a2ed544246e9c19031353f4dc9..220f0446bb72f571032515b1f03eb8480ff35c0e 100755 --- a/src/Python/Modelling/DiscreteMarchingCubes.py +++ b/src/Python/Modelling/DiscreteMarchingCubes.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Modelling/ExtractLargestIsosurface.py b/src/Python/Modelling/ExtractLargestIsosurface.py index 8f028eecd2939354f26bf6d5b2c24e445a78e3e4..eb04c6ecefc42b48f14a6aa6ae1844b15d92d33a 100755 --- a/src/Python/Modelling/ExtractLargestIsosurface.py +++ b/src/Python/Modelling/ExtractLargestIsosurface.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Modelling/Finance.py b/src/Python/Modelling/Finance.py index 3fa54f28a02bded8618bbf39e4a3cd33725d23dc..20c26cd0b5b20916d12aa4f6cc3cf855bc0f1003 100755 --- a/src/Python/Modelling/Finance.py +++ b/src/Python/Modelling/Finance.py @@ -3,7 +3,7 @@ ''' ''' -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Modelling/FinanceFieldData.py b/src/Python/Modelling/FinanceFieldData.py index 247a3628bc6e569f8759184e2cd4c09495cebcd9..2465988712a222cefe22983270b9e6817f3b1584 100755 --- a/src/Python/Modelling/FinanceFieldData.py +++ b/src/Python/Modelling/FinanceFieldData.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Modelling/MarchingCubes.py b/src/Python/Modelling/MarchingCubes.py index a95003efa0765d081eef2ea7f6861a17e2162ed5..8ee188c58038c88f0f33c0e22979e22e27cb9d71 100755 --- a/src/Python/Modelling/MarchingCubes.py +++ b/src/Python/Modelling/MarchingCubes.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Modelling/SmoothDiscreteMarchingCubes.py b/src/Python/Modelling/SmoothDiscreteMarchingCubes.py index 106085dd2159cc4611eb9e594dff087fcdfa25fa..1b68eb3104d5652a537408312342f9667f32ccb3 100755 --- a/src/Python/Modelling/SmoothDiscreteMarchingCubes.py +++ b/src/Python/Modelling/SmoothDiscreteMarchingCubes.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Modelling/Spring.py b/src/Python/Modelling/Spring.py index de28c8acea25435cf7a56b79389f06439d47c717..3626f7faa61d0a3f36e1001f7803455a87b55d3d 100755 --- a/src/Python/Modelling/Spring.py +++ b/src/Python/Modelling/Spring.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Picking/CellPicking.py b/src/Python/Picking/CellPicking.py index cbbe6c06ca79e997c99af8d8afbb9e34d9d84562..4f176f63f7d152702ab69670694c5ba275dc0e5b 100644 --- a/src/Python/Picking/CellPicking.py +++ b/src/Python/Picking/CellPicking.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk # Catch mouse events diff --git a/src/Python/Picking/HighlightPickedActor.py b/src/Python/Picking/HighlightPickedActor.py index 0f36db827566fb61368770597b7cccf1763aa154..52e96e48a03b9501a49a2ac1cd707442964672ad 100755 --- a/src/Python/Picking/HighlightPickedActor.py +++ b/src/Python/Picking/HighlightPickedActor.py @@ -1,4 +1,4 @@ -import vtk +import vtkmodules.all as vtk colors = vtk.vtkNamedColors() NUMBER_OF_SPHERES = 10 diff --git a/src/Python/Picking/HighlightWithSilhouette.py b/src/Python/Picking/HighlightWithSilhouette.py index 1b5584eccd4e9c7c48244970594c247859759caf..6eb79a862ed8a64dcccb066fcf05c8ab3837bfc5 100755 --- a/src/Python/Picking/HighlightWithSilhouette.py +++ b/src/Python/Picking/HighlightWithSilhouette.py @@ -1,6 +1,6 @@ # !/usr/bin/env python -import vtk +import vtkmodules.all as vtk def get_program_parameters(): diff --git a/src/Python/Plotting/MultiplePlots.py b/src/Python/Plotting/MultiplePlots.py index ca16e2609ddca044e3186fb198e766cf5f9acac7..02ca7d6c2da87af25793088767205802f104b789 100755 --- a/src/Python/Plotting/MultiplePlots.py +++ b/src/Python/Plotting/MultiplePlots.py @@ -1,6 +1,6 @@ import math -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Plotting/ScatterPlot.py b/src/Python/Plotting/ScatterPlot.py index e7f4a13153a9c55397c7eabad17816e9c9fc4aba..74293f2219893ca14591ea286e03c9469c78347c 100755 --- a/src/Python/Plotting/ScatterPlot.py +++ b/src/Python/Plotting/ScatterPlot.py @@ -2,7 +2,7 @@ import math -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Plotting/SpiderPlot.py b/src/Python/Plotting/SpiderPlot.py index c2d1a14e36ae2337feb9dfd524ece2509070be1d..b7c05f67d3e8a1611065ae0023599a26b145a69c 100755 --- a/src/Python/Plotting/SpiderPlot.py +++ b/src/Python/Plotting/SpiderPlot.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Plotting/SurfacePlot.py b/src/Python/Plotting/SurfacePlot.py index 07cd429636e7f17088bbca1d707bd1fb0e19d197..cddf91b45da0bca2f94904acb3303b8ccbcdde6a 100755 --- a/src/Python/Plotting/SurfacePlot.py +++ b/src/Python/Plotting/SurfacePlot.py @@ -1,7 +1,7 @@ #!/usr/bin/env python from math import sin, sqrt -import vtk +import vtkmodules.all as vtk def main(): colors = vtk.vtkNamedColors() diff --git a/src/Python/PolyData/AlignTwoPolyDatas.py b/src/Python/PolyData/AlignTwoPolyDatas.py index d2ae32b62801b8aa35952d69133b419e2c2417d3..9a363b773fc805c75172198762f74a401085dd78 100755 --- a/src/Python/PolyData/AlignTwoPolyDatas.py +++ b/src/Python/PolyData/AlignTwoPolyDatas.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def get_program_parameters(): diff --git a/src/Python/PolyData/BooleanOperationPolyDataFilter.py b/src/Python/PolyData/BooleanOperationPolyDataFilter.py index 9aac896eb8a5c5aa5c9b7c53c1169f55e834ac83..d37e0a32b0a0adb25a6738af1b7cfea2dfe5eb25 100755 --- a/src/Python/PolyData/BooleanOperationPolyDataFilter.py +++ b/src/Python/PolyData/BooleanOperationPolyDataFilter.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def get_program_parameters(): diff --git a/src/Python/PolyData/CellsInsideObject.py b/src/Python/PolyData/CellsInsideObject.py index 4f898b9d12c77877a1038d2ff6503590cea4438f..212efd99e3eb8e1435d0984387ff0f9e736a5d1c 100755 --- a/src/Python/PolyData/CellsInsideObject.py +++ b/src/Python/PolyData/CellsInsideObject.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def get_program_parameters(): diff --git a/src/Python/PolyData/ClosedSurface.py b/src/Python/PolyData/ClosedSurface.py index 1bc6a0086351a3e1e938a8617b559a5746adce73..1ee8308dc0eb8deff1d7a8b1b6c4851701e77062 100755 --- a/src/Python/PolyData/ClosedSurface.py +++ b/src/Python/PolyData/ClosedSurface.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def get_program_parameters(): diff --git a/src/Python/PolyData/ExtractPolyLinesFromPolyData.py b/src/Python/PolyData/ExtractPolyLinesFromPolyData.py index dda8cff1925ab95bab08b6900b0043c79eb4a509..e0aeec46c71fa3db1d087f7e9ca38cf80db64f2c 100755 --- a/src/Python/PolyData/ExtractPolyLinesFromPolyData.py +++ b/src/Python/PolyData/ExtractPolyLinesFromPolyData.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/PolyData/ExtractSelection.py b/src/Python/PolyData/ExtractSelection.py index 7a7bfb23a25093d6c9787764014f97a38c750c72..89fb287a744fddf4cf18b48f167558748f116308 100755 --- a/src/Python/PolyData/ExtractSelection.py +++ b/src/Python/PolyData/ExtractSelection.py @@ -3,7 +3,7 @@ converted from: - http://www.vtk.org/Wiki/VTK/Examples/Python/PolyData/ExtractSelectionCells ''' -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/PolyData/ExtractSelectionCells.py b/src/Python/PolyData/ExtractSelectionCells.py index a768bfa374304df3c477e7d48fd21b1ad5d9e075..33232127d774eff120b79fe7eea3763b0f61f181 100755 --- a/src/Python/PolyData/ExtractSelectionCells.py +++ b/src/Python/PolyData/ExtractSelectionCells.py @@ -3,7 +3,7 @@ converted from: - http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/ExtractSelectionCells ''' -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/PolyData/FilledPolygon.py b/src/Python/PolyData/FilledPolygon.py index cca1207360d14f1b7217a511e3d91d505b682f9a..248da897d790b94926567d57dba69364cf58fdfc 100755 --- a/src/Python/PolyData/FilledPolygon.py +++ b/src/Python/PolyData/FilledPolygon.py @@ -1,4 +1,4 @@ -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/PolyData/ImplicitPolyDataDistance.py b/src/Python/PolyData/ImplicitPolyDataDistance.py index d3111c9d24e72d0c6ba94dc08d37ff7a22fdd8c7..ec8aa1e11e82823f6d7f689f1cec0b46b4254b11 100755 --- a/src/Python/PolyData/ImplicitPolyDataDistance.py +++ b/src/Python/PolyData/ImplicitPolyDataDistance.py @@ -1,5 +1,5 @@ import numpy as np -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/PolyData/IterateOverLines.py b/src/Python/PolyData/IterateOverLines.py index ee94f5a91bb021f9f00c393a57c6965028cf79b3..fe77ef632968e6e08136ee0bd205b782d85e9cee 100755 --- a/src/Python/PolyData/IterateOverLines.py +++ b/src/Python/PolyData/IterateOverLines.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/PolyData/Outline.py b/src/Python/PolyData/Outline.py index 5ef49a984244dfafa226a1d09914ce88c28ef03b..a564206ef1f55b9a235cc452c71ff7123180cf4a 100755 --- a/src/Python/PolyData/Outline.py +++ b/src/Python/PolyData/Outline.py @@ -1,4 +1,4 @@ -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/PolyData/PointSource.py b/src/Python/PolyData/PointSource.py index 8e4e6d797793c68dc635bd9ec669b84c68870829..d7f3596d3220921f01a13c9e0441facefa538bf2 100755 --- a/src/Python/PolyData/PointSource.py +++ b/src/Python/PolyData/PointSource.py @@ -1,4 +1,4 @@ -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/PolyData/PolyDataContourToImageData.py b/src/Python/PolyData/PolyDataContourToImageData.py index 23974bafc8d3fa31978d5b5e392f8150c808027d..0b70908d12fb03452da8a15fef6031557326ae37 100755 --- a/src/Python/PolyData/PolyDataContourToImageData.py +++ b/src/Python/PolyData/PolyDataContourToImageData.py @@ -1,6 +1,6 @@ import math -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/PolyData/PolyDataToImageDataStencil.py b/src/Python/PolyData/PolyDataToImageDataStencil.py index 3a69a7dd273be4714187f919c33600b52b2e7f8c..640b3fa9d55f373ddcef82d569170eaca72172e9 100755 --- a/src/Python/PolyData/PolyDataToImageDataStencil.py +++ b/src/Python/PolyData/PolyDataToImageDataStencil.py @@ -1,4 +1,4 @@ -import vtk +import vtkmodules.all as vtk def get_program_parameters(): diff --git a/src/Python/PolyData/RotationAroundLine.py b/src/Python/PolyData/RotationAroundLine.py index 24f4cfc88c0075fb03eb187288a0b416095657ac..37f89829c56a4fe98ef64510baf480d30b7a94a0 100755 --- a/src/Python/PolyData/RotationAroundLine.py +++ b/src/Python/PolyData/RotationAroundLine.py @@ -1,4 +1,4 @@ -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/PolyData/RuledSurfaceFilter.py b/src/Python/PolyData/RuledSurfaceFilter.py index 9229d9f384b9a6524980494ecd0d142b869d13f4..577df7e2988d8d5c40ce54a5bbc9127e1c9e77b5 100755 --- a/src/Python/PolyData/RuledSurfaceFilter.py +++ b/src/Python/PolyData/RuledSurfaceFilter.py @@ -1,4 +1,4 @@ -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/PolyData/SmoothMeshGrid.py b/src/Python/PolyData/SmoothMeshGrid.py index 6a27b5bf1164408d67dc947e94e615e352ab12c8..07b012ea0f4eabe41e16c6bf005cb5f63316160a 100755 --- a/src/Python/PolyData/SmoothMeshGrid.py +++ b/src/Python/PolyData/SmoothMeshGrid.py @@ -1,7 +1,7 @@ #!/usr/bin/env python import numpy -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/PolyData/TriangleColoredPoints.py b/src/Python/PolyData/TriangleColoredPoints.py index 47e7ebe98746f3c503d1894423482bca93f0c568..d6ee7e694396330fe973f2287d4eaf4435eb33e2 100755 --- a/src/Python/PolyData/TriangleColoredPoints.py +++ b/src/Python/PolyData/TriangleColoredPoints.py @@ -1,4 +1,4 @@ -import vtk +import vtkmodules.all as vtk def get_program_parameters(): diff --git a/src/Python/PolyData/TriangleCornerVertices.py b/src/Python/PolyData/TriangleCornerVertices.py index 2d2ea8c47d153dad4f34de6e58b4e58893e90e0f..2d3208e9ef3655e18191759648c75051d212f6dd 100755 --- a/src/Python/PolyData/TriangleCornerVertices.py +++ b/src/Python/PolyData/TriangleCornerVertices.py @@ -1,4 +1,4 @@ -import vtk +import vtkmodules.all as vtk def get_program_parameters(): diff --git a/src/Python/PolyData/TriangleCorners.py b/src/Python/PolyData/TriangleCorners.py index ef5c51f56f9ccb0553df080261d3045a49c4bd6b..eb6de30f78fd8c3e07f5adc9c5e636dec2b9a0b2 100755 --- a/src/Python/PolyData/TriangleCorners.py +++ b/src/Python/PolyData/TriangleCorners.py @@ -1,4 +1,4 @@ -import vtk +import vtkmodules.all as vtk def get_program_parameters(): diff --git a/src/Python/PolyData/TubeFilter.py b/src/Python/PolyData/TubeFilter.py index 638973625f291ea541344fc9e862458b4ad58dd1..41cd23b8760240d9aa67959fa506264e234f3127 100755 --- a/src/Python/PolyData/TubeFilter.py +++ b/src/Python/PolyData/TubeFilter.py @@ -6,7 +6,7 @@ # while the thickness of a tube varies. -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/PolyData/WarpVector.py b/src/Python/PolyData/WarpVector.py index e9c65f853e5c6b09cefe04c1bc8affa336387a60..14f0fac49027c54160cf9a04fdab9ebe6dfe065c 100755 --- a/src/Python/PolyData/WarpVector.py +++ b/src/Python/PolyData/WarpVector.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Problems/ImplicitFunctions/ImplicitDataSet.py b/src/Python/Problems/ImplicitFunctions/ImplicitDataSet.py index 05b0c9eceaeee357d6aec33d7426ef18e2c1d4d8..ccbe3e2480d731be99172539974b95a5af7c611e 100755 --- a/src/Python/Problems/ImplicitFunctions/ImplicitDataSet.py +++ b/src/Python/Problems/ImplicitFunctions/ImplicitDataSet.py @@ -1,7 +1,7 @@ # Example in which a cube is used to define an implicit function (through vtkImplicitDataSet) # which is then used to clip a sphere -import vtk +import vtkmodules.all as vtk sphere = vtk.vtkSphereSource() sphere.SetCenter(1, 1, 1) diff --git a/src/Python/Problems/Visualization/UnstructuredTransientVolumeRendering.py b/src/Python/Problems/Visualization/UnstructuredTransientVolumeRendering.py index f38ecc259fac480137a78072463473010d8ccfc3..34fafa800732355d35ad3f2a4b9cd588bbc5a93e 100755 --- a/src/Python/Problems/Visualization/UnstructuredTransientVolumeRendering.py +++ b/src/Python/Problems/Visualization/UnstructuredTransientVolumeRendering.py @@ -1,6 +1,6 @@ #!/usr/bin/env python from __future__ import print_function -import vtk +import vtkmodules.all as vtk tse = vtk.vtkTimeSourceExample() ex = tse.GetExecutive() diff --git a/src/Python/RectilinearGrid/RGrid.py b/src/Python/RectilinearGrid/RGrid.py index f98afb80befc2627220d90f034dbbac674f9ac5d..2d8c7e98b2629ba43ae97bb60c9294779c096f04 100755 --- a/src/Python/RectilinearGrid/RGrid.py +++ b/src/Python/RectilinearGrid/RGrid.py @@ -4,7 +4,7 @@ This example shows how to create a rectilinear grid. """ -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/RectilinearGrid/RectilinearGrid.py b/src/Python/RectilinearGrid/RectilinearGrid.py index f0a043acea5ca422ca523d4eb695e6d2fb790290..10a17df9cf44541623be1e1bfbe5f95fca2df4cf 100755 --- a/src/Python/RectilinearGrid/RectilinearGrid.py +++ b/src/Python/RectilinearGrid/RectilinearGrid.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/RectilinearGrid/VisualizeRectilinearGrid.py b/src/Python/RectilinearGrid/VisualizeRectilinearGrid.py index 0f7bde181ed9d6c8fad51f74051d806215407e83..3e97cf88b7869f3d5b924a7b41b20ec28e16fadd 100755 --- a/src/Python/RectilinearGrid/VisualizeRectilinearGrid.py +++ b/src/Python/RectilinearGrid/VisualizeRectilinearGrid.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Rendering/AmbientSpheres.py b/src/Python/Rendering/AmbientSpheres.py index c5be44c0ea2b9f7e57e6fac5a6d8187b3feb09d6..9828304e4d7d75da15b3d224176f9c4e673279f4 100755 --- a/src/Python/Rendering/AmbientSpheres.py +++ b/src/Python/Rendering/AmbientSpheres.py @@ -1,6 +1,6 @@ # !/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Rendering/CameraBlur.py b/src/Python/Rendering/CameraBlur.py index d4892cb845b74a026b391769dff1475b3534bfda..bc85fbcb70462f7e2810eedbdddbf16c67d64a80 100755 --- a/src/Python/Rendering/CameraBlur.py +++ b/src/Python/Rendering/CameraBlur.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Rendering/ColoredSphere.py b/src/Python/Rendering/ColoredSphere.py index 22ad98320ec5bb846026051216c7e32d849a2b07..3bd1c22f18893d5f9948162b353039740294a60a 100755 --- a/src/Python/Rendering/ColoredSphere.py +++ b/src/Python/Rendering/ColoredSphere.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Rendering/Cone3.py b/src/Python/Rendering/Cone3.py index 40208ccf4664bb8d27e43792899ee00e181c2ca5..22a2557c6b44657f490b368c6a929dbbdfc0efa7 100755 --- a/src/Python/Rendering/Cone3.py +++ b/src/Python/Rendering/Cone3.py @@ -9,7 +9,7 @@ import time -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Rendering/Cone4.py b/src/Python/Rendering/Cone4.py index 9b2728272b68759737236e2aff42d559d760d2be..b8b8de0f407cd9cf85ffb04a6ece652989c0e6fe 100755 --- a/src/Python/Rendering/Cone4.py +++ b/src/Python/Rendering/Cone4.py @@ -4,7 +4,7 @@ import time -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Rendering/DiffuseSpheres.py b/src/Python/Rendering/DiffuseSpheres.py index bae96003e5786dec220284fd6ed156064a896327..c02b30979eb74b944f0229c5851250d32695074a 100755 --- a/src/Python/Rendering/DiffuseSpheres.py +++ b/src/Python/Rendering/DiffuseSpheres.py @@ -1,6 +1,6 @@ # !/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Rendering/FlatVersusGouraud.py b/src/Python/Rendering/FlatVersusGouraud.py index 3a40fe3913148444aeb03de92d59940b146819d2..c2cb237f7c1952fb53d48964e83ca52b21e78c1d 100755 --- a/src/Python/Rendering/FlatVersusGouraud.py +++ b/src/Python/Rendering/FlatVersusGouraud.py @@ -3,7 +3,7 @@ from collections import OrderedDict -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Rendering/Mace.py b/src/Python/Rendering/Mace.py index a9b7784bf78e68dad70038cb3480d5390fbeb5a1..da37dfec6a983b1a63975f36a8ac4b47b207ee97 100755 --- a/src/Python/Rendering/Mace.py +++ b/src/Python/Rendering/Mace.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Rendering/Model.py b/src/Python/Rendering/Model.py index 565a50daa14b90e00f53669274851407b917a06f..4f12ba4fd540148a1328613d8ae3cd5f010b3a97 100755 --- a/src/Python/Rendering/Model.py +++ b/src/Python/Rendering/Model.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Rendering/MotionBlur.py b/src/Python/Rendering/MotionBlur.py index d4fe8ec9fc67ce1db1ea6428d36597d8fe7bfa96..a58876b6cf7fd19ddb3dd800e380a6d924ea603b 100755 --- a/src/Python/Rendering/MotionBlur.py +++ b/src/Python/Rendering/MotionBlur.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Rendering/OutlineGlowPass.py b/src/Python/Rendering/OutlineGlowPass.py index d7c1c2ce3c33e6777d842168de17e2fb05cdb18d..ba2a3508e56db9087c631e7f77e622c00c45491a 100755 --- a/src/Python/Rendering/OutlineGlowPass.py +++ b/src/Python/Rendering/OutlineGlowPass.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def get_program_parameters(): diff --git a/src/Python/Rendering/PBR_Skybox.py b/src/Python/Rendering/PBR_Skybox.py index 4175c4d954cb78d09528458001a81b34e291e7fc..bea4f72cbc7a4af8693698f35011483fabfd85e9 100755 --- a/src/Python/Rendering/PBR_Skybox.py +++ b/src/Python/Rendering/PBR_Skybox.py @@ -3,7 +3,7 @@ from pathlib import Path from pathlib import PurePath -import vtk +import vtkmodules.all as vtk def get_program_parameters(): diff --git a/src/Python/Rendering/PBR_Skybox_Anisotropy.py b/src/Python/Rendering/PBR_Skybox_Anisotropy.py index 272339e01fc637a9c9562be4688eca65508d44b8..b72318edf778d9a91f7382f670e6b6cb1d5508b6 100755 --- a/src/Python/Rendering/PBR_Skybox_Anisotropy.py +++ b/src/Python/Rendering/PBR_Skybox_Anisotropy.py @@ -3,7 +3,7 @@ from pathlib import Path from pathlib import PurePath -import vtk +import vtkmodules.all as vtk def get_program_parameters(): diff --git a/src/Python/Rendering/PBR_Skybox_Texturing.py b/src/Python/Rendering/PBR_Skybox_Texturing.py index 897d5be6542181939c3a6de7f4b8c2bf3311e560..737eadf26dcbc1bc84857d60eb111cc9f6ade461 100755 --- a/src/Python/Rendering/PBR_Skybox_Texturing.py +++ b/src/Python/Rendering/PBR_Skybox_Texturing.py @@ -3,7 +3,7 @@ from pathlib import Path from pathlib import PurePath -import vtk +import vtkmodules.all as vtk def get_program_parameters(): diff --git a/src/Python/Rendering/Rainbow.py b/src/Python/Rendering/Rainbow.py index 6119ace72c52f2fd5d7bc119543d6f49eb5145f0..e769441d4ca8cce776151533a2ee8a2de73ac871 100755 --- a/src/Python/Rendering/Rainbow.py +++ b/src/Python/Rendering/Rainbow.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Rendering/Rotations.py b/src/Python/Rendering/Rotations.py index 93315f7936d9626adca1541dca54ce06ae2a40c0..3616495352a75ec2965895d01a49cc7efbbc8b0d 100755 --- a/src/Python/Rendering/Rotations.py +++ b/src/Python/Rendering/Rotations.py @@ -1,6 +1,6 @@ #!/usr/local/bin/python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Rendering/Shadows.py b/src/Python/Rendering/Shadows.py index dec3befb46035bf8e2b145e344fd73c6b48a44ea..ab74ac5594df9237f920b772c0449088772c2270 100755 --- a/src/Python/Rendering/Shadows.py +++ b/src/Python/Rendering/Shadows.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def get_program_parameters(): diff --git a/src/Python/Rendering/SpecularSpheres.py b/src/Python/Rendering/SpecularSpheres.py index b5d02d193a98a074107ee341cbe0b54e5a2142ef..4249cf99fe1aecbc6ff8e683f11dbdb47d3546a3 100755 --- a/src/Python/Rendering/SpecularSpheres.py +++ b/src/Python/Rendering/SpecularSpheres.py @@ -1,6 +1,6 @@ # !/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Rendering/StippledLine.py b/src/Python/Rendering/StippledLine.py index 89bf76587df045274a7088668f30bbf26f017b45..b58bf54dccb3a697dfa642ec7aa1d6959445c89a 100755 --- a/src/Python/Rendering/StippledLine.py +++ b/src/Python/Rendering/StippledLine.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Rendering/StripFran.py b/src/Python/Rendering/StripFran.py index 17494f7f534a954cb5b58f17f6a04496d8f1be93..59b03018f802f400b158ade35f112120a49d0f63 100755 --- a/src/Python/Rendering/StripFran.py +++ b/src/Python/Rendering/StripFran.py @@ -3,7 +3,7 @@ ''' ''' -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Rendering/TransformSphere.py b/src/Python/Rendering/TransformSphere.py index 67bd0fdcd8284c38ce059292031ff6beef0807b5..6d875601dc7c7ab579153812eedf9fb8d8c7db81 100755 --- a/src/Python/Rendering/TransformSphere.py +++ b/src/Python/Rendering/TransformSphere.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Rendering/TransparentBackground.py b/src/Python/Rendering/TransparentBackground.py index d39f2651051a6c7be4d57b0e7677d69c0fbab287..0f2267c70ce26231e222d58c34fbe17f43e6c8b2 100755 --- a/src/Python/Rendering/TransparentBackground.py +++ b/src/Python/Rendering/TransparentBackground.py @@ -9,7 +9,7 @@ 6. Pressing '1' on the keyboard will let you manipulate the objects in layer 1. """ -import vtk +import vtkmodules.all as vtk def GenerateAndDisplayCubeAndSphere(): diff --git a/src/Python/Rendering/WalkCow.py b/src/Python/Rendering/WalkCow.py index 86f98ae6091c59c5dcc74216cb05edd94e84705c..59b36758fe1ce90c9e51c8357e59881b7e53cd55 100755 --- a/src/Python/Rendering/WalkCow.py +++ b/src/Python/Rendering/WalkCow.py @@ -2,7 +2,7 @@ # Translated from walkCow.tcl -import vtk +import vtkmodules.all as vtk def walk_cow(file_name, figure): figure = abs(figure) diff --git a/src/Python/SimpleOperations/DistanceBetweenPoints.py b/src/Python/SimpleOperations/DistanceBetweenPoints.py index 4afafdde71fcbb1750b33cd33d18c265b646687d..8cf7ac38991051c010fde278a27f3a40f5c064a0 100755 --- a/src/Python/SimpleOperations/DistanceBetweenPoints.py +++ b/src/Python/SimpleOperations/DistanceBetweenPoints.py @@ -2,7 +2,7 @@ import math -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/StructuredGrid/SGrid.py b/src/Python/StructuredGrid/SGrid.py index ad1729d038a36b27a478dd77913046f8979b43c9..7017bef08996fb0c081a92992dbd15e205f1f2b9 100755 --- a/src/Python/StructuredGrid/SGrid.py +++ b/src/Python/StructuredGrid/SGrid.py @@ -11,7 +11,7 @@ The basic idea is to instantiate vtkStructuredGrid, set its dimensions, import math -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/StructuredPoints/Vol.py b/src/Python/StructuredPoints/Vol.py index bd3d72e56d26d82c9969ed3d20b53525bd0b1dff..34531b31d995bf47fa96aadd03b04c9ce9c3b02d 100755 --- a/src/Python/StructuredPoints/Vol.py +++ b/src/Python/StructuredPoints/Vol.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Texture/AnimateVectors.py b/src/Python/Texture/AnimateVectors.py index 608ef008efc30d9585b8a620d912e3d001c64269..464a0814d14fbb1867490826269e9827d7f154b7 100755 --- a/src/Python/Texture/AnimateVectors.py +++ b/src/Python/Texture/AnimateVectors.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Texture/TextureCutQuadric.py b/src/Python/Texture/TextureCutQuadric.py index e95bd5a291fe0d12b242237f37ec31aa379c8dea..281b1bf2ed280c690b8bbd2169d8f94e5d3b40b7 100755 --- a/src/Python/Texture/TextureCutQuadric.py +++ b/src/Python/Texture/TextureCutQuadric.py @@ -3,7 +3,7 @@ ''' ''' -import vtk +import vtkmodules.all as vtk positions = [ [-4, 4, 0], [-2, 4, 0], [0, 4, 0], [2, 4, 0], diff --git a/src/Python/Texture/TextureCutSphere.py b/src/Python/Texture/TextureCutSphere.py index 151d7ffbe42287b0b23c820b1b4829800c836f70..0bfd81cdd469485431fbdfa5385e9a2d1d582a7a 100755 --- a/src/Python/Texture/TextureCutSphere.py +++ b/src/Python/Texture/TextureCutSphere.py @@ -3,7 +3,7 @@ ''' ''' -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Texture/TexturePlane.py b/src/Python/Texture/TexturePlane.py index 4d6a41531168d0641f0df1e948e3da8ec8434b26..9d481f794e05d3a79193f4c36fa0f9e414b6b259 100755 --- a/src/Python/Texture/TexturePlane.py +++ b/src/Python/Texture/TexturePlane.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Texture/TextureThreshold.py b/src/Python/Texture/TextureThreshold.py index aa2e8493ba91926b1cd3c69b6b7100a38ad75cff..32c1f41fc845da1fe693c3f0f6c64bb46f5e41cb 100755 --- a/src/Python/Texture/TextureThreshold.py +++ b/src/Python/Texture/TextureThreshold.py @@ -2,7 +2,7 @@ # Modified from VTK/Filters/Texture/Testing/Python/textureThreshold.py. -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Tutorial/Tutorial_Step1.py b/src/Python/Tutorial/Tutorial_Step1.py index c404dcc722fca5b0e6b33a9f08e787433e088317..2944acc3d48be39ef7f5938470b64283b3413467 100755 --- a/src/Python/Tutorial/Tutorial_Step1.py +++ b/src/Python/Tutorial/Tutorial_Step1.py @@ -16,7 +16,7 @@ """ # First access the VTK module (and any other needed modules) by importing them. -import vtk +import vtkmodules.all as vtk def main(argv): diff --git a/src/Python/Tutorial/Tutorial_Step2.py b/src/Python/Tutorial/Tutorial_Step2.py index cce583e99b3ebcbb82c636bc0e04676363ac866e..f805fd36ef79f3bf08aac12edfc7cc073c88aa46 100755 --- a/src/Python/Tutorial/Tutorial_Step2.py +++ b/src/Python/Tutorial/Tutorial_Step2.py @@ -16,7 +16,7 @@ """ # First access the VTK module (and any other needed modules) by importing them. -import vtk +import vtkmodules.all as vtk def main(argv): diff --git a/src/Python/Tutorial/Tutorial_Step3.py b/src/Python/Tutorial/Tutorial_Step3.py index 6128c6cf182645997dac3ca18c7060e18b5c1d19..ca29df8a5b0ff1ac06796a0560c6ea3a10f575de 100755 --- a/src/Python/Tutorial/Tutorial_Step3.py +++ b/src/Python/Tutorial/Tutorial_Step3.py @@ -16,7 +16,7 @@ """ # First access the VTK module (and any other needed modules) by importing them. -import vtk +import vtkmodules.all as vtk def main(argv): diff --git a/src/Python/Tutorial/Tutorial_Step4.py b/src/Python/Tutorial/Tutorial_Step4.py index dc1412599462a4531ec539fd846f16f51a91e9b2..f6dd5c7f70510b9aec6084ed6eb87d276db8f7f2 100755 --- a/src/Python/Tutorial/Tutorial_Step4.py +++ b/src/Python/Tutorial/Tutorial_Step4.py @@ -16,7 +16,7 @@ """ # First access the VTK module (and any other needed modules) by importing them. -import vtk +import vtkmodules.all as vtk def main(argv): diff --git a/src/Python/Tutorial/Tutorial_Step5.py b/src/Python/Tutorial/Tutorial_Step5.py index 09fc0ee18fcfda96bd5666dfdccf8f17cb40593b..b8cd4678bbdbca275e659118163a984a256cdaba 100755 --- a/src/Python/Tutorial/Tutorial_Step5.py +++ b/src/Python/Tutorial/Tutorial_Step5.py @@ -16,7 +16,7 @@ """ # First access the VTK module (and any other needed modules) by importing them. -import vtk +import vtkmodules.all as vtk def main(argv): diff --git a/src/Python/Tutorial/Tutorial_Step6.py b/src/Python/Tutorial/Tutorial_Step6.py index 4a6a2797bf1d8627a0cbd88341622b9bc2ba162b..7c09bdda7873945fe62856f5942a0747e4a958b5 100755 --- a/src/Python/Tutorial/Tutorial_Step6.py +++ b/src/Python/Tutorial/Tutorial_Step6.py @@ -16,7 +16,7 @@ """ # First access the VTK module (and any other needed modules) by importing them. -import vtk +import vtkmodules.all as vtk def main(argv): diff --git a/src/Python/UnstructuredGrid/ClipUnstructuredGridWithPlane.py b/src/Python/UnstructuredGrid/ClipUnstructuredGridWithPlane.py index e96e65a3ddd142e38576d52f0a3b085486058a0b..dfba1212a9d887ef07a7bad6a067b16a77020395 100755 --- a/src/Python/UnstructuredGrid/ClipUnstructuredGridWithPlane.py +++ b/src/Python/UnstructuredGrid/ClipUnstructuredGridWithPlane.py @@ -2,7 +2,7 @@ import collections -import vtk +import vtkmodules.all as vtk def get_program_parameters(): diff --git a/src/Python/UnstructuredGrid/ClipUnstructuredGridWithPlane2.py b/src/Python/UnstructuredGrid/ClipUnstructuredGridWithPlane2.py index 460977438135a19a327157ed1e00ee9566df57da..cdc93548a1d3a5fc924e8841bab79b7d8092993c 100755 --- a/src/Python/UnstructuredGrid/ClipUnstructuredGridWithPlane2.py +++ b/src/Python/UnstructuredGrid/ClipUnstructuredGridWithPlane2.py @@ -2,7 +2,7 @@ import collections -import vtk +import vtkmodules.all as vtk def get_program_parameters(): diff --git a/src/Python/UnstructuredGrid/UGrid.py b/src/Python/UnstructuredGrid/UGrid.py index 5c7e47e4e91d6f51a965a5942914fc1e4d392e68..595e10af22c786077b5a12f84b3f96f47560f08b 100755 --- a/src/Python/UnstructuredGrid/UGrid.py +++ b/src/Python/UnstructuredGrid/UGrid.py @@ -4,7 +4,7 @@ This example shows how to create an unstructured grid. ''' -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Utilities/Animation.py b/src/Python/Utilities/Animation.py index a3551fbe79dc7fd61516b8a348de933d0b4a8f72..31dfecc0b30e144fd823015f860f47b7e5bd5e69 100755 --- a/src/Python/Utilities/Animation.py +++ b/src/Python/Utilities/Animation.py @@ -1,4 +1,4 @@ -import vtk +import vtkmodules.all as vtk class vtkTimerCallback(): diff --git a/src/Python/Utilities/LUTUtilities.py b/src/Python/Utilities/LUTUtilities.py index f92d4aa3388c2769893c6bc9abd7e04f71cf610e..e7dae1b3b6fb246decb95669ca03d8ea6e73eb5e 100755 --- a/src/Python/Utilities/LUTUtilities.py +++ b/src/Python/Utilities/LUTUtilities.py @@ -5,7 +5,7 @@ from __future__ import print_function import sys -import vtk +import vtkmodules.all as vtk class LUTUtilities(object): diff --git a/src/Python/Utilities/SaveSceneToFieldData.py b/src/Python/Utilities/SaveSceneToFieldData.py index c2617f516d02570dc4b3de5999476ec24c521ff9..58bfec57a855a6fc1c9f838dc104894c211e8153 100755 --- a/src/Python/Utilities/SaveSceneToFieldData.py +++ b/src/Python/Utilities/SaveSceneToFieldData.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Utilities/SaveSceneToFile.py b/src/Python/Utilities/SaveSceneToFile.py index 355f66ba1a95cc80608bf67ce568d3b991028d4d..2b7fa1c03632140129bee2bddd6ec016f7f267d5 100755 --- a/src/Python/Utilities/SaveSceneToFile.py +++ b/src/Python/Utilities/SaveSceneToFile.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Utilities/Screenshot.py b/src/Python/Utilities/Screenshot.py index cebdb5e3a7ea2c34e0fe0df9571cbba53669cb1a..83adc762bc15a1ed01f6b81470a4ae5175506945 100755 --- a/src/Python/Utilities/Screenshot.py +++ b/src/Python/Utilities/Screenshot.py @@ -1,4 +1,4 @@ -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Utilities/ShareCamera.py b/src/Python/Utilities/ShareCamera.py index eec666791ae8e94493e1cc5779c5f21ac1320404..ce6e65de116773adc254819786b0794efbe56af6 100755 --- a/src/Python/Utilities/ShareCamera.py +++ b/src/Python/Utilities/ShareCamera.py @@ -1,4 +1,4 @@ -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Utilities/VTKVersion.py b/src/Python/Utilities/VTKVersion.py index f3daccd1e76c10f01bb2c0a3019f6af3ebba8e7c..4a7a737fc37dd36b13e2d7a5697bb2c7a1d6727a 100755 --- a/src/Python/Utilities/VTKVersion.py +++ b/src/Python/Utilities/VTKVersion.py @@ -1,5 +1,5 @@ from __future__ import print_function -import vtk +import vtkmodules.all as vtk print(vtk.vtkVersion.GetVTKSourceVersion()) diff --git a/src/Python/Utilities/VTKWithNumpy.py b/src/Python/Utilities/VTKWithNumpy.py index 56943d940b6ec7d76b55918522ce326247711426..a00a1a87ea99da97e267bbfca31304c224f5f12a 100755 --- a/src/Python/Utilities/VTKWithNumpy.py +++ b/src/Python/Utilities/VTKWithNumpy.py @@ -1,7 +1,7 @@ # An example from scipy cookbook demonstrating the use of numpy arrays in vtk import numpy as np -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Utilities/Variant.py b/src/Python/Utilities/Variant.py index 884f37fed8701c6f5de174aaf080a5b6125986f0..4e1916a896eeed688885509b288ccbf38dcdfa80 100755 --- a/src/Python/Utilities/Variant.py +++ b/src/Python/Utilities/Variant.py @@ -2,7 +2,7 @@ from __future__ import print_function import sys -import vtk +import vtkmodules.all as vtk # Unicode string for demonstration (etre with circumflex) if sys.hexversion >= 0x03000000: diff --git a/src/Python/Visualization/AlphaFrequency.py b/src/Python/Visualization/AlphaFrequency.py index 5bcb9e1768049fb0ad989297fe16f8736c35cbd4..0d060df640ddd04ccc564ccf360f105841835243 100755 --- a/src/Python/Visualization/AlphaFrequency.py +++ b/src/Python/Visualization/AlphaFrequency.py @@ -3,7 +3,7 @@ import re from collections import Counter -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Visualization/AssignCellColorsFromLUT.py b/src/Python/Visualization/AssignCellColorsFromLUT.py index 7f96c5a0ade3e983d2d2160a16cd555ce4bd1e68..6f769bb9063affba58990c1a450a595526c3f215 100755 --- a/src/Python/Visualization/AssignCellColorsFromLUT.py +++ b/src/Python/Visualization/AssignCellColorsFromLUT.py @@ -19,7 +19,7 @@ The top row of the display uses the color transfer function to create a The bottom row of the display uses a lookup table of predefined colors. """ -import vtk +import vtkmodules.all as vtk def MakeLUT(tableSize): diff --git a/src/Python/Visualization/BlobbyLogo.py b/src/Python/Visualization/BlobbyLogo.py index 7a1a33bec82e93e429c9b789d86563209655b914..49164b33a9b99be45e537f4ba264bd56ddf29532 100755 --- a/src/Python/Visualization/BlobbyLogo.py +++ b/src/Python/Visualization/BlobbyLogo.py @@ -3,7 +3,7 @@ ''' ''' -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Visualization/Blow.py b/src/Python/Visualization/Blow.py index b0a036cb27f6113b32dbdb1efd480b2321bbd5f0..d297fc443474dc57f7ae88fed44d324a586976fe 100755 --- a/src/Python/Visualization/Blow.py +++ b/src/Python/Visualization/Blow.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Visualization/CameraModel1.py b/src/Python/Visualization/CameraModel1.py index 277dfaa8e5977354ccdc57852f1e98bc80ac4f32..91183d9b80511bd36fae33ebe5a891d8487e2a99 100755 --- a/src/Python/Visualization/CameraModel1.py +++ b/src/Python/Visualization/CameraModel1.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Visualization/CameraModel2.py b/src/Python/Visualization/CameraModel2.py index 21e5bf4d69a1f74efbc445b3a69e7a49c2fb59c9..632102cf5ed7c30507b2559a37056246cea09e91 100755 --- a/src/Python/Visualization/CameraModel2.py +++ b/src/Python/Visualization/CameraModel2.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Visualization/ClampGlyphSizes.py b/src/Python/Visualization/ClampGlyphSizes.py index 798b78cedabdf75b4adec984d70e9a3248154485..8017782e8c9bafbff9a0acdad3a9ba15c804d8e8 100755 --- a/src/Python/Visualization/ClampGlyphSizes.py +++ b/src/Python/Visualization/ClampGlyphSizes.py @@ -14,7 +14,7 @@ # minimum size to your glyphs, then you can set the Range as something like [-0.5, 1] -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Visualization/CollisionDetection.py b/src/Python/Visualization/CollisionDetection.py index c3266b31e9922981a74d57d111129edadebb7680..7ddbf407cdfa03e36c1feb667f9867471512fca9 100755 --- a/src/Python/Visualization/CollisionDetection.py +++ b/src/Python/Visualization/CollisionDetection.py @@ -2,7 +2,7 @@ import time -import vtk +import vtkmodules.all as vtk def get_program_parameters(): diff --git a/src/Python/Visualization/ColorAnActor.py b/src/Python/Visualization/ColorAnActor.py index 5f5317da3e1e3b729156fe6e51178c2ecd4b89a1..42ee94b05cf6b2280f0807ca9d04a93f0be63360 100755 --- a/src/Python/Visualization/ColorAnActor.py +++ b/src/Python/Visualization/ColorAnActor.py @@ -1,4 +1,4 @@ -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Visualization/ComplexV.py b/src/Python/Visualization/ComplexV.py index 2858e13034abec1e9b63828884a242d21bf826ac..441d0e97970391651751ed2eb068c3ec8e90ec3d 100755 --- a/src/Python/Visualization/ComplexV.py +++ b/src/Python/Visualization/ComplexV.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Visualization/CreateColorSeriesDemo.py b/src/Python/Visualization/CreateColorSeriesDemo.py index 6d241afae6b9fd86aae778f1baf018d5e96fdfe0..4e5d7c7415a179a0b90db96c2ad1e136a2fe7bd5 100755 --- a/src/Python/Visualization/CreateColorSeriesDemo.py +++ b/src/Python/Visualization/CreateColorSeriesDemo.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def get_program_parameters(): diff --git a/src/Python/Visualization/CubeAxesActor.py b/src/Python/Visualization/CubeAxesActor.py index c5173024744c3d767556c90768ceed93e3b8a25a..8760965ffa455817e7eb0546bad4062bbbad0d4c 100755 --- a/src/Python/Visualization/CubeAxesActor.py +++ b/src/Python/Visualization/CubeAxesActor.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Visualization/DisplayCoordinateAxes.py b/src/Python/Visualization/DisplayCoordinateAxes.py index eec4d4215632fc8ce475f54a5c77d3bd3b0ee2d5..7ee955d4efdd92b683c0874416007fe42e4edfbc 100755 --- a/src/Python/Visualization/DisplayCoordinateAxes.py +++ b/src/Python/Visualization/DisplayCoordinateAxes.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Visualization/DisplayQuadricSurfaces.py b/src/Python/Visualization/DisplayQuadricSurfaces.py index e34e7cdbaee2a255fa53dded56febb576c69a0f3..d4cee5d0a899978636a5d4e0f12422dc3b30e478 100755 --- a/src/Python/Visualization/DisplayQuadricSurfaces.py +++ b/src/Python/Visualization/DisplayQuadricSurfaces.py @@ -1,6 +1,6 @@ #!/usr/bin/python -import vtk +import vtkmodules.all as vtk def Sphere(): diff --git a/src/Python/Visualization/Frog.py b/src/Python/Visualization/Frog.py index d96791360e14422694fccfd6273b59ccb6523fa9..a82c29311c196b49803444e227cd674b8329e016 100755 --- a/src/Python/Visualization/Frog.py +++ b/src/Python/Visualization/Frog.py @@ -2,7 +2,7 @@ from pathlib import Path -import vtk +import vtkmodules.all as vtk def get_program_parameters(argv): diff --git a/src/Python/Visualization/FrogBrain.py b/src/Python/Visualization/FrogBrain.py index 81e699a936435260002b8dc267f5bdd2368e460c..839d365d3d858d9f07444720910dcd111f3f1678 100755 --- a/src/Python/Visualization/FrogBrain.py +++ b/src/Python/Visualization/FrogBrain.py @@ -2,7 +2,7 @@ from pathlib import Path -import vtk +import vtkmodules.all as vtk def get_program_parameters(argv): diff --git a/src/Python/Visualization/FrogDemo.py b/src/Python/Visualization/FrogDemo.py index 6368fdb43d956a019395ea24d5877146d78f40d3..016d3430e74f6c5427a9ba81d7d4cdf33600d9d8 100755 --- a/src/Python/Visualization/FrogDemo.py +++ b/src/Python/Visualization/FrogDemo.py @@ -2,7 +2,7 @@ from pathlib import Path -import vtk +import vtkmodules.all as vtk def get_program_parameters(argv): diff --git a/src/Python/Visualization/FrogReconstruction.py b/src/Python/Visualization/FrogReconstruction.py index d16aecce6ab137b8f6fbfdfcd64b222b2f46afe3..2e569ba0375b0f07cd0591b918a8c18e5a56d7d5 100755 --- a/src/Python/Visualization/FrogReconstruction.py +++ b/src/Python/Visualization/FrogReconstruction.py @@ -3,7 +3,7 @@ import collections from pathlib import Path -import vtk +import vtkmodules.all as vtk def get_program_parameters(argv): diff --git a/src/Python/Visualization/FrogSlice.py b/src/Python/Visualization/FrogSlice.py index a8b07f9a1dfe52286246f03c5c010446d806a458..08d11461ab7947bef5b7376e966d3f997385b476 100755 --- a/src/Python/Visualization/FrogSlice.py +++ b/src/Python/Visualization/FrogSlice.py @@ -2,7 +2,7 @@ from pathlib import Path -import vtk +import vtkmodules.all as vtk def get_program_parameters(argv): diff --git a/src/Python/Visualization/GlyphTable.py b/src/Python/Visualization/GlyphTable.py index 32015e4352a05ff2ff049a683bcca85cab84ff07..bcd0275d7a2af8b8dc652ef80d77b98d231c585c 100755 --- a/src/Python/Visualization/GlyphTable.py +++ b/src/Python/Visualization/GlyphTable.py @@ -1,4 +1,4 @@ -import vtk +import vtkmodules.all as vtk # This example uses a "glyph table" to change the shape of the 3d glyphs diff --git a/src/Python/Visualization/Hanoi.py b/src/Python/Visualization/Hanoi.py index 770e3b861a6e0f39508096a7bfc230cb56ddab73..67662f12a1f5e7591c9d0abe426bdaf5f50eb7fd 100755 --- a/src/Python/Visualization/Hanoi.py +++ b/src/Python/Visualization/Hanoi.py @@ -2,7 +2,7 @@ # Translated from Hanoi.cxx. -import vtk +import vtkmodules.all as vtk class GV(object): diff --git a/src/Python/Visualization/HardwareSelector.py b/src/Python/Visualization/HardwareSelector.py index 76c3ea1acd2ebebecd8ea909a14df9d2c9352144..54453bf9af3179a5e651adc51d2754e215b7d725 100755 --- a/src/Python/Visualization/HardwareSelector.py +++ b/src/Python/Visualization/HardwareSelector.py @@ -1,4 +1,4 @@ -import vtk +import vtkmodules.all as vtk import vtk.util.numpy_support as VN # Callback for when selection is changed diff --git a/src/Python/Visualization/Hawaii.py b/src/Python/Visualization/Hawaii.py index 81c0d426541c7013901e4450d1ad3d5a4a209452..a84916d5ba2763cc6c328518c5c3e1079b884cf9 100755 --- a/src/Python/Visualization/Hawaii.py +++ b/src/Python/Visualization/Hawaii.py @@ -2,7 +2,7 @@ # Translated from hawaii.tcl -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Visualization/IsosurfaceSampling.py b/src/Python/Visualization/IsosurfaceSampling.py index 4b715c43b02f7b3c8c715ea5964979708381a396..402e1ee334dd58d445db243d2bd35154129b2ba8 100755 --- a/src/Python/Visualization/IsosurfaceSampling.py +++ b/src/Python/Visualization/IsosurfaceSampling.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Visualization/Kitchen.py b/src/Python/Visualization/Kitchen.py index 68db8382e3df92bce4d848130acf9f1eb20b8c6a..dae790d2a5ed753288541c96fabe2e177895e549 100755 --- a/src/Python/Visualization/Kitchen.py +++ b/src/Python/Visualization/Kitchen.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Visualization/KochSnowflake.py b/src/Python/Visualization/KochSnowflake.py index c84e9670c49710324415c75b698c265ab0b7e3df..d11b165192fbeaef2c51960abf803524acce8bdd 100755 --- a/src/Python/Visualization/KochSnowflake.py +++ b/src/Python/Visualization/KochSnowflake.py @@ -1,7 +1,7 @@ #!/usr/bin/env python from math import pi, cos, sin, sqrt -import vtk +import vtkmodules.all as vtk LEVEL = 6 diff --git a/src/Python/Visualization/LoopShrink.py b/src/Python/Visualization/LoopShrink.py index a008dd777e9c313a2037294ea81d40408a73b4e5..88edf070757df471084e48edef855d0505f067d5 100755 --- a/src/Python/Visualization/LoopShrink.py +++ b/src/Python/Visualization/LoopShrink.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Visualization/Lorenz.py b/src/Python/Visualization/Lorenz.py index 89a6fb92aa74b87b59b083f1d6657718dc9b274e..02e03f622e398b759807ccf41c3a70d98f95ceb8 100755 --- a/src/Python/Visualization/Lorenz.py +++ b/src/Python/Visualization/Lorenz.py @@ -10,7 +10,7 @@ The number of integration steps is 10 million, in a volume of dimensions 200 x 2 The surface roughness is caused by the discrete nature of the evaluation function. ''' -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Visualization/MultipleRenderWindows.py b/src/Python/Visualization/MultipleRenderWindows.py index 28b658176759cb4e8d3cdea61f529b22f2c6a2b1..f3038ef98d2e488e441dcbb8143d4958dd5b69fe 100755 --- a/src/Python/Visualization/MultipleRenderWindows.py +++ b/src/Python/Visualization/MultipleRenderWindows.py @@ -1,4 +1,4 @@ -import vtk +import vtkmodules.all as vtk def get_program_parameters(): diff --git a/src/Python/Visualization/MultipleViewports.py b/src/Python/Visualization/MultipleViewports.py index 34efed8f211e963c96726be89c8c60888f948c79..e4e99aaec6fe1cff6c9e89431ac8c8881460f089 100755 --- a/src/Python/Visualization/MultipleViewports.py +++ b/src/Python/Visualization/MultipleViewports.py @@ -1,4 +1,4 @@ -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Visualization/NamedColors.py b/src/Python/Visualization/NamedColors.py index 21a7f890113823be057af3be8780a873d76e8af6..a73cab7495cd61817884f74b35cc5c761b217337 100755 --- a/src/Python/Visualization/NamedColors.py +++ b/src/Python/Visualization/NamedColors.py @@ -5,7 +5,7 @@ This example demonstrates the usage of the vtNamedColor class. """ -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Visualization/NormalsDemo.py b/src/Python/Visualization/NormalsDemo.py index d5727d2c4af19b6dbf8ee6d4cfedaa415f7ef043..451e81e01288bc5368f66a228102b5c6fb79d935 100755 --- a/src/Python/Visualization/NormalsDemo.py +++ b/src/Python/Visualization/NormalsDemo.py @@ -3,7 +3,7 @@ """ """ -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Visualization/OrientedGlyphs.py b/src/Python/Visualization/OrientedGlyphs.py index d54a167ee63996450290ab7d7afed2f7416be262..82eb4a7a68c38138f08c0cc3c0f1443d1335e7af 100755 --- a/src/Python/Visualization/OrientedGlyphs.py +++ b/src/Python/Visualization/OrientedGlyphs.py @@ -1,4 +1,4 @@ -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Visualization/PointDataSubdivision.py b/src/Python/Visualization/PointDataSubdivision.py index de64232d565104d07c926d689f4c3bce105796ec..35192dd5c95f303297203796c66abe58c33bf5a6 100755 --- a/src/Python/Visualization/PointDataSubdivision.py +++ b/src/Python/Visualization/PointDataSubdivision.py @@ -3,7 +3,7 @@ from __future__ import print_function -import vtk +import vtkmodules.all as vtk nc = vtk.vtkNamedColors() diff --git a/src/Python/Visualization/PointSize.py b/src/Python/Visualization/PointSize.py index 1cb642ff51a3e34671cd10030abf40241320611a..c9ea1378da8e57a6bb100b34991c8e1eaa4d8a2b 100755 --- a/src/Python/Visualization/PointSize.py +++ b/src/Python/Visualization/PointSize.py @@ -1,4 +1,4 @@ -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Visualization/ProgrammableGlyphs.py b/src/Python/Visualization/ProgrammableGlyphs.py index db303d96971cd51ca7f014cce39e3223d25afca9..ae359df32465a745885b1b4b5b0eecdb8fbc0c2f 100755 --- a/src/Python/Visualization/ProgrammableGlyphs.py +++ b/src/Python/Visualization/ProgrammableGlyphs.py @@ -3,7 +3,7 @@ # Python example translated directly from Tcl test # [vtk_source]/Graphics/Testing/Tcl/progGlyphs.tcl -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Visualization/QuadricVisualization.py b/src/Python/Visualization/QuadricVisualization.py index 9371d0a71f17fd2b0bb6c278d4e571d05df5f7e5..1a79a3361e3782a64fcee959a8f4b091b3afd334 100755 --- a/src/Python/Visualization/QuadricVisualization.py +++ b/src/Python/Visualization/QuadricVisualization.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Visualization/ShadowsLightsDemo.py b/src/Python/Visualization/ShadowsLightsDemo.py index 77c3228102ac4a22be74859c9faa986b5c71f6ad..4cbbea9cab3de21856d7b34e292a2510f755556c 100755 --- a/src/Python/Visualization/ShadowsLightsDemo.py +++ b/src/Python/Visualization/ShadowsLightsDemo.py @@ -7,7 +7,7 @@ The scene consists of """ -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Visualization/SphereTexture.py b/src/Python/Visualization/SphereTexture.py index 572838325e778f7a57fe4872d7ef089a38f4498e..3ba202c5d9063086039250cc0b93f014ab31a02f 100755 --- a/src/Python/Visualization/SphereTexture.py +++ b/src/Python/Visualization/SphereTexture.py @@ -8,7 +8,7 @@ # @author JBallesteros ## -import vtk +import vtkmodules.all as vtk def get_program_parameters(): diff --git a/src/Python/Visualization/StreamLines.py b/src/Python/Visualization/StreamLines.py index 62e094cc18554bca63e11d73d3b4ab841959f0d2..86bb9e09b3a171faab942a0873d2ae3b9d8ca372 100755 --- a/src/Python/Visualization/StreamLines.py +++ b/src/Python/Visualization/StreamLines.py @@ -3,7 +3,7 @@ # import os # os.chdir("VTKData/Data") -import vtk +import vtkmodules.all as vtk def get_program_parameters(): diff --git a/src/Python/Visualization/TextSource.py b/src/Python/Visualization/TextSource.py index 868082b2b93497f07aad7aec2808371d21ad0152..e2c13f862844461b683f810fbd832ee0001081bb 100755 --- a/src/Python/Visualization/TextSource.py +++ b/src/Python/Visualization/TextSource.py @@ -1,4 +1,4 @@ -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Visualization/VectorText.py b/src/Python/Visualization/VectorText.py index 3bd8806adde12d6ec6edd47caaa53765c8651d7a..93b04e21f66954cd7dca62263307a8f28718cdfc 100755 --- a/src/Python/Visualization/VectorText.py +++ b/src/Python/Visualization/VectorText.py @@ -1,4 +1,4 @@ -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Visualization/WindowTitle.py b/src/Python/Visualization/WindowTitle.py index 08687b42b1983d4c72b624f99cbaac31f59d2377..bc73d091c35f9d1367c0c97dc53271cf7dcd77ee 100755 --- a/src/Python/Visualization/WindowTitle.py +++ b/src/Python/Visualization/WindowTitle.py @@ -1,4 +1,4 @@ -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/VisualizationAlgorithms/AnatomicalOrientation.py b/src/Python/VisualizationAlgorithms/AnatomicalOrientation.py index 181f23682319efacab291003b654b68d72e674f2..df307338aeb35f4df0cb7ca0496c3b61aede8849 100755 --- a/src/Python/VisualizationAlgorithms/AnatomicalOrientation.py +++ b/src/Python/VisualizationAlgorithms/AnatomicalOrientation.py @@ -7,7 +7,7 @@ The human data file is taken from: Thanks to the Slicer people for providing this. """ -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/VisualizationAlgorithms/BluntStreamlines.py b/src/Python/VisualizationAlgorithms/BluntStreamlines.py index 0563023497a5f7a0ab59724c387faf25e1f21010..6a85a032e8084ca25cccc636d471814cc591b365 100755 --- a/src/Python/VisualizationAlgorithms/BluntStreamlines.py +++ b/src/Python/VisualizationAlgorithms/BluntStreamlines.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/VisualizationAlgorithms/CarotidFlow.py b/src/Python/VisualizationAlgorithms/CarotidFlow.py index 64725317144802f9bc5c1e208274f8c44a88e258..b8e5618ca21817e0c9a7e030fb398f663444b6ca 100755 --- a/src/Python/VisualizationAlgorithms/CarotidFlow.py +++ b/src/Python/VisualizationAlgorithms/CarotidFlow.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/VisualizationAlgorithms/CarotidFlowGlyphs.py b/src/Python/VisualizationAlgorithms/CarotidFlowGlyphs.py index e1e7cd982bae8cb5eec158e1d6507bf5a0047dab..f4e47114b2cc38181799bff2e1221f3081644267 100755 --- a/src/Python/VisualizationAlgorithms/CarotidFlowGlyphs.py +++ b/src/Python/VisualizationAlgorithms/CarotidFlowGlyphs.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/VisualizationAlgorithms/ClipSphereCylinder.py b/src/Python/VisualizationAlgorithms/ClipSphereCylinder.py index e48a16c6aefe595663f83d7aabd6556b084e6d47..0397283b45296edf6bc23e013432e99ca2da4935 100755 --- a/src/Python/VisualizationAlgorithms/ClipSphereCylinder.py +++ b/src/Python/VisualizationAlgorithms/ClipSphereCylinder.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/VisualizationAlgorithms/ColoredAnnotatedCube.py b/src/Python/VisualizationAlgorithms/ColoredAnnotatedCube.py index 30119e4feb620faa258fe9e0c6ee0fa92a1f20f7..f2582eba95b142ad6444dc875f6937ba5e93990a 100755 --- a/src/Python/VisualizationAlgorithms/ColoredAnnotatedCube.py +++ b/src/Python/VisualizationAlgorithms/ColoredAnnotatedCube.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/VisualizationAlgorithms/CombustorIsosurface.py b/src/Python/VisualizationAlgorithms/CombustorIsosurface.py index 955de2db31b02851450c510c0b5dfcf65b0d65f4..f0743c055358f653282afdfa9f3180435c66374c 100755 --- a/src/Python/VisualizationAlgorithms/CombustorIsosurface.py +++ b/src/Python/VisualizationAlgorithms/CombustorIsosurface.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/VisualizationAlgorithms/ContourQuadric.py b/src/Python/VisualizationAlgorithms/ContourQuadric.py index 4263f1b92908b682b9197009b1e6a06d28e7e422..b54465ef18819bdf8c362d85a3bb528fdcef5a0b 100755 --- a/src/Python/VisualizationAlgorithms/ContourQuadric.py +++ b/src/Python/VisualizationAlgorithms/ContourQuadric.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/VisualizationAlgorithms/CreateBFont.py b/src/Python/VisualizationAlgorithms/CreateBFont.py index 2aa0a2a4129d7c4a75c5b8256ac7557c61b7b5ad..1c138d1c6ae662123be48076d2c5079957ff0ed2 100755 --- a/src/Python/VisualizationAlgorithms/CreateBFont.py +++ b/src/Python/VisualizationAlgorithms/CreateBFont.py @@ -3,7 +3,7 @@ """ """ -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/VisualizationAlgorithms/CutStructuredGrid.py b/src/Python/VisualizationAlgorithms/CutStructuredGrid.py index 9685f37d712b85fc03df6ece948ac9f32d94f5b3..8d211474c0674d205ec383662e4e5754a5147151 100755 --- a/src/Python/VisualizationAlgorithms/CutStructuredGrid.py +++ b/src/Python/VisualizationAlgorithms/CutStructuredGrid.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/VisualizationAlgorithms/CutWithCutFunction.py b/src/Python/VisualizationAlgorithms/CutWithCutFunction.py index ba504370247eb9c89546063002ab4612d8673159..052e098cf2e9792669f5d794be7b4ba60813b7dc 100755 --- a/src/Python/VisualizationAlgorithms/CutWithCutFunction.py +++ b/src/Python/VisualizationAlgorithms/CutWithCutFunction.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/VisualizationAlgorithms/CutWithScalars.py b/src/Python/VisualizationAlgorithms/CutWithScalars.py index 01bbfd04a6612f8500c3200297641c3e3e1186f1..18d093dd1919f74c69a0b2e10c51e0cccd097cb5 100755 --- a/src/Python/VisualizationAlgorithms/CutWithScalars.py +++ b/src/Python/VisualizationAlgorithms/CutWithScalars.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/VisualizationAlgorithms/Cutter.py b/src/Python/VisualizationAlgorithms/Cutter.py index 2651d922b95af7b2fe6e0b9ed18a9a7bf4f0b33f..ccd8a52ee49a0d6ab9304566367ac5d6ca7e3246 100755 --- a/src/Python/VisualizationAlgorithms/Cutter.py +++ b/src/Python/VisualizationAlgorithms/Cutter.py @@ -2,7 +2,7 @@ # A simple script to demonstrate the vtkCutter function -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/VisualizationAlgorithms/DataSetSurface.py b/src/Python/VisualizationAlgorithms/DataSetSurface.py index bb075e9e11f17b6f99fdb4d7bf6cf9d62a69390f..88f9394198a6f5ead893dfd59e5de9d1d3c2b33c 100755 --- a/src/Python/VisualizationAlgorithms/DataSetSurface.py +++ b/src/Python/VisualizationAlgorithms/DataSetSurface.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/VisualizationAlgorithms/DecimateFran.py b/src/Python/VisualizationAlgorithms/DecimateFran.py index 168ca79692968a0a7208956d4e30c71bbefd1c96..9f43e4961f94485e3ce2fd2ec75d6e5095d29d2e 100755 --- a/src/Python/VisualizationAlgorithms/DecimateFran.py +++ b/src/Python/VisualizationAlgorithms/DecimateFran.py @@ -3,7 +3,7 @@ """ """ -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/VisualizationAlgorithms/DecimateHawaii.py b/src/Python/VisualizationAlgorithms/DecimateHawaii.py index 6c9bcf0be06de3173df5253de47f9bcc55b7af8c..bdec40b45ab84d1d6e056b14b191490c785bacc6 100755 --- a/src/Python/VisualizationAlgorithms/DecimateHawaii.py +++ b/src/Python/VisualizationAlgorithms/DecimateHawaii.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/VisualizationAlgorithms/DisplacementPlot.py b/src/Python/VisualizationAlgorithms/DisplacementPlot.py index 4fce8d8e5f9d2458325dce955b85ea25f116050b..2566a18b10a1dab79a0226e5dbae2f3ba7beb9fd 100755 --- a/src/Python/VisualizationAlgorithms/DisplacementPlot.py +++ b/src/Python/VisualizationAlgorithms/DisplacementPlot.py @@ -2,7 +2,7 @@ # Translated from dispPlot.tcl -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/VisualizationAlgorithms/ExponentialCosine.py b/src/Python/VisualizationAlgorithms/ExponentialCosine.py index e29a8b02a9b0af172e2d39423f6a0eaf57e8a2fb..d4b4058ca7738850d0af46699f00d08402206d9e 100755 --- a/src/Python/VisualizationAlgorithms/ExponentialCosine.py +++ b/src/Python/VisualizationAlgorithms/ExponentialCosine.py @@ -2,7 +2,7 @@ import math -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/VisualizationAlgorithms/ExtractData.py b/src/Python/VisualizationAlgorithms/ExtractData.py index fd98b8f20dae054db7ccbb3ef1c39a6a678bf535..05e8ec7cd1240aa14f8d6f03395863525c364ae8 100755 --- a/src/Python/VisualizationAlgorithms/ExtractData.py +++ b/src/Python/VisualizationAlgorithms/ExtractData.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/VisualizationAlgorithms/FlyingHeadSlice.py b/src/Python/VisualizationAlgorithms/FlyingHeadSlice.py index 42880e789d95e92e2910a65352d32401583d888e..cf1c6c416e1433f2c0c61857b68e3c1e9593aa25 100755 --- a/src/Python/VisualizationAlgorithms/FlyingHeadSlice.py +++ b/src/Python/VisualizationAlgorithms/FlyingHeadSlice.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/VisualizationAlgorithms/HeadBone.py b/src/Python/VisualizationAlgorithms/HeadBone.py index 15722ebcc303480c12979a0e8f6cd42f9aa2ac26..e40d596ea52bd9f6570d69a89dd1d688b349826f 100755 --- a/src/Python/VisualizationAlgorithms/HeadBone.py +++ b/src/Python/VisualizationAlgorithms/HeadBone.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/VisualizationAlgorithms/HeadSlice.py b/src/Python/VisualizationAlgorithms/HeadSlice.py index 6252cb7b27f19d0fc50a55a233e201c223165566..7565d79585aac24a4cd2abbc978045502d7c472c 100755 --- a/src/Python/VisualizationAlgorithms/HeadSlice.py +++ b/src/Python/VisualizationAlgorithms/HeadSlice.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/VisualizationAlgorithms/Hello.py b/src/Python/VisualizationAlgorithms/Hello.py index d5c6cc8d4b8ee71de4c236e7182520535eeb4b0d..decd5bf093807e4f034aea32430a4de24ae3a54c 100755 --- a/src/Python/VisualizationAlgorithms/Hello.py +++ b/src/Python/VisualizationAlgorithms/Hello.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/VisualizationAlgorithms/HyperStreamline.py b/src/Python/VisualizationAlgorithms/HyperStreamline.py index ecd4296e0a88221365a7377712da802adb914b53..ba216b0ff7eec4bf12758225faf0b3b9850637bc 100755 --- a/src/Python/VisualizationAlgorithms/HyperStreamline.py +++ b/src/Python/VisualizationAlgorithms/HyperStreamline.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/VisualizationAlgorithms/IceCream.py b/src/Python/VisualizationAlgorithms/IceCream.py index e05aca6204d3cab60e42670750f2ce8e871312a3..298643a48a5a662718e7e72e412d3f800f4b52c5 100755 --- a/src/Python/VisualizationAlgorithms/IceCream.py +++ b/src/Python/VisualizationAlgorithms/IceCream.py @@ -5,7 +5,7 @@ This example demonstrates how to use boolean combinations of implicit functions to create a model of an ice cream cone. """ -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/VisualizationAlgorithms/ImageGradient.py b/src/Python/VisualizationAlgorithms/ImageGradient.py index dd10a7551f707cf1ebab1295a41ec93f373a97c3..c348d3ce903b1a8eb4804368d82d41bbfe8e3dea 100755 --- a/src/Python/VisualizationAlgorithms/ImageGradient.py +++ b/src/Python/VisualizationAlgorithms/ImageGradient.py @@ -1,7 +1,7 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/VisualizationAlgorithms/IronIsoSurface.py b/src/Python/VisualizationAlgorithms/IronIsoSurface.py index f134ed82b601debe03e997a901e270e211c9ea88..3300304bb21af8fe2744e6f4c788d9167355bfdb 100755 --- a/src/Python/VisualizationAlgorithms/IronIsoSurface.py +++ b/src/Python/VisualizationAlgorithms/IronIsoSurface.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/VisualizationAlgorithms/LOx.py b/src/Python/VisualizationAlgorithms/LOx.py index bc09cb0fc35218a1a6b5680211df2e8c190132cb..c31b41a702f271e482917d7b169fcdfed6611cf5 100755 --- a/src/Python/VisualizationAlgorithms/LOx.py +++ b/src/Python/VisualizationAlgorithms/LOx.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/VisualizationAlgorithms/LOxGrid.py b/src/Python/VisualizationAlgorithms/LOxGrid.py index 1c1742ae2add90cc47f0bdd9c4e53bfc52175638..2e2758a3b189b9bfb253aee398cd917f9ec9850d 100755 --- a/src/Python/VisualizationAlgorithms/LOxGrid.py +++ b/src/Python/VisualizationAlgorithms/LOxGrid.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/VisualizationAlgorithms/LOxSeeds.py b/src/Python/VisualizationAlgorithms/LOxSeeds.py index c6e03002f7644315595e2457d5ebd32927fe9259..57c2013ea7cc0cf29ad24c903b006912bfe81299 100755 --- a/src/Python/VisualizationAlgorithms/LOxSeeds.py +++ b/src/Python/VisualizationAlgorithms/LOxSeeds.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/VisualizationAlgorithms/MarchingCases.py b/src/Python/VisualizationAlgorithms/MarchingCases.py index 2086b4ec7181b4aa8f4b4026783996d6a24e04c4..b5a6faf68b863718a08e9f87a08b04f78e5255dc 100755 --- a/src/Python/VisualizationAlgorithms/MarchingCases.py +++ b/src/Python/VisualizationAlgorithms/MarchingCases.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/VisualizationAlgorithms/Motor.py b/src/Python/VisualizationAlgorithms/Motor.py index 3e8043cf7929de675407b3e4567e4f30f41dff97..8b7e2f38f525d6b81f350fb151e82d32d82470a2 100755 --- a/src/Python/VisualizationAlgorithms/Motor.py +++ b/src/Python/VisualizationAlgorithms/Motor.py @@ -2,7 +2,7 @@ # This code is based on the VTK file: /IO/Geometry/Testing/Python/motor.py. -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/VisualizationAlgorithms/Office.py b/src/Python/VisualizationAlgorithms/Office.py index 9f5f9dfcebd2805fe4400cb4e38a2e5e4845af4c..9f14ee2362226ca7a75dc83f5d174d9d5211f61d 100755 --- a/src/Python/VisualizationAlgorithms/Office.py +++ b/src/Python/VisualizationAlgorithms/Office.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def office(fileName, center): diff --git a/src/Python/VisualizationAlgorithms/OfficeTube.py b/src/Python/VisualizationAlgorithms/OfficeTube.py index 7324e5dc35850516342803449c08a9dac2494a8a..35a79bb6d23ea01490983b3e107a9167221e0a7d 100755 --- a/src/Python/VisualizationAlgorithms/OfficeTube.py +++ b/src/Python/VisualizationAlgorithms/OfficeTube.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk from vtk.vtkCommonDataModel import vtkDataObject diff --git a/src/Python/VisualizationAlgorithms/PineRootConnectivity.py b/src/Python/VisualizationAlgorithms/PineRootConnectivity.py index 58b5f6e10c4992ea7a6778ebe0854ce9c4ab0cf2..d415a271ff5913ee3bb38cc1e1890268d1fa0516 100755 --- a/src/Python/VisualizationAlgorithms/PineRootConnectivity.py +++ b/src/Python/VisualizationAlgorithms/PineRootConnectivity.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def pine_root_connectivity(fileName, noConnectivity): diff --git a/src/Python/VisualizationAlgorithms/PineRootDecimation.py b/src/Python/VisualizationAlgorithms/PineRootDecimation.py index 5b584ca3701900d281c907f73efd7415a3408ef0..e1744c42aa99d135caefc498ad6b9050506e1d82 100755 --- a/src/Python/VisualizationAlgorithms/PineRootDecimation.py +++ b/src/Python/VisualizationAlgorithms/PineRootDecimation.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/VisualizationAlgorithms/PlateVibration.py b/src/Python/VisualizationAlgorithms/PlateVibration.py index bb84ab874f0b48bc9595e7af20000c3eef17fe5c..c15d8f65991b6a1730aab83dc95013544fce7649 100755 --- a/src/Python/VisualizationAlgorithms/PlateVibration.py +++ b/src/Python/VisualizationAlgorithms/PlateVibration.py @@ -1,6 +1,6 @@ # Translated from vib.tcl -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/VisualizationAlgorithms/ProbeCombustor.py b/src/Python/VisualizationAlgorithms/ProbeCombustor.py index d441da552d7f8c4960fd4ea550047ee748986a0b..523600e8c72d3d8f73801dc3cea7a8b83571d509 100755 --- a/src/Python/VisualizationAlgorithms/ProbeCombustor.py +++ b/src/Python/VisualizationAlgorithms/ProbeCombustor.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/VisualizationAlgorithms/SingleSplat.py b/src/Python/VisualizationAlgorithms/SingleSplat.py index 39dc4741e93e08abd4519935767756a2f29af5d1..23e0db2fdbfbac7c99f70e9f2596769b12e1b69a 100755 --- a/src/Python/VisualizationAlgorithms/SingleSplat.py +++ b/src/Python/VisualizationAlgorithms/SingleSplat.py @@ -1,7 +1,7 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/VisualizationAlgorithms/SpikeFran.py b/src/Python/VisualizationAlgorithms/SpikeFran.py index ca43f43d224f5c487bcbac7ffb5a253c4d783ff0..32672363afe32e5cddf7073b24e02c97ade468ff 100755 --- a/src/Python/VisualizationAlgorithms/SpikeFran.py +++ b/src/Python/VisualizationAlgorithms/SpikeFran.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/VisualizationAlgorithms/SplatFace.py b/src/Python/VisualizationAlgorithms/SplatFace.py index 1f9a8e60f3c41c719836a00a441b546a0a1dd5ae..8837e4f153dc5648bd42d0f070973239ba7b9678 100755 --- a/src/Python/VisualizationAlgorithms/SplatFace.py +++ b/src/Python/VisualizationAlgorithms/SplatFace.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/VisualizationAlgorithms/Stocks.py b/src/Python/VisualizationAlgorithms/Stocks.py index f7d5be0254cf22f7b3017d1b3ce9e472c6935027..30ea0d41435c2e82e05bd68a346158bad69e244a 100755 --- a/src/Python/VisualizationAlgorithms/Stocks.py +++ b/src/Python/VisualizationAlgorithms/Stocks.py @@ -3,7 +3,7 @@ import os -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/VisualizationAlgorithms/StreamlinesWithLineWidget.py b/src/Python/VisualizationAlgorithms/StreamlinesWithLineWidget.py index db314be28d2eb8db8024a606ee261312f057cb60..250246bbb6680550070a86ad51bf38b5e24f7a86 100755 --- a/src/Python/VisualizationAlgorithms/StreamlinesWithLineWidget.py +++ b/src/Python/VisualizationAlgorithms/StreamlinesWithLineWidget.py @@ -6,7 +6,7 @@ This program encompasses the functionality of StreamlinesWithLineWidget.tcl and LineWidget.tcl. """ -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/VisualizationAlgorithms/TensorAxes.py b/src/Python/VisualizationAlgorithms/TensorAxes.py index 4b1916656db93f4f922d19d23b3ec0d6d03f16d4..260beceb5a1fb95b74bdfbf27b6b545a9eb1d52b 100755 --- a/src/Python/VisualizationAlgorithms/TensorAxes.py +++ b/src/Python/VisualizationAlgorithms/TensorAxes.py @@ -2,7 +2,7 @@ # Translated from TenAxes.tcl -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/VisualizationAlgorithms/TensorEllipsoids.py b/src/Python/VisualizationAlgorithms/TensorEllipsoids.py index b06c91dd6616a2bb9c75581afd701683990c0c7d..458e9df98d5f0bd72ca38cbc2a0daa2226e0af27 100755 --- a/src/Python/VisualizationAlgorithms/TensorEllipsoids.py +++ b/src/Python/VisualizationAlgorithms/TensorEllipsoids.py @@ -2,7 +2,7 @@ # Translated from TenEllip.tcl -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/VisualizationAlgorithms/VelocityProfile.py b/src/Python/VisualizationAlgorithms/VelocityProfile.py index ee7ea391e13fb08d5e3b705014116833e4ad7aad..478e1d78ef92ea73edf211c8230bd38f8cffc081 100755 --- a/src/Python/VisualizationAlgorithms/VelocityProfile.py +++ b/src/Python/VisualizationAlgorithms/VelocityProfile.py @@ -2,7 +2,7 @@ # Translated from velProf.tcl. -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/VisualizationAlgorithms/WarpCombustor.py b/src/Python/VisualizationAlgorithms/WarpCombustor.py index 73bee463d2f07fcb3b252e1aabee1b4f486c9c55..d490f58ac45ba1cbae5c62ba7f8601c1e2db95b1 100755 --- a/src/Python/VisualizationAlgorithms/WarpCombustor.py +++ b/src/Python/VisualizationAlgorithms/WarpCombustor.py @@ -1,7 +1,7 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/VolumeRendering/PseudoVolumeRendering.py b/src/Python/VolumeRendering/PseudoVolumeRendering.py index f8424e832abbbe3c516d13097d976c1ab5b2d70e..3d32db3917b4f0593ac2a3f192d735c4ecda98b8 100755 --- a/src/Python/VolumeRendering/PseudoVolumeRendering.py +++ b/src/Python/VolumeRendering/PseudoVolumeRendering.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/VolumeRendering/SimpleRayCast.py b/src/Python/VolumeRendering/SimpleRayCast.py index 56050d8cc9e571a56c547b45ae95b80995768bfd..381dc0051cf5106b646dd77c9294229e5bbd876e 100755 --- a/src/Python/VolumeRendering/SimpleRayCast.py +++ b/src/Python/VolumeRendering/SimpleRayCast.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Widgets/BalloonWidget.py b/src/Python/Widgets/BalloonWidget.py index 85ac871d953425daaa0bd18223a399c378424603..aedbc60b02269416b98ebf80980c13da86a54a17 100755 --- a/src/Python/Widgets/BalloonWidget.py +++ b/src/Python/Widgets/BalloonWidget.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Widgets/BoxWidget.py b/src/Python/Widgets/BoxWidget.py index b3ab5191c862b21efc2ee4d4057a668a15189c75..9873d6b901888ea790f7a3c6278e7714e1ed0065 100755 --- a/src/Python/Widgets/BoxWidget.py +++ b/src/Python/Widgets/BoxWidget.py @@ -1,4 +1,4 @@ -import vtk +import vtkmodules.all as vtk # Call back function to resize the cone diff --git a/src/Python/Widgets/CameraOrientationWidget.py b/src/Python/Widgets/CameraOrientationWidget.py index a9e1b679fb6976480ba688bf7a6f62e2ecff2872..f499839437275dca46b900a22b746a74b670f10a 100755 --- a/src/Python/Widgets/CameraOrientationWidget.py +++ b/src/Python/Widgets/CameraOrientationWidget.py @@ -6,7 +6,7 @@ from pathlib import Path -import vtk +import vtkmodules.all as vtk def get_program_parameters(): diff --git a/src/Python/Widgets/CompassWidget.py b/src/Python/Widgets/CompassWidget.py index 6188ab46eb627455c73e7831546acb5d8d422bd7..86c543323977792f7a16c93b2b112959f8b83bbc 100755 --- a/src/Python/Widgets/CompassWidget.py +++ b/src/Python/Widgets/CompassWidget.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Widgets/ContourWidget.py b/src/Python/Widgets/ContourWidget.py index 0e663d8e9d4d8e973307b803aec82f3cfd1a6e4c..c62eda365ff7fd204767c45ee14e1436abf62ceb 100755 --- a/src/Python/Widgets/ContourWidget.py +++ b/src/Python/Widgets/ContourWidget.py @@ -3,7 +3,7 @@ import math import sys -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Widgets/EmbedInPyQt.py b/src/Python/Widgets/EmbedInPyQt.py index 9de4e472edd3dbf40418761f814a4e73f7cca536..818822de174ad33a2d5843f59202cbcd29c94323 100755 --- a/src/Python/Widgets/EmbedInPyQt.py +++ b/src/Python/Widgets/EmbedInPyQt.py @@ -2,7 +2,7 @@ import sys -import vtk +import vtkmodules.all as vtk from PyQt4 import QtGui from vtk.qt4.QVTKRenderWindowInteractor import QVTKRenderWindowInteractor diff --git a/src/Python/Widgets/EmbedInPyQt2.py b/src/Python/Widgets/EmbedInPyQt2.py index 8ba4de444fc8f47b72996026029b7dff1503b1e0..4eecabedc514119768c134b3956e9823a7366d97 100755 --- a/src/Python/Widgets/EmbedInPyQt2.py +++ b/src/Python/Widgets/EmbedInPyQt2.py @@ -3,7 +3,7 @@ import sys -import vtk +import vtkmodules.all as vtk from PyQt4 import QtGui from PyQt4.QtGui import QApplication from vtk.qt4.QVTKRenderWindowInteractor import QVTKRenderWindowInteractor diff --git a/src/Python/Widgets/OrientationMarkerWidget.py b/src/Python/Widgets/OrientationMarkerWidget.py index 157b3a62c0934dba54a96d803ecb3424974a5204..7aac2a4fa3b02b9f7475a0765ec2833be9fd522b 100755 --- a/src/Python/Widgets/OrientationMarkerWidget.py +++ b/src/Python/Widgets/OrientationMarkerWidget.py @@ -1,6 +1,6 @@ # Contributed by Eric E Monson -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Widgets/OrientationMarkerWidget1.py b/src/Python/Widgets/OrientationMarkerWidget1.py index 458ea24949f56f6f318e78323244bcc409911ee9..70633cd26252bfedab331e4f78a5ef401f7b50ee 100755 --- a/src/Python/Widgets/OrientationMarkerWidget1.py +++ b/src/Python/Widgets/OrientationMarkerWidget1.py @@ -1,4 +1,4 @@ -import vtk +import vtkmodules.all as vtk def main(): diff --git a/src/Python/Widgets/ScalarBarWidget.py b/src/Python/Widgets/ScalarBarWidget.py index 53712b6ea5f78d80cb7f4ef0131b1e8c3f5a5453..021aa96a6df30c912e3ec196cd6c529d4cad5ec3 100755 --- a/src/Python/Widgets/ScalarBarWidget.py +++ b/src/Python/Widgets/ScalarBarWidget.py @@ -3,7 +3,7 @@ # # by Panos Mavrogiorgos, email : pmav99 >a< gmail -import vtk +import vtkmodules.all as vtk def get_program_parameters(): diff --git a/src/Python/Widgets/SphereWidget.py b/src/Python/Widgets/SphereWidget.py index d2360b65b537812ec06bca72129a6c010e8f35b6..eb2888e95c3e34d0d46694e4e1ac24ea837d6b29 100755 --- a/src/Python/Widgets/SphereWidget.py +++ b/src/Python/Widgets/SphereWidget.py @@ -1,4 +1,4 @@ -import vtk +import vtkmodules.all as vtk # Call back function diff --git a/src/Python/Widgets/TextWidget.py b/src/Python/Widgets/TextWidget.py index 85efbad46f380578645965950f1b03a63132dba7..3544b97b803305b0642e0be800c769262d44fd95 100755 --- a/src/Python/Widgets/TextWidget.py +++ b/src/Python/Widgets/TextWidget.py @@ -3,7 +3,7 @@ # # by Panos Mavrogiorgos, email : pmav99 >a< gmail -import vtk +import vtkmodules.all as vtk def main():