pv-vtk-all.py 898 B

1234567891011121314151617181920212223242526
  1. import paraview
  2. from . import logger
  3. from vtkmodules.vtkCommonCore import *
  4. from vtkmodules.vtkCommonDataModel import *
  5. from vtkmodules.vtkCommonExecutionModel import *
  6. from vtkmodules.vtkFiltersProgrammable import *
  7. from vtkmodules.vtkParallelCore import *
  8. from vtkmodules.vtkCommonMisc import *
  9. from vtkmodules.vtkCommonMath import *
  10. from vtkmodules.vtkCommonSystem import *
  11. from vtkmodules.vtkCommonTransforms import *
  12. # now import modules that need not be present
  13. try:
  14. from vtkmodules.vtkCommonComputationalGeometry import *
  15. except ImportError:
  16. logger.debug("Error: Could not import vtkCommonComputationalGeometry")
  17. try:
  18. from vtkmodules.vtkRenderingCore import vtkCamera
  19. except ImportError:
  20. logger.debug("Error: Could not import vtkRenderingCore")
  21. try:
  22. from vtkmodules.vtkFiltersCore import *
  23. except ImportError:
  24. logger.debug("Error: Could not import vtkFiltersCore")