#1180 Moved color tables from RimLegendConfig to RiaColorTables

This commit is contained in:
Magne Sjaastad
2017-02-10 08:37:48 +01:00
parent 8fffc53629
commit 3d5781a601
2 changed files with 48 additions and 173 deletions

View File

@@ -123,11 +123,12 @@ protected:
private:
void updateLegend();
void updateFieldVisibility();
cvf::ref<cvf::Color3ubArray> interpolateColorArray(const cvf::Color3ubArray& colorArray, cvf::uint targetColorCount);
double roundToNumSignificantDigits(double value, double precision);
friend class RimViewLinker;
void setUiValuesFromLegendConfig(const RimLegendConfig* otherLegendConfig);
static cvf::Color3ubArray colorArrayFromColorType(ColorRangesType colorType);
private:
cvf::ref<cvf::ScalarMapperDiscreteLinear> m_linDiscreteScalarMapper;