Make Well Path visualisation in Well Log Plots go all the way up to surface

This commit is contained in:
Gaute Lindkvist
2020-02-07 11:09:13 +01:00
parent 438febe049
commit 4405c1b25f
2 changed files with 29 additions and 11 deletions

View File

@@ -2321,16 +2321,15 @@ void RimWellLogTrack::updateFormationNamesOnPlot()
const std::pair<double, double> xRange = std::make_pair( m_visibleXRangeMin(), m_visibleXRangeMax() );
const caf::ColorTable waterAndRockColors = RiaColorTables::waterAndRockPaletteColors();
const std::vector<std::pair<double, double>> waterAndRockIntervals = waterAndRockRegions( plot->depthType(),
const std::vector<std::pair<double, double>> waterAndRockIntervals = waterAndRockRegions( plot->depthType(),
extractor );
int waterAndRockTransparency = m_colorShadingTransparency / 2;
m_annotationTool->attachNamedRegions( m_plotWidget,
{"Water", ""},
xRange,
waterAndRockIntervals,
m_regionAnnotationDisplay(),
waterAndRockColors,
( ( 100 - waterAndRockTransparency ) * 255 ) / 100,
( ( 100 - m_colorShadingTransparency ) * 255 ) / 100,
m_showRegionLabels() );
if ( m_formationSource == CASE )