From: Cédric Aguerre Date: Fri, 22 Apr 2016 13:57:13 +0000 (+0200) Subject: Remove obsolete CameraClippingRange attribute X-Git-Tag: V8_1_0a1~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=731f2080801fbb2188eaffca8009ce2d77002e97;p=modules%2Fparavis.git Remove obsolete CameraClippingRange attribute --- diff --git a/src/Plugins/MEDReader/Test/testMEDReader0.py b/src/Plugins/MEDReader/Test/testMEDReader0.py index 3f80e3a1..d6c59d5b 100644 --- a/src/Plugins/MEDReader/Test/testMEDReader0.py +++ b/src/Plugins/MEDReader/Test/testMEDReader0.py @@ -115,7 +115,6 @@ DataRepresentation4.ColorArrayName = 'SolutionSIEF_ELGA' ######## RenderView1.CameraViewUp = [-0.19545466285945437, 0.837274140321886, -0.5106559396646081] RenderView1.CameraPosition = [0.11797550069274401, 0.20119836056342144, 0.20885419432082736] -RenderView1.CameraClippingRange = [0.14700465306315827, 0.40712447273162633] RenderView1.CameraFocalPoint = [1.0170565790969026e-18, 0.0599999981932342, 0.022500000894069675] RenderView1.ViewSize =[300,300] Render() diff --git a/src/Plugins/MEDReader/Test/testMEDReader10.py b/src/Plugins/MEDReader/Test/testMEDReader10.py index f71e1a4b..30953c59 100644 --- a/src/Plugins/MEDReader/Test/testMEDReader10.py +++ b/src/Plugins/MEDReader/Test/testMEDReader10.py @@ -74,7 +74,6 @@ DataRepresentation1.ScaleFactor = 0.3 RenderView1.CenterOfRotation = [1.5, 0.5, 0.5] RenderView1.CameraPosition = [1.5, 0.5, 6.907227082229696] RenderView1.CameraFocalPoint = [1.5, 0.5, 0.5] -RenderView1.CameraClippingRange = [5.348154811407399, 7.755835488463141] RenderView1.CameraParallelScale = 1.6583123951777 DataRepresentation1.Representation = 'Wireframe' # @@ -91,10 +90,8 @@ DataRepresentation2.ScalarOpacityUnitDistance = 4.546673931685981 #DataRepresentation2.ExtractedBlockIndex = 1 DataRepresentation2.ScaleFactor = 0.5 DataRepresentation1.Visibility = 0 -RenderView1.CameraClippingRange = [3.358154811407399, 10.26083548846314] DataRepresentation1.ColorArrayName = ('POINT_DATA', '') DataRepresentation1.Visibility = 1 -RenderView1.CameraClippingRange = [5.149154811407399, 8.00633548846314] a4_f3NbComp4_PVLookupTable = GetLookupTableForArray( "f3NbComp4", 4, RGBPoints=[1.118033988749895, 0.23, 0.299, 0.754, 8.108851429645696, 0.865, 0.865, 0.865, 15.0996688705415, 0.706, 0.016, 0.15], VectorMode='Magnitude', NanColor=[0.25, 0.0, 0.0], ColorSpace='Diverging', ScalarRangeInitialized=1.0 ) a4_f3NbComp4_PiecewiseFunction = CreatePiecewiseFunction( Points=[1.118033988749895, 0.0, 0.5, 0.0, 15.0996688705415, 1.0, 0.5, 0.0] ) DataRepresentation1.ScalarOpacityFunction = a4_f3NbComp4_PiecewiseFunction @@ -105,7 +102,6 @@ DataRepresentation2.ColorArrayName = ('POINT_DATA', 'f3NbComp4') DataRepresentation2.LookupTable = a4_f3NbComp4_PVLookupTable RenderView1.CameraViewUp = [0.32310237626907823, -0.28721735329781684, -0.901726702728644] RenderView1.CameraPosition = [0.17151044563787257, 6.31903262423349, -1.8294921560963984] -RenderView1.CameraClippingRange = [4.164482329590951, 9.24583527085017] RenderView1.CameraFocalPoint = [1.4999999999999996, 0.49999999999999944, 0.4999999999999996] # RenderView1.ViewSize =[300,300] diff --git a/src/Plugins/MEDReader/Test/testMEDReader11.py b/src/Plugins/MEDReader/Test/testMEDReader11.py index b343f6d3..8d3ce4d3 100644 --- a/src/Plugins/MEDReader/Test/testMEDReader11.py +++ b/src/Plugins/MEDReader/Test/testMEDReader11.py @@ -188,7 +188,6 @@ a1_VITESSEX_PiecewiseFunction.Points = [-0.04176214531137861, 0.0, 0.5, 0.0, 0.7 RenderView1.CenterOfRotation = [2.4192, 2.4192, 4.32745] RenderView1.CameraViewUp = [-0.09460871052363676, 0.6302516648802655, 0.7706049771502312] RenderView1.CameraPosition = [4.325977740713708, -0.6239049541402536, 7.050401199739401] -RenderView1.CameraClippingRange = [2.404636927989219, 7.163736971217594] RenderView1.CameraFocalPoint = [2.4191999999999996, 2.4191999999999996, 4.32745] RenderView1.ViewTime = 2.0 diff --git a/src/Plugins/MEDReader/Test/testMEDReader12.py b/src/Plugins/MEDReader/Test/testMEDReader12.py index e5093590..2649e132 100644 --- a/src/Plugins/MEDReader/Test/testMEDReader12.py +++ b/src/Plugins/MEDReader/Test/testMEDReader12.py @@ -65,7 +65,6 @@ DataRepresentation1.SelectionCellFieldDataArrayName = 'FamilyIdCell' RenderView1.CameraPosition = [0.10751999914646149, 0.10751999914646149, 5.409578268564619] RenderView1.CameraFocalPoint = [0.10751999914646149, 0.10751999914646149, 4.703749895095825] -RenderView1.CameraClippingRange = [0.4972827225809383, 0.9700468818440346] RenderView1.CameraParallelScale = 0.18268182562745858 ExtractGroup1 = ExtractGroup(Input=testMEDReader12_med) diff --git a/src/Plugins/MEDReader/Test/testMEDReader13.py b/src/Plugins/MEDReader/Test/testMEDReader13.py index 5b6635fe..d19a774d 100644 --- a/src/Plugins/MEDReader/Test/testMEDReader13.py +++ b/src/Plugins/MEDReader/Test/testMEDReader13.py @@ -50,7 +50,6 @@ RenderView1 = GetRenderView() RenderView1.CameraPosition = [1.0, 0.5, 10000.0] RenderView1.CameraPosition = [1.0, 0.5, 4.319751617610021] -RenderView1.CameraClippingRange = [4.276554101433921, 4.384547891874171] ELNOMesh3 = ELNOMesh(Input=testMEDReader13_med) diff --git a/src/Plugins/MEDReader/Test/testMEDReader2.py b/src/Plugins/MEDReader/Test/testMEDReader2.py index 09aa874a..da36c1c9 100644 --- a/src/Plugins/MEDReader/Test/testMEDReader2.py +++ b/src/Plugins/MEDReader/Test/testMEDReader2.py @@ -97,7 +97,6 @@ RenderView1 = GetRenderView() RenderView1.CenterOfRotation = [3.0, 3.0, 3.0] RenderView1.CameraViewUp = [-0.03886073885859842, 0.48373409998193495, 0.8743518533691291] RenderView1.CameraPosition = [7.351939549758929, -5.688193007926853, 8.000155023042788] -RenderView1.CameraClippingRange = [0.026023957813772633, 26.023957813772633] RenderView1.CameraFocalPoint = [2.9999999999999996, 2.9999999999999987, 2.9999999999999982] RenderView1.ViewSize =[300,300] diff --git a/src/Plugins/MEDReader/Test/testMEDReader3.py b/src/Plugins/MEDReader/Test/testMEDReader3.py index 582e243a..f6fd880d 100644 --- a/src/Plugins/MEDReader/Test/testMEDReader3.py +++ b/src/Plugins/MEDReader/Test/testMEDReader3.py @@ -96,7 +96,6 @@ assert(list(testMEDReader3.TimestepValues)==[1.,2.,3.,4.,5.]) ## <- the test is RenderView1=GetRenderView() RenderView1.ViewTime=3.0 RenderView1.CameraPosition=[0.5,0.5,5.7320508075688776] -RenderView1.CameraClippingRange=[2.704730299493189,2.7730315696824106] RenderView1.ViewSize=[300,300] DataRepresentation2=Show() diff --git a/src/Plugins/MEDReader/Test/testMEDReader4.py b/src/Plugins/MEDReader/Test/testMEDReader4.py index f02629cc..a6cef30f 100644 --- a/src/Plugins/MEDReader/Test/testMEDReader4.py +++ b/src/Plugins/MEDReader/Test/testMEDReader4.py @@ -87,7 +87,6 @@ DataRepresentation1.LookupTable = lookupTable RenderView1 = GetRenderView() RenderView1.CameraViewUp = [0.06254683966704512, 0.9980420295997885, 0.0] RenderView1.CameraPosition = [0.8087292125440382, 1.3325993334207897, 12.692130429902462] -RenderView1.CameraClippingRange = [6.326709113742113, 7.168262401281963] RenderView1.CameraFocalPoint = [0.8087292125440382, 1.3325993334207897, 0.0] RenderView1.CameraParallelScale = 3.712804729456109 diff --git a/src/Plugins/MEDReader/Test/testMEDReader5.py b/src/Plugins/MEDReader/Test/testMEDReader5.py index 87f3caf5..0248a1c7 100644 --- a/src/Plugins/MEDReader/Test/testMEDReader5.py +++ b/src/Plugins/MEDReader/Test/testMEDReader5.py @@ -95,7 +95,6 @@ RenderView1=GetRenderView() RenderView1.CenterOfRotation=[2.,2.,2.] RenderView1.CameraViewUp=[0.24562884954787187,0.6907950752417243,-0.680050463047831] RenderView1.CameraPosition=[-2.5085697461776486,11.6185941755061,10.14210560568201] -RenderView1.CameraClippingRange=[5.269050059274764,23.64024625330183] RenderView1.CameraFocalPoint=[2.,2.,2.] RenderView1.CameraParallelScale=5.071791174723188 diff --git a/src/Plugins/MEDReader/Test/testMEDReader6.py b/src/Plugins/MEDReader/Test/testMEDReader6.py index e9e7b266..9b73ce29 100644 --- a/src/Plugins/MEDReader/Test/testMEDReader6.py +++ b/src/Plugins/MEDReader/Test/testMEDReader6.py @@ -78,7 +78,6 @@ RenderView1.CameraFocalPoint = [1.5, 1.5, 0.0] RenderView1.CameraPosition = [1.5, 1.5, 10000.0] RenderView1.InteractionMode = '3D' RenderView1.CameraPosition = [1.5, 1.5, 8.196152422706632] -RenderView1.CameraClippingRange = [7.825640906782493, 8.682319698595558] RenderView1.CameraParallelScale = 2.1213203435596424 RenderView1.CenterOfRotation = [1.5, 1.5, 0.0] diff --git a/src/Plugins/MEDReader/Test/testMEDReader7.py b/src/Plugins/MEDReader/Test/testMEDReader7.py index 05d712f5..423a3862 100644 --- a/src/Plugins/MEDReader/Test/testMEDReader7.py +++ b/src/Plugins/MEDReader/Test/testMEDReader7.py @@ -75,7 +75,6 @@ RenderView1.CameraFocalPoint = [1.5, 1.5, 0.0] RenderView1.CameraPosition = [1.5, 1.5, 10000.0] RenderView1.InteractionMode = '3D' RenderView1.CameraPosition = [1.5, 1.5, 8.196152422706632] -RenderView1.CameraClippingRange = [7.825640906782493, 8.682319698595558] RenderView1.CameraParallelScale = 2.1213203435596424 RenderView1.CenterOfRotation = [1.5, 1.5, 0.0] diff --git a/src/Plugins/MEDReader/Test/testMEDReader8.py b/src/Plugins/MEDReader/Test/testMEDReader8.py index 77f165fc..0b552f67 100644 --- a/src/Plugins/MEDReader/Test/testMEDReader8.py +++ b/src/Plugins/MEDReader/Test/testMEDReader8.py @@ -85,7 +85,6 @@ RenderView1.CameraFocalPoint = [1.5, 1.5, 0.0] RenderView1.CameraPosition = [1.5, 1.5, 10000.0] RenderView1.InteractionMode = '3D' RenderView1.CameraPosition = [1.5, 1.5, 8.196152422706632] -RenderView1.CameraClippingRange = [7.825640906782493, 8.682319698595558] RenderView1.CameraParallelScale = 2.1213203435596424 RenderView1.CenterOfRotation = [1.5, 1.5, 0.0]