#5472 Improve visualisation of water depth

This commit is contained in:
Gaute Lindkvist
2020-02-07 15:20:19 +01:00
parent dfe6d0b94e
commit 2949d3458d
4 changed files with 17 additions and 10 deletions

View File

@@ -2324,13 +2324,15 @@ void RimWellLogTrack::updateFormationNamesOnPlot()
const std::vector<std::pair<double, double>> waterAndRockIntervals = waterAndRockRegions( plot->depthType(),
extractor );
m_annotationTool->attachNamedRegions( m_plotWidget,
{"Water", ""},
{"Surface", "Seabed"},
xRange,
waterAndRockIntervals,
m_regionAnnotationDisplay(),
waterAndRockColors,
( ( 100 - m_colorShadingTransparency ) * 255 ) / 100,
m_showRegionLabels() );
m_showRegionLabels(),
RiuPlotAnnotationTool::LEFT_COLUMN,
{Qt::SolidPattern, Qt::Dense6Pattern} );
if ( m_formationSource == CASE )
{