RiaColorTables : Add and use undefinedCellColor()

This commit is contained in:
Magne Sjaastad
2018-01-22 11:18:45 +01:00
parent 9a420183e1
commit 348b492cc1
7 changed files with 24 additions and 5 deletions

View File

@@ -19,6 +19,8 @@
#include "RivTernaryScalarMapperEffectGenerator.h"
#include "RiaColorTables.h"
#include "RivTernaryScalarMapper.h"
#include "cvfRenderStateBlending.h"
@@ -48,7 +50,7 @@
///
//--------------------------------------------------------------------------------------------------
RivTernaryScalarMapperEffectGenerator::RivTernaryScalarMapperEffectGenerator(const RivTernaryScalarMapper* scalarMapper, caf::PolygonOffset polygonOffset)
: m_undefinedColor(cvf::Color3::GRAY)
: m_undefinedColor(RiaColorTables::undefinedCellColor())
{
m_scalarMapper = scalarMapper;
m_polygonOffset = polygonOffset;