From d97ba0a16c9a31a6045998d19dee9f13924ffe1e Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 23 May 2007 07:26:05 +0000 Subject: [PATCH] NPAL16029 (Gauss Points visualization : bad color for another component that modulus) in Update(), use GetSourceRange() instead of GetScalarRange() --- src/PIPELINE/VISU_GaussPointsPL.cxx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/PIPELINE/VISU_GaussPointsPL.cxx b/src/PIPELINE/VISU_GaussPointsPL.cxx index a27a63ae..ae176e40 100644 --- a/src/PIPELINE/VISU_GaussPointsPL.cxx +++ b/src/PIPELINE/VISU_GaussPointsPL.cxx @@ -228,10 +228,9 @@ VISU_GaussPointsPL ::Update() { //cout << "VISU_GaussPointsPL::Update()" << endl; - vtkFloatingPointType* aScalarRange = GetScalarRange(); - mySourceScalarRange[0] = aScalarRange[0]; - mySourceScalarRange[1] = aScalarRange[1]; - myDeltaScalarRange = aScalarRange[1] - aScalarRange[0]; + GetSourceRange( mySourceScalarRange ); + myDeltaScalarRange = mySourceScalarRange[1] - mySourceScalarRange[0]; + cout << mySourceScalarRange[1] << " " <GetScalars(); myPSMapper->SetLookupTable( myMapperTable ); - myPSMapper->SetScalarRange( aScalarRange ); + myPSMapper->SetScalarRange( mySourceScalarRange ); this->UpdateGlyph(); -- 2.39.2