]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
ShallowCopy() method updated
authorouv <ouv@opencascade.com>
Wed, 21 Sep 2005 07:10:58 +0000 (07:10 +0000)
committerouv <ouv@opencascade.com>
Wed, 21 Sep 2005 07:10:58 +0000 (07:10 +0000)
src/PIPELINE/VISU_GaussPointsPL.cxx
src/PIPELINE/VISU_PipeLine.cxx

index c666087f24ceb87c8b3297207ac94a62ececbfee..ba8676c54f1b704033f0e45d54657e6483bb1078 100644 (file)
@@ -59,7 +59,7 @@ VISU_GaussPointsPL
 ::ShallowCopy(VISU_PipeLine *thePipeLine)
 {
   SetIDMapper(thePipeLine->GetIDMapper());
-  myMapper->ShallowCopy(thePipeLine->GetMapper());
+  GetMapper()->ShallowCopy(thePipeLine->GetMapper());
   Build();
 
   if(VISU_GaussPointsPL *aPipeLine = dynamic_cast<VISU_GaussPointsPL*>(thePipeLine)){
@@ -69,8 +69,12 @@ VISU_GaussPointsPL
     SetScaling(aPipeLine->GetScaling());
 
     SetGaussMesh(aPipeLine->GetGaussMesh());
+    SetClamp(aPipeLine->GetClamp());
+    SetRelativeSize(aPipeLine->GetRelativeSize());
     SetRelativeMinSize(aPipeLine->GetRelativeMinSize());
     SetRelativeMaxSize(aPipeLine->GetRelativeMaxSize());
+    SetMagnification(aPipeLine->GetMagnification());
+    SetMagnificationIncrement(aPipeLine->GetMagnificationIncrement());
     Init();
   }
 }
index 9d69ba08925954ec60f56bbcaa703fd22e011bb8..57f11890ce6e1a0fd7595c10295ffb1c08a86909 100644 (file)
@@ -88,7 +88,7 @@ VISU_PipeLine
 ::ShallowCopy(VISU_PipeLine *thePipeLine)
 {
   SetIDMapper(thePipeLine->GetIDMapper());
-  myMapper->ShallowCopy(thePipeLine->GetMapper());
+  GetMapper()->ShallowCopy(thePipeLine->GetMapper());
   SetImplicitFunction(thePipeLine->GetImplicitFunction());
   Build();
 }