]> SALOME platform Git repositories - modules/paravis.git/commitdiff
Salome HOME
vtk.util.misc.vtkGetTempDir + InsideOut->Invert agy/PV55
authorAnthony Geay <anthony.geay@edf.fr>
Thu, 5 Jul 2018 11:28:14 +0000 (13:28 +0200)
committerAnthony Geay <anthony.geay@edf.fr>
Thu, 5 Jul 2018 11:28:14 +0000 (13:28 +0200)
14 files changed:
src/Plugins/MEDReader/Test/testMEDReader0.py
src/Plugins/MEDReader/Test/testMEDReader10.py
src/Plugins/MEDReader/Test/testMEDReader13.py
src/Plugins/MEDReader/Test/testMEDReader14.py
src/Plugins/MEDReader/Test/testMEDReader15.py
src/Plugins/MEDReader/Test/testMEDReader19.py
src/Plugins/MEDReader/Test/testMEDReader2.py
src/Plugins/MEDReader/Test/testMEDReader20.py
src/Plugins/MEDReader/Test/testMEDReader3.py
src/Plugins/MEDReader/Test/testMEDReader4.py
src/Plugins/MEDReader/Test/testMEDReader5.py
src/Plugins/MEDReader/Test/testMEDReader6.py
src/Plugins/MEDReader/Test/testMEDReader7.py
src/Plugins/MEDReader/Test/testMEDReader8.py

index edb3167673c7ee553a8b01c3f62c0502d6647596..82af39049bd78aecc230d5926e0fbded840e64f0 100644 (file)
@@ -130,6 +130,7 @@ except:
   exit(1)
 baseline_file = os.path.join(baselinePath, "testMEDReader0.png")
 import vtk.test.Testing
+from vtk.util.misc import vtkGetTempDir
 vtk.test.Testing.VTK_TEMP_DIR = vtk.util.misc.vtkGetTempDir()
 vtk.test.Testing.compareImage(GetActiveView().GetRenderWindow(), baseline_file,
                                                             threshold=1)
index d697340bc7a5ee479bede78bb65ba1b868a14e0a..832c910fce366192127e678be859bb72e5ffaa2c 100644 (file)
@@ -118,6 +118,7 @@ except:
   exit(1)
 baseline_file = os.path.join(baselinePath, "testMEDReader10.png")
 import vtk.test.Testing
+from vtk.util.misc import vtkGetTempDir
 vtk.test.Testing.VTK_TEMP_DIR = vtk.util.misc.vtkGetTempDir()
 vtk.test.Testing.compareImage(GetActiveView().GetRenderWindow(), baseline_file,
                                                             threshold=1)
index 01828c39072f52d6e7609f5fb0b7cbe69939088a..8f580390c0fc6493689de95ba62aea7e8516a0b4 100644 (file)
@@ -87,6 +87,7 @@ except:
   exit(1)
 baseline_file = os.path.join(baselinePath, "testMEDReader13.png")
 import vtk.test.Testing
+from vtk.util.misc import vtkGetTempDir
 vtk.test.Testing.VTK_TEMP_DIR = vtk.util.misc.vtkGetTempDir()
 vtk.test.Testing.compareImage(GetActiveView().GetRenderWindow(), baseline_file,
                                                             threshold=1)
index b9f2aaafa5d0d3ffb7922af3cacee60df3f13355..3d4b785cc6b754dfc488796330ea3f3acce5f7d2 100644 (file)
@@ -170,6 +170,7 @@ except:
   exit(1)
 baseline_file = os.path.join(baselinePath, "testMEDReader14.png")
 import vtk.test.Testing
+from vtk.util.misc import vtkGetTempDir
 vtk.test.Testing.VTK_TEMP_DIR = vtk.util.misc.vtkGetTempDir()
 vtk.test.Testing.compareImage(renderView1.GetRenderWindow(), baseline_file,
                                                             threshold=1)
index 3902efdefbf627d4d83228cee1f7d5aa983947f2..1af02442f66700b1982a42fdcd38df5c9ec62d6f 100644 (file)
@@ -83,6 +83,7 @@ except:
   exit(1)
 baseline_file = os.path.join(baselinePath, "testMEDReader15.png")
 import vtk.test.Testing
+from vtk.util.misc import vtkGetTempDir
 vtk.test.Testing.VTK_TEMP_DIR = vtk.util.misc.vtkGetTempDir()
 vtk.test.Testing.compareImage(GetActiveView().GetRenderWindow(), baseline_file,
                                                             threshold=1)
index d40f56d10280870e99c0561e39d5a1ae7a389bb3..6fbe63ecb82c0f924c382680c7249e02a02c31a0 100644 (file)
@@ -97,6 +97,7 @@ except:
   exit(1)
 baseline_file = os.path.join(baselinePath, imgName)
 import vtk.test.Testing
+from vtk.util.misc import vtkGetTempDir
 vtk.test.Testing.VTK_TEMP_DIR = vtk.util.misc.vtkGetTempDir()
 vtk.test.Testing.compareImage(GetActiveView().GetRenderWindow(), baseline_file, threshold=1)
 vtk.test.Testing.interact()
index b2fe089775929631a9e63ca1ad3967ae585f2dca..1be452a06c664534cca276dd6d4982cc8072f4db 100644 (file)
@@ -66,7 +66,7 @@ GroupDatasets1=GroupDatasets(Input=[testMEDReader1,testMEDReader2])
 Clip1 = Clip(ClipType="Plane",Input=GroupDatasets1)
 Clip1.Scalars=['FamilyIdCell']
 Clip1.ClipType.Origin=[3.0, 3.0, 3.0]
-Clip1.InsideOut=1
+Clip1.Invert=1
 Clip1.ClipType.Normal=[0.9255623174457069, 0.0027407477590518157, 0.378585373233375]
 Clip1.Scalars=['CELLS']
 
@@ -115,6 +115,7 @@ except:
   exit(1)
 baseline_file = os.path.join(baselinePath, "testMEDReader2.png")
 import vtk.test.Testing
+from vtk.util.misc import vtkGetTempDir
 vtk.test.Testing.VTK_TEMP_DIR = vtk.util.misc.vtkGetTempDir()
 vtk.test.Testing.compareImage(GetActiveView().GetRenderWindow(), baseline_file,
                                                             threshold=1)
index 3b45a3184a70fe4ea67d3abdc0477ca734fc9ac8..4ebc315e7be0f933f9fa21991d269a4fb5ddeef3 100644 (file)
@@ -146,6 +146,7 @@ except:
   exit(1)
 baseline_file = os.path.join(baselinePath,png)
 import vtk.test.Testing
+from vtk.util.misc import vtkGetTempDir
 vtk.test.Testing.VTK_TEMP_DIR = vtk.util.misc.vtkGetTempDir()
 vtk.test.Testing.compareImage(GetActiveView().GetRenderWindow(), baseline_file, threshold=1)
 vtk.test.Testing.interact()
index ea4d5872f68122d1ed413d560f3e5fc2cae465cd..d57e2470a7a1dd5b5f600359fad2a026610b3c3a 100644 (file)
@@ -137,6 +137,7 @@ except:
   exit(1)
 baseline_file = os.path.join(baselinePath, "testMEDReader3.png")
 import vtk.test.Testing
+from vtk.util.misc import vtkGetTempDir
 vtk.test.Testing.VTK_TEMP_DIR = vtk.util.misc.vtkGetTempDir()
 vtk.test.Testing.compareImage(GetActiveView().GetRenderWindow(), baseline_file,
                                                             threshold=1)
index 9866808318194d11afb2ebc9a82c4f4295b4f405..59c0948f9181a72239c05d4d96f4d5f536b45a06 100644 (file)
@@ -104,6 +104,7 @@ except:
   exit(1)
 baseline_file = os.path.join(baselinePath, "testMEDReader4.png")
 import vtk.test.Testing
+from vtk.util.misc import vtkGetTempDir
 vtk.test.Testing.VTK_TEMP_DIR = vtk.util.misc.vtkGetTempDir()
 vtk.test.Testing.compareImage(GetActiveView().GetRenderWindow(), baseline_file,
                                                             threshold=1)
index 5aa23ef604b13ccdc189502abbe5c11d645f99c9..98d9c02781a97d582f465dfe72d131b250b03003 100644 (file)
@@ -83,7 +83,7 @@ Clip1.Scalars = ['POINTS', 'FamilyIdNode']
 Clip1.ClipType.Origin = [2.0, 2.0, 2.0]
 Clip1.ClipType = "Plane"
 Clip1.ClipType.Normal = [0.04207410474474753, 0.9319448861971525, 0.3601506612529047]
-Clip1.InsideOut = 1
+Clip1.Invert = 1
 
 DataRepresentation2 = Show()
 DataRepresentation2.EdgeColor = [0.0, 0.0, 0.5000076295109483]
@@ -121,6 +121,7 @@ except:
   exit(1)
 baseline_file = os.path.join(baselinePath, "testMEDReader5.png")
 import vtk.test.Testing
+from vtk.util.misc import vtkGetTempDir
 vtk.test.Testing.VTK_TEMP_DIR = vtk.util.misc.vtkGetTempDir()
 vtk.test.Testing.compareImage(GetActiveView().GetRenderWindow(), baseline_file,
                                                             threshold=1)
index d5a9d0465c67d0c7da15ac813b94b7f3e9b54a5a..fa24b7b89a958fc94162d844dddfc6e2ed766705 100644 (file)
@@ -106,6 +106,7 @@ except:
   exit(1)
 baseline_file = os.path.join(baselinePath, "testMEDReader6.png")
 import vtk.test.Testing
+from vtk.util.misc import vtkGetTempDir
 vtk.test.Testing.VTK_TEMP_DIR = vtk.util.misc.vtkGetTempDir()
 vtk.test.Testing.compareImage(GetActiveView().GetRenderWindow(), baseline_file,
                                                             threshold=1)
index 29c660fc51f7765805f1c596fd2960fd46fcf356..14afd22eb80f058a41c3c8ae5ff6e99e9139309f 100644 (file)
@@ -106,6 +106,7 @@ except:
   exit(1)
 baseline_file = os.path.join(baselinePath, "testMEDReader7.png")
 import vtk.test.Testing
+from vtk.util.misc import vtkGetTempDir
 vtk.test.Testing.VTK_TEMP_DIR = vtk.util.misc.vtkGetTempDir()
 vtk.test.Testing.compareImage(GetActiveView().GetRenderWindow(), baseline_file,
                                                             threshold=6)
index 639538c1f6448808a6e8e62e907941e8a374e964..e4dfb78fa80def99aba0e48f33339bdf754103ca 100644 (file)
@@ -116,6 +116,7 @@ except:
   exit(1)
 baseline_file = os.path.join(baselinePath, "testMEDReader8.png")
 import vtk.test.Testing
+from vtk.util.misc import vtkGetTempDir
 vtk.test.Testing.VTK_TEMP_DIR = vtk.util.misc.vtkGetTempDir()
 vtk.test.Testing.compareImage(GetActiveView().GetRenderWindow(), baseline_file,
                                                             threshold=1)