mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2331 Introduce new intermediate class RimGridView
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user