mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1980 PLT Plot: Add argument for isExtractioncurve in setValuesWithTVD
This commit is contained in:
parent
b8245c310c
commit
e3666a21fe
@ -379,7 +379,7 @@ void RimWellLogExtractionCurve::onLoadDataAndUpdate(bool updateParentPlot)
|
||||
}
|
||||
else
|
||||
{
|
||||
m_curveData->setValuesWithTVD(values, measuredDepthValues, tvDepthValues, depthUnit);
|
||||
m_curveData->setValuesWithTVD(values, measuredDepthValues, tvDepthValues, depthUnit, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -72,7 +72,8 @@ void RigWellLogCurveData::setValuesAndMD(const std::vector<double>& xValues,
|
||||
void RigWellLogCurveData::setValuesWithTVD(const std::vector<double>& xValues,
|
||||
const std::vector<double>& measuredDepths,
|
||||
const std::vector<double>& tvDepths,
|
||||
RiaDefines::DepthUnitType depthUnit)
|
||||
RiaDefines::DepthUnitType depthUnit,
|
||||
bool isExtractionCurve)
|
||||
{
|
||||
CVF_ASSERT(xValues.size() == measuredDepths.size());
|
||||
|
||||
@ -82,7 +83,7 @@ void RigWellLogCurveData::setValuesWithTVD(const std::vector<double>& xValues,
|
||||
m_depthUnit = depthUnit;
|
||||
|
||||
// Always use value filtering when TVD is present
|
||||
m_isExtractionCurve = true;
|
||||
m_isExtractionCurve = isExtractionCurve;
|
||||
|
||||
calculateIntervalsOfContinousValidValues();
|
||||
}
|
||||
@ -235,7 +236,7 @@ cvf::ref<RigWellLogCurveData> RigWellLogCurveData::calculateResampledCurveData(d
|
||||
|
||||
if (isTvDepthsAvailable)
|
||||
{
|
||||
reSampledData->setValuesWithTVD(xValues, measuredDepths, tvDepths, m_depthUnit);
|
||||
reSampledData->setValuesWithTVD(xValues, measuredDepths, tvDepths, m_depthUnit, true);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user