mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Well Log Plot: have multiple rows of plots for horizontal depth orientation.
This commit is contained in:
parent
5c9bf502e7
commit
377df9ab3a
@ -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;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
@ -85,6 +85,8 @@ public:
|
||||
size_t plotIndex( const RimPlot* plot ) const;
|
||||
RimPlot* plotByIndex( size_t index ) const;
|
||||
|
||||
int columnCount() const override;
|
||||
|
||||
std::vector<RimPlot*> plots() const override;
|
||||
std::vector<RimPlot*> visiblePlots() const;
|
||||
void insertPlot( RimPlot* plot, size_t index ) final;
|
||||
|
Loading…
Reference in New Issue
Block a user