::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] << " " <<mySourceScalarRange[0] << " " << GetScalarMode() << endl;
SetAverageCellSize( VISU_DeformedShapePL::GetScaleFactor( GetParentMesh() ) );
myScalarArray = aCellData->GetScalars();
myPSMapper->SetLookupTable( myMapperTable );
- myPSMapper->SetScalarRange( aScalarRange );
+ myPSMapper->SetScalarRange( mySourceScalarRange );
this->UpdateGlyph();