Well Log Plot: have multiple rows of plots for horizontal depth orientation.

This commit is contained in:
Kristian Bendiksen
2022-02-12 14:24:42 +01:00
committed by Magne Sjaastad
parent 5c9bf502e7
commit 377df9ab3a
2 changed files with 14 additions and 0 deletions
@@ -36,6 +36,7 @@
#include "RimMainPlotCollection.h"
#include "RimOilField.h"
#include "RimPlot.h"
#include "RimPlotWindow.h"
#include "RimProject.h"
#include "RimWellAllocationPlot.h"
#include "RimWellLogCurve.h"
@@ -286,6 +287,17 @@ std::vector<RimPlot*> RimDepthTrackPlot::visiblePlots() const
return allVisiblePlots;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
int RimDepthTrackPlot::columnCount() const
{
if ( depthOrientation() == DepthOrientation::VERTICAL )
return RimPlotWindow::columnCount();
else
return 1;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------