mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Rename crossSection to intersection in general code
This commit is contained in:
@@ -122,7 +122,7 @@ void RicCopyIntersectionsToAllViewsInCaseFeature::copyIntersectionsToOtherViews(
|
||||
|
||||
if ( currGridView && parentView != nullptr && parentView != currGridView )
|
||||
{
|
||||
RimIntersectionCollection* destCollection = currGridView->crossSectionCollection();
|
||||
RimIntersectionCollection* destCollection = currGridView->intersectionCollection();
|
||||
|
||||
RimExtrudedCurveIntersection* copy = dynamic_cast<RimExtrudedCurveIntersection*>(
|
||||
intersection->xmlCapability()->copyByXmlSerialization( caf::PdmDefaultObjectFactory::instance() ) );
|
||||
@@ -155,7 +155,7 @@ void RicCopyIntersectionsToAllViewsInCaseFeature::copyIntersectionBoxesToOtherVi
|
||||
|
||||
if ( currGridView && parentView != nullptr && parentView != currGridView )
|
||||
{
|
||||
RimIntersectionCollection* destCollection = currGridView->crossSectionCollection();
|
||||
RimIntersectionCollection* destCollection = currGridView->intersectionCollection();
|
||||
|
||||
RimIntersectionBox* copy = dynamic_cast<RimIntersectionBox*>(
|
||||
intersectionBox->xmlCapability()->copyByXmlSerialization( caf::PdmDefaultObjectFactory::instance() ) );
|
||||
|
||||
@@ -62,7 +62,7 @@ void RicNewAzimuthDipIntersectionFeature::onActionTriggered( bool isChecked )
|
||||
if ( !activeView ) return;
|
||||
|
||||
RicNewAzimuthDipIntersectionFeatureCmd* cmd = new RicNewAzimuthDipIntersectionFeatureCmd(
|
||||
activeView->crossSectionCollection() );
|
||||
activeView->intersectionCollection() );
|
||||
caf::CmdExecCommandManager::instance()->processExecuteCommand( cmd );
|
||||
}
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@ void RicNewPolylineIntersectionFeature::onActionTriggered( bool isChecked )
|
||||
if ( !activeView ) return;
|
||||
|
||||
RicNewPolylineIntersectionFeatureCmd* cmd = new RicNewPolylineIntersectionFeatureCmd(
|
||||
activeView->crossSectionCollection() );
|
||||
activeView->intersectionCollection() );
|
||||
caf::CmdExecCommandManager::instance()->processExecuteCommand( cmd );
|
||||
}
|
||||
|
||||
|
||||
@@ -56,7 +56,7 @@ void RicNewSimWellIntersectionFeature::onActionTriggered( bool isChecked )
|
||||
simWell->firstAncestorOrThisOfType( eclView );
|
||||
CVF_ASSERT( eclView );
|
||||
|
||||
RicNewSimWellIntersectionCmd* cmd = new RicNewSimWellIntersectionCmd( eclView->crossSectionCollection(), simWell );
|
||||
RicNewSimWellIntersectionCmd* cmd = new RicNewSimWellIntersectionCmd( eclView->intersectionCollection(), simWell );
|
||||
caf::CmdExecCommandManager::instance()->processExecuteCommand( cmd );
|
||||
}
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ void RicNewWellPathIntersectionFeature::onActionTriggered( bool isChecked )
|
||||
RimWellPath* wellPath = collection[0];
|
||||
|
||||
RicNewWellPathIntersectionFeatureCmd* cmd =
|
||||
new RicNewWellPathIntersectionFeatureCmd( activeView->crossSectionCollection(), wellPath );
|
||||
new RicNewWellPathIntersectionFeatureCmd( activeView->intersectionCollection(), wellPath );
|
||||
caf::CmdExecCommandManager::instance()->processExecuteCommand( cmd );
|
||||
}
|
||||
|
||||
|
||||
@@ -55,7 +55,7 @@ void RicIntersectionBoxAtPosFeature::onActionTriggered( bool isChecked )
|
||||
RimGridView* activeMainOrComparisonView = RiaApplication::instance()->activeMainOrComparisonGridView();
|
||||
if ( activeMainOrComparisonView )
|
||||
{
|
||||
RimIntersectionCollection* coll = activeMainOrComparisonView->crossSectionCollection();
|
||||
RimIntersectionCollection* coll = activeMainOrComparisonView->intersectionCollection();
|
||||
CVF_ASSERT( coll );
|
||||
|
||||
RimIntersectionBox* intersectionBox = new RimIntersectionBox();
|
||||
|
||||
@@ -38,7 +38,7 @@ void RicIntersectionFeatureImpl::createIntersectionBoxSlize( const QString&
|
||||
|
||||
if ( activeMainOrComparisonView )
|
||||
{
|
||||
RimIntersectionCollection* coll = activeMainOrComparisonView->crossSectionCollection();
|
||||
RimIntersectionCollection* coll = activeMainOrComparisonView->intersectionCollection();
|
||||
CVF_ASSERT( coll );
|
||||
|
||||
cvf::Vec3d domainCoord = activeView->viewer()->viewerCommands()->lastPickPositionInDomainCoords();
|
||||
|
||||
@@ -130,11 +130,11 @@ void RicDeleteItemExec::redo()
|
||||
|
||||
// Intersections
|
||||
|
||||
RimIntersectionCollection* crossSectionColl;
|
||||
parentObj->firstAncestorOrThisOfType( crossSectionColl );
|
||||
if ( view && crossSectionColl )
|
||||
RimIntersectionCollection* intersectionColl;
|
||||
parentObj->firstAncestorOrThisOfType( intersectionColl );
|
||||
if ( view && intersectionColl )
|
||||
{
|
||||
crossSectionColl->syncronize2dIntersectionViews();
|
||||
intersectionColl->syncronize2dIntersectionViews();
|
||||
view->scheduleCreateDisplayModelAndRedraw();
|
||||
}
|
||||
else
|
||||
@@ -153,7 +153,7 @@ void RicDeleteItemExec::redo()
|
||||
if ( gridView && separateIntersectResDefColl )
|
||||
{
|
||||
gridView->scheduleCreateDisplayModelAndRedraw();
|
||||
gridView->crossSectionCollection()->scheduleCreateDisplayModelAndRedraw2dIntersectionViews();
|
||||
gridView->intersectionCollection()->scheduleCreateDisplayModelAndRedraw2dIntersectionViews();
|
||||
}
|
||||
|
||||
// SimWell Fractures
|
||||
|
||||
Reference in New Issue
Block a user