#4260 Support changing IJK bounding box in sector model and remodel UI

This commit is contained in:
Gaute Lindkvist
2019-04-01 16:21:43 +02:00
parent e2278493ad
commit 209146ebae
17 changed files with 308 additions and 93 deletions

View File

@@ -98,7 +98,13 @@ void RicfExportVisibleCells::execute()
RiaViewRedrawScheduler::instance()->clearViewsScheduledForUpdate();
RicExportEclipseSectorModelUi exportSettings(eclipseView->eclipseCase()->eclipseCaseData());
cvf::UByteArray cellVisibility;
eclipseView->calculateCurrentTotalCellVisibility(&cellVisibility, eclipseView->currentTimeStep());
cvf::Vec3i min, max;
std::tie(min, max) = RicExportEclipseSectorModelFeature::getVisibleCellRange(eclipseView, cellVisibility);
RicExportEclipseSectorModelUi exportSettings(eclipseView->eclipseCase()->eclipseCaseData(), min, max);
buildExportSettings(exportFolder, &exportSettings);
RicExportEclipseSectorModelFeature::executeCommand(eclipseView, exportSettings, "exportVisibleCells");
}