Link selection in 3D view with plots (#9195)

* Allow well selections in 3D view to update well selection in summary plots and well log plots
This commit is contained in:
jonjenssen authored and GitHub committed 2022-08-15 20:27:49 +02:00
1 parent 016216bdb9
commit 0e45a90e1f
15 files changed
+184 -5

No files matched your search

@@ -42,6 +42,7 @@
#include "RimStimPlanModelPlotCollection.h"
#include "RimSummaryAddress.h"
#include "RimSummaryCrossPlotCollection.h"
#include "RimSummaryMultiPlot.h"
#include "RimSummaryMultiPlotCollection.h"
#include "RimSummaryPlotCollection.h"
#include "RimVfpPlotCollection.h"
@@ -390,6 +391,22 @@ void RimMainPlotCollection::loadDataAndUpdateAllPlots()
loadDataAndUpdatePlotCollectionsWithProgressInfo( plotCollections );
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimMainPlotCollection::updateSelectedWell( QString wellName )
{
for ( auto plot : summaryMultiPlotCollection()->multiPlots() )
{
plot->selectWell( wellName );
}
for ( auto plot : wellLogPlotCollection()->wellLogPlots() )
{
plot->selectWell( wellName );
}
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------