From 55aecc7b519e44e36244c3013c43507c7351afcf Mon Sep 17 00:00:00 2001 From: apo Date: Fri, 1 Dec 2006 13:44:14 +0000 Subject: [PATCH] Implementation SameAs for Gauss Points presentation --- src/VISU_I/VISU_GaussPoints_i.cc | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/VISU_I/VISU_GaussPoints_i.cc b/src/VISU_I/VISU_GaussPoints_i.cc index 9267e0ab..24d3faee 100644 --- a/src/VISU_I/VISU_GaussPoints_i.cc +++ b/src/VISU_I/VISU_GaussPoints_i.cc @@ -224,24 +224,36 @@ VISU::GaussPoints_i if(const GaussPoints_i* aPrs3d = dynamic_cast(theOrigin)){ GaussPoints_i* anOrigin = const_cast(aPrs3d); + // To restore the range after shallow copy of the pipeline mapper + // in the parent class + SetSourceRange(); + SetIsActiveLocalScalarBar(anOrigin->GetIsActiveLocalScalarBar()); SetIsDispGlobalScalarBar(anOrigin->GetIsDispGlobalScalarBar()); + SetBiColor(anOrigin->GetBiColor()); + SetSpacing(anOrigin->GetSpacing()); + SetPrimitiveType(anOrigin->GetPrimitiveType()); SetClamp(anOrigin->GetClamp()); SetMinSize(anOrigin->GetMinSize()); SetMaxSize(anOrigin->GetMaxSize()); SetGeomSize(anOrigin->GetGeomSize()); + SetMagnification(anOrigin->GetMagnification()); SetMagnificationIncrement(anOrigin->GetMagnificationIncrement()); + SetIsDeformed(anOrigin->GetIsDeformed()); SetScaleFactor(anOrigin->GetScaleFactor()); + SetFaceLimit(anOrigin->GetFaceLimit()); - SetIsColored(anOrigin->GetIsColored()); + SetIsColored(anOrigin->GetIsColored()); SetColor(anOrigin->GetColor()); + SetAlphaThreshold(anOrigin->GetAlphaThreshold()); SetTextures(anOrigin->GetMainTexture(), anOrigin->GetAlphaTexture()); + SetResolution(anOrigin->GetResolution()); } } -- 2.39.2