bool isUnits = aResourceMgr->booleanValue( "VISU", "scalar_bar_display_units", true );
SetUnitsVisible(isUnits);
+ SetSourceRange();
+
+ if( IsPositiveTable() && aResourceMgr->booleanValue("VISU", "scalar_bar_logarithmic", false) )
+ SetScaling(VISU::LOGARITHMIC);
+ else
+ SetScaling(VISU::LINEAR);
+
QString aLabelsFormat = aResourceMgr->stringValue( "VISU", "scalar_bar_label_format", "%-#6.3g" );
const char *lf=aLabelsFormat.latin1();
SetLabelsFormat(lf);
vtkFloatingPointType aRange[2];
GetSpecificPL()->GetSourceRange(aRange);
return aRange[0];
-
- UseFixedRange(false);
}
CORBA::Double VISU::PointMap3d_i::GetSourceMax()
GetSpecificPL()->SetSourceRange();
ProcessVoidEvent(new TVoidMemFunEvent<VISU_DeformedGridPL>
(GetSpecificPL(), &VISU_DeformedGridPL::SetSourceRange));
+
+ UseFixedRange(false);
}
CORBA::Boolean VISU::PointMap3d_i::IsRangeFixed()