mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Stimplan preprocessor refact (#5895)
* #5633 Add Fracture Model data object. * #5633 Add visualization for Fracture Model. * Use thickness direction well path. * #5834 WIP Fracture Model: Extract facies names along thickness direction vector * Update to class enums. * Remove RimFractureModel dip, tilt and azimuth (no longer used). * #5824: Fix fracture model direction relative to formation dip * Workaround problem in generated python code which breaks tests on linux. See #5862. * Update name of thickness direction well path. * #5834 Add import command for facies roff file. * #5834 Show color legend data in facies track. Also make it possible to change the data source for the curve data in plot. * Fracture Model: replace "Thickness Type" with "Extraction Type". * Use shorter curve legends in fracture model plot. * Use class enum for RimFractureModel::ExtractionType. * Use RimProject::current() instead of RiaApplication::instance()->project(). * Simplify RimFractureModel by not implementing Rim3dPropertiesInterface. * Use scoped enums in RiaPlotAnnotationTool. * Remove unused RimFractureModelPlot fields. * Hide fracture model plots field, and add accessor methods.
This commit is contained in:
committed by
GitHub
parent
73ac3e5db1
commit
20ca3354b9
@@ -22,6 +22,8 @@
|
||||
#include "RimCorrelationPlotCollection.h"
|
||||
#include "RimFlowCharacteristicsPlot.h"
|
||||
#include "RimFlowPlotCollection.h"
|
||||
#include "RimFractureModelPlot.h"
|
||||
#include "RimFractureModelPlotCollection.h"
|
||||
#include "RimGridCrossPlot.h"
|
||||
#include "RimGridCrossPlotCollection.h"
|
||||
#include "RimMultiPlot.h"
|
||||
@@ -93,6 +95,9 @@ RimMainPlotCollection::RimMainPlotCollection()
|
||||
CAF_PDM_InitFieldNoDefault( &m_multiPlotCollection, "RimMultiPlotCollection", "Multi Plots", "", "", "" );
|
||||
m_multiPlotCollection.uiCapability()->setUiHidden( true );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_fractureModelPlotCollection, "FractureModelPlotCollection", "", "", "", "" );
|
||||
m_fractureModelPlotCollection.uiCapability()->setUiHidden( true );
|
||||
|
||||
m_wellLogPlotCollection = new RimWellLogPlotCollection();
|
||||
m_rftPlotCollection = new RimRftPlotCollection();
|
||||
m_pltPlotCollection = new RimPltPlotCollection();
|
||||
@@ -104,6 +109,7 @@ RimMainPlotCollection::RimMainPlotCollection()
|
||||
m_multiPlotCollection = new RimMultiPlotCollection;
|
||||
m_analysisPlotCollection = new RimAnalysisPlotCollection;
|
||||
m_correlationPlotCollection = new RimCorrelationPlotCollection;
|
||||
m_fractureModelPlotCollection = new RimFractureModelPlotCollection;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -218,6 +224,14 @@ RimCorrelationPlotCollection* RimMainPlotCollection::correlationPlotCollection()
|
||||
return m_correlationPlotCollection();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimFractureModelPlotCollection* RimMainPlotCollection::fractureModelPlotCollection()
|
||||
{
|
||||
return m_fractureModelPlotCollection();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -234,6 +248,7 @@ void RimMainPlotCollection::deleteAllContainedObjects()
|
||||
m_multiPlotCollection()->deleteAllChildObjects();
|
||||
m_analysisPlotCollection()->deleteAllChildObjects();
|
||||
m_correlationPlotCollection()->deleteAllChildObjects();
|
||||
m_fractureModelPlotCollection()->deleteAllPlots();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -293,6 +308,14 @@ void RimMainPlotCollection::updatePlotsWithFormations()
|
||||
plotWindow->loadDataAndUpdate();
|
||||
}
|
||||
}
|
||||
|
||||
if ( m_fractureModelPlotCollection )
|
||||
{
|
||||
for ( RimFractureModelPlot* fractureModelPlot : m_fractureModelPlotCollection->fractureModelPlots() )
|
||||
{
|
||||
fractureModelPlot->loadDataAndUpdate();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user