#3501 Support property filters for 2d Maps

This commit is contained in:
Gaute Lindkvist
2018-10-29 12:52:57 +01:00
parent d2249e4d17
commit eb46fad1ec
3 changed files with 20 additions and 5 deletions

View File

@@ -76,6 +76,7 @@ void Rim2dGridProjection::generateGridMapping()
updateDefaultSampleSpacingFromGrid();
calculateCellRangeVisibility();
calculatePropertyFilterVisibility();
cvf::BoundingBox boundingBox = eclipseCase()->activeCellsBoundingBox();
cvf::Vec3d gridExtent = boundingBox.extent();
@@ -360,6 +361,18 @@ void Rim2dGridProjection::calculateCellRangeVisibility()
}
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void Rim2dGridProjection::calculatePropertyFilterVisibility()
{
RimEclipseView* view = nullptr;
firstAncestorOrThisOfTypeAsserted(view);
int timeStep = view->currentTimeStep();
RivReservoirViewPartMgr::computePropertyVisibility(m_cellVisibility.p(), mainGrid(), timeStep, m_cellVisibility.p(), view->eclipsePropertyFilterCollection());
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------