//-------------------------------------------------------------------------------------------------- /// Sets the colors from a predefined color set that will be used in the legend. /// Will be interpolated when needed. //-------------------------------------------------------------------------------------------------- void ScalarMapperRangeBased::setColors(ColorTable colorTable) { ref<Color3ubArray> baseColors = colorTableArray(colorTable); setColors(*baseColors); }
//-------------------------------------------------------------------------------------------------- /// //-------------------------------------------------------------------------------------------------- void ScalarMapperContinuousLog::setColors(ColorTable colorTable) { ref<Color3ubArray> baseColors = colorTableArray(colorTable); setColors(*baseColors); }