Refactor: Use PlotCollection interface more places.

This commit is contained in:
Kristian Bendiksen committed 2021-05-10 14:03:52 +02:00
1 parent 0fb69f7524
commit 8b2173f951
20 files changed
+271 -311

No files matched your search

@@ -214,6 +214,25 @@ const std::vector<RimWellPltPlot*> RimPltPlotCollection::pltPlots() const
return plots;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimPltPlotCollection::loadDataAndUpdateAllPlots()
{
for ( auto& plot : m_pltPlots )
{
plot->loadDataAndUpdate();
}
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
size_t RimPltPlotCollection::plotCount() const
{
return m_pltPlots.size();
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------