Intersection color texturing: Remove dependency on view and RimEclipseResultColor

Also start to harmonize intersection and intersection box texturing
This commit is contained in:
Jacob Støren
2019-11-18 16:05:36 +01:00
parent db0bbb96c4
commit 57dfd3b67a
8 changed files with 60 additions and 47 deletions

View File

@@ -120,6 +120,7 @@ void RivFaultPartMgr::updateCellResultColor( size_t timeStepIndex, RimEclipseCel
{
RivTernaryTextureCoordsCreator texturer( cellResultColors,
cellResultColors->ternaryLegendConfig(),
eclipseView->wellCollection(),
timeStepIndex,
m_grid->gridIndex(),
m_nativeFaultGenerator->quadToCellFaceMapper() );
@@ -164,6 +165,7 @@ void RivFaultPartMgr::updateCellResultColor( size_t timeStepIndex, RimEclipseCel
{
RivTernaryTextureCoordsCreator texturer( cellResultColors,
cellResultColors->ternaryLegendConfig(),
eclipseView->wellCollection(),
timeStepIndex,
m_grid->gridIndex(),
m_oppositeFaultGenerator->quadToCellFaceMapper() );