mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-15 09:52:11 -05:00
Release 2023.06
This commit is contained in:
1 parent
a7108f0a09
commit
77bf792b1a
1390 files changed
+66974
-11511
No files matched your search
@@ -26,6 +26,7 @@
|
||||
#include "RimExtrudedCurveIntersection.h"
|
||||
#include "RimPlotCurve.h"
|
||||
#include "RimProject.h"
|
||||
#include "RimSeismicSection.h"
|
||||
#include "RimTools.h"
|
||||
#include "RimWellPath.h"
|
||||
#include "RimWellPathFracture.h"
|
||||
@@ -81,29 +82,31 @@ void RimModeledWellPath::updateWellPathVisualization()
|
||||
{
|
||||
createWellPathGeometry();
|
||||
|
||||
std::vector<RimPlotCurve*> refferingCurves;
|
||||
this->objectsWithReferringPtrFieldsOfType( refferingCurves );
|
||||
|
||||
for ( auto curve : refferingCurves )
|
||||
std::vector<RimPlotCurve*> referringCurves = objectsWithReferringPtrFieldsOfType<RimPlotCurve>();
|
||||
for ( auto curve : referringCurves )
|
||||
{
|
||||
curve->loadDataAndUpdate( false );
|
||||
}
|
||||
|
||||
for ( auto fracture : this->fractureCollection()->activeFractures() )
|
||||
for ( auto fracture : fractureCollection()->activeFractures() )
|
||||
{
|
||||
fracture->loadDataAndUpdate();
|
||||
}
|
||||
|
||||
std::vector<RimExtrudedCurveIntersection*> refferingIntersections;
|
||||
this->objectsWithReferringPtrFieldsOfType( refferingIntersections );
|
||||
std::vector<RimExtrudedCurveIntersection*> referringIntersections = objectsWithReferringPtrFieldsOfType<RimExtrudedCurveIntersection>();
|
||||
|
||||
for ( auto intersection : refferingIntersections )
|
||||
for ( auto intersection : referringIntersections )
|
||||
{
|
||||
intersection->rebuildGeometryAndScheduleCreateDisplayModel();
|
||||
}
|
||||
|
||||
RimProject* proj;
|
||||
this->firstAncestorOrThisOfTypeAsserted( proj );
|
||||
std::vector<RimSeismicSection*> referringSeismic = objectsWithReferringPtrFieldsOfType<RimSeismicSection>();
|
||||
for ( auto seisSec : referringSeismic )
|
||||
{
|
||||
seisSec->updateVisualization();
|
||||
}
|
||||
|
||||
RimProject* proj = RimProject::current();
|
||||
proj->scheduleCreateDisplayModelAndRedrawAllViews();
|
||||
}
|
||||
|
||||
@@ -197,16 +200,6 @@ void RimModeledWellPath::onGeometryDefinitionChanged( const caf::SignalEmitter*
|
||||
updateGeometry( fullUpdate );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimModeledWellPath::fieldChangedByUi( const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue )
|
||||
{
|
||||
// TODO remove if nothing happens here
|
||||
|
||||
RimWellPath::fieldChangedByUi( changedField, oldValue, newValue );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -224,8 +217,7 @@ void RimModeledWellPath::updateGeometry( bool fullUpdate )
|
||||
{
|
||||
updateWellPathVisualization();
|
||||
|
||||
std::vector<RimWellPathTieIn*> tieInObjects;
|
||||
objectsWithReferringPtrFieldsOfType( tieInObjects );
|
||||
std::vector<RimWellPathTieIn*> tieInObjects = objectsWithReferringPtrFieldsOfType<RimWellPathTieIn>();
|
||||
for ( auto tieIn : tieInObjects )
|
||||
{
|
||||
if ( tieIn->parentWell() == this )
|
||||
|
||||
Reference in new issue
Block a user