DataRepresentation3.LookupTable = a2_SolutionSIEQ_ELNO_PVLookupTable
DataRepresentation3.Visibility = 1
#
-ELGAfieldToPointSprite1=ELGAfieldToPointSprite(Input=ELNOfieldToSurface1)
-ELGAfieldToPointSprite1.SelectSourceArray=['CELLS','ELGA@0']
+ELGAfieldToPointGaussian1=ELGAfieldToPointGaussian(Input=ELNOfieldToSurface1)
+ELGAfieldToPointGaussian1.SelectSourceArray=['CELLS','ELGA@0']
DataRepresentation4 = Show()
DataRepresentation4.ScaleFactor = 0.008999999705702066
DataRepresentation4.EdgeColor = [0.0, 0.0, 0.5000076295109483]
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)
DataRepresentation2 = Show()
#DataRepresentation2.ConstantRadius = 1.9999333620071411
DataRepresentation2.EdgeColor = [0.0, 0.0, 0.5000076295109483]
-#DataRepresentation2.PointSpriteDefaultsInitialized = 1
+#DataRepresentation2.PointGaussianDefaultsInitialized = 1
DataRepresentation2.SelectionPointFieldDataArrayName = 'fieldELNO'
DataRepresentation2.SelectionCellFieldDataArrayName = 'FamilyIdCell'
#DataRepresentation2.SelectInputVectors = ['POINTS', 'fieldELNO_Vector']
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)
for entry in [[ExpectedEntries[0]],[ExpectedEntries[1]],[ExpectedEntries[2],ExpectedEntries[3]],[ExpectedEntries[4]]]:
reader=MEDReader(FileName=fname)
reader.AllArrays=entry
- gaussPoints=ELGAfieldToPointSprite(Input=reader)
+ gaussPoints=ELGAfieldToPointGaussian(Input=reader)
gaussPoints.SelectSourceArray="ELGA@0"
Show(gaussPoints,renderView1)
pass
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)
from MEDLoader import *
""" This test generate a GaussPoint field on a mesh with groups.
-The aim of this test is to check that the ExtractGroup works well for ELGAfieldToPointSprite
+The aim of this test is to check that the ExtractGroup works well for ELGAfieldToPointGaussian
"""
fname="testMEDReader6.med"
ExtractGroup1.UpdatePipelineInformation()
ExtractGroup1.AllGroups = ['GRP_grp0']
-ELGAfieldToPointSprite1 = ELGAfieldToPointSprite(Input=ExtractGroup1)
-ELGAfieldToPointSprite1.SelectSourceArray = ['CELLS','ELGA@0']
+ELGAfieldToPointGaussian1 = ELGAfieldToPointGaussian(Input=ExtractGroup1)
+ELGAfieldToPointGaussian1.SelectSourceArray = ['CELLS','ELGA@0']
-Glyph1 = Glyph( Input=ELGAfieldToPointSprite1, GlyphType="Sphere", GlyphTransform="Transform2" )
+Glyph1 = Glyph( Input=ELGAfieldToPointGaussian1, GlyphType="Sphere", GlyphTransform="Transform2" )
Glyph1.GlyphType = "Sphere"
Glyph1.Vectors = ['POINTS', '']
Glyph1.ScaleFactor = 0.29
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)