mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1948 PLT Plot. Display curves from well log file
This commit is contained in:
@@ -26,6 +26,8 @@
|
||||
#include "RimWellAllocationPlot.h"
|
||||
#include "RimWellLogCurve.h"
|
||||
#include "RimWellLogTrack.h"
|
||||
#include "RimWellRftPlot.h"
|
||||
#include "RimWellPltPlot.h"
|
||||
|
||||
#include "RiuMainPlotWindow.h"
|
||||
#include "RiuWellLogPlot.h"
|
||||
@@ -34,7 +36,6 @@
|
||||
#include "cvfAssert.h"
|
||||
|
||||
#include <math.h>
|
||||
#include "RimWellRftPlot.h"
|
||||
|
||||
#define RI_LOGPLOT_MINDEPTH_DEFAULT 0.0
|
||||
#define RI_LOGPLOT_MAXDEPTH_DEFAULT 1000.0
|
||||
@@ -503,6 +504,24 @@ bool RimWellLogPlot::isRftPlotChild() const
|
||||
return rftPlot() != nullptr;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimWellPltPlot* RimWellLogPlot::pltPlot() const
|
||||
{
|
||||
RimWellPltPlot* pltPlot;
|
||||
firstAncestorOrThisOfType(pltPlot);
|
||||
return pltPlot;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RimWellLogPlot::isPltPlotChild() const
|
||||
{
|
||||
return pltPlot() != nullptr;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -815,6 +834,11 @@ void RimWellLogPlot::updateDisabledDepthTypes()
|
||||
m_disabledDepthTypes.insert(PSEUDO_LENGTH);
|
||||
m_disabledDepthTypes.insert(CONNECTION_NUMBER);
|
||||
}
|
||||
else if (isPltPlotChild())
|
||||
{
|
||||
m_disabledDepthTypes.insert(TRUE_VERTICAL_DEPTH);
|
||||
m_disabledDepthTypes.insert(CONNECTION_NUMBER);
|
||||
}
|
||||
else
|
||||
{
|
||||
m_disabledDepthTypes.insert(PSEUDO_LENGTH);
|
||||
|
||||
Reference in New Issue
Block a user