mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-26 07:00:17 -05:00
Histogram: add data source for ensemble fracture statistics histograms.
This commit is contained in:
1 parent
11d85583dd
commit
0da6e3ccb5
13 files changed
+272
-174
No files matched your search
@@ -20,7 +20,6 @@
|
||||
|
||||
#include "RiaApplication.h"
|
||||
#include "RiaDefines.h"
|
||||
#include "RiaInterpolationTools.h"
|
||||
#include "RiaLogging.h"
|
||||
#include "RiaNumberFormat.h"
|
||||
#include "RiaPreferences.h"
|
||||
@@ -34,11 +33,8 @@
|
||||
#include "RigStatisticsMath.h"
|
||||
#include "RigStimPlanFractureDefinition.h"
|
||||
|
||||
#ifdef USE_QTCHARTS
|
||||
#include "RimEnsembleFractureStatisticsPlot.h"
|
||||
#endif
|
||||
#include "Histogram/RimEnsembleFractureHistogramDataSource.h"
|
||||
#include "RimFractureTemplateCollection.h"
|
||||
#include "RimHistogramCalculator.h"
|
||||
#include "RimProject.h"
|
||||
#include "RimStimPlanFractureTemplate.h"
|
||||
|
||||
@@ -288,15 +284,13 @@ void RimEnsembleFractureStatistics::fieldChangedByUi( const caf::PdmFieldHandle*
|
||||
{
|
||||
loadAndUpdateData();
|
||||
|
||||
#ifdef USE_QTCHARTS
|
||||
// Update referring plots
|
||||
std::vector<caf::PdmObjectHandle*> referringObjects = objectsWithReferringPtrFields();
|
||||
for ( caf::PdmObjectHandle* obj : referringObjects )
|
||||
{
|
||||
auto plot = dynamic_cast<RimEnsembleFractureStatisticsPlot*>( obj );
|
||||
auto plot = dynamic_cast<RimEnsembleFractureHistogramDataSource*>( obj );
|
||||
if ( plot ) plot->loadDataAndUpdate();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user