]> SALOME platform Git repositories - modules/paravis.git/commitdiff
Salome HOME
Correcting testMEDReader20 and baseline
authorMathieu Westphal <mathieu.westphal@kitware.com>
Fri, 7 Oct 2016 12:39:25 +0000 (14:39 +0200)
committerCédric Aguerre <cedric.aguerre@edf.fr>
Tue, 11 Oct 2016 16:03:10 +0000 (18:03 +0200)
src/Plugins/MEDReader/Test/Baselines/testMEDReader20.png
src/Plugins/MEDReader/Test/testMEDReader20.py

index c27a45f9f82b206bb05b0e82ed6d959705fec799..f84b3a27ba67cbc8610ca67a8fb41f72f83c781d 100644 (file)
Binary files a/src/Plugins/MEDReader/Test/Baselines/testMEDReader20.png and b/src/Plugins/MEDReader/Test/Baselines/testMEDReader20.png differ
index 192b8b56c2898be326d8691636054152c0ffc9c3..46ded62f85d4b567cbc2b47ef0ac0aaf40ae9ee3 100644 (file)
@@ -94,18 +94,6 @@ renderView1.InteractionMode = '2D'
 renderView1.CameraPosition = [5.0, 0.5, 10000.0]
 renderView1.CameraFocalPoint = [5.0, 0.5, 0.0]
 
-# set scalar coloring
-ColorBy(testMEDReader20medDisplay, ('FIELD', 'vtkBlockColors'))
-
-# show color bar/color legend
-testMEDReader20medDisplay.SetScalarBarVisibility(renderView1, True)
-
-# get color transfer function/color map for 'vtkBlockColors'
-vtkBlockColorsLUT = GetColorTransferFunction('vtkBlockColors')
-
-# get opacity transfer function/opacity map for 'vtkBlockColors'
-vtkBlockColorsPWF = GetOpacityTransferFunction('vtkBlockColors')
-
 # set scalar coloring
 ColorBy(testMEDReader20medDisplay, ('CELLS', 'Field'))