#1948 PLT Plot. Display curves from well log file

This commit is contained in:
Bjørn Erik Jensen
2017-10-25 14:43:17 +02:00
parent 0cb64ef982
commit a97fc2b9ba
5 changed files with 677 additions and 493 deletions

View File

@@ -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);