#2331 Introduce new intermediate class RimGridView

This commit is contained in:
Jacob Støren
2018-01-15 14:52:22 +01:00
parent 1bbd3ade7b
commit b092565a61
48 changed files with 1387 additions and 508 deletions

View File

@@ -102,7 +102,7 @@ void RicAppendIntersectionFeatureCmd::redo()
intersection->name = QString("Intersection");
m_intersectionCollection->appendIntersection(intersection);
Rim3dView* view = nullptr;
RimGridView* view = nullptr;
m_intersectionCollection->firstAncestorOrThisOfTypeAsserted(view);
//Enable display of grid cells, to be able to show generated property filter

View File

@@ -61,7 +61,7 @@ bool RicNewAzimuthDipIntersectionFeature::isCommandEnabled()
//--------------------------------------------------------------------------------------------------
void RicNewAzimuthDipIntersectionFeature::onActionTriggered(bool isChecked)
{
Rim3dView* activeView = RiaApplication::instance()->activeReservoirView();
RimGridView* activeView = RiaApplication::instance()->activeGridView();
if (!activeView) return;
RicNewAzimuthDipIntersectionFeatureCmd* cmd = new RicNewAzimuthDipIntersectionFeatureCmd(activeView->crossSectionCollection);

View File

@@ -60,7 +60,7 @@ bool RicNewPolylineIntersectionFeature::isCommandEnabled()
//--------------------------------------------------------------------------------------------------
void RicNewPolylineIntersectionFeature::onActionTriggered(bool isChecked)
{
Rim3dView* activeView = RiaApplication::instance()->activeReservoirView();
RimGridView* activeView = RiaApplication::instance()->activeGridView();
if (!activeView) return;
RicNewPolylineIntersectionFeatureCmd* cmd = new RicNewPolylineIntersectionFeatureCmd(activeView->crossSectionCollection);

View File

@@ -56,7 +56,7 @@ bool RicNewWellPathIntersectionFeature::isCommandEnabled()
//--------------------------------------------------------------------------------------------------
void RicNewWellPathIntersectionFeature::onActionTriggered(bool isChecked)
{
Rim3dView* activeView = RiaApplication::instance()->activeReservoirView();
RimGridView* activeView = RiaApplication::instance()->activeGridView();
if (!activeView) return;
std::vector<RimWellPath*> collection;