mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-18 03:49:47 -06:00
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:
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 );
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user