mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-24 15:26:48 -06:00
Make sea level visualization a GeoMech-only feature.
* This is because it works poorly with eclipse grids because they don't specify the sea bed level.
This commit is contained in:
parent
82263e9d6f
commit
f38967e7cb
@ -2327,19 +2327,22 @@ void RimWellLogTrack::updateFormationNamesOnPlot()
|
|||||||
// Attach water and rock base formations
|
// Attach water and rock base formations
|
||||||
const std::pair<double, double> xRange = std::make_pair( m_visibleXRangeMin(), m_visibleXRangeMax() );
|
const std::pair<double, double> xRange = std::make_pair( m_visibleXRangeMin(), m_visibleXRangeMax() );
|
||||||
|
|
||||||
const caf::ColorTable waterAndRockColors = RiaColorTables::waterAndRockPaletteColors();
|
if ( geoMechWellLogExtractor )
|
||||||
const std::vector<std::pair<double, double>> waterAndRockIntervals =
|
{
|
||||||
waterAndRockRegions( plot->depthType(), extractor );
|
const caf::ColorTable waterAndRockColors = RiaColorTables::waterAndRockPaletteColors();
|
||||||
m_annotationTool->attachNamedRegions( m_plotWidget,
|
const std::vector<std::pair<double, double>> waterAndRockIntervals =
|
||||||
{"Sea Level", ""},
|
waterAndRockRegions( plot->depthType(), extractor );
|
||||||
xRange,
|
m_annotationTool->attachNamedRegions( m_plotWidget,
|
||||||
waterAndRockIntervals,
|
{"Sea Level", ""},
|
||||||
m_regionAnnotationDisplay(),
|
xRange,
|
||||||
waterAndRockColors,
|
waterAndRockIntervals,
|
||||||
( ( 100 - m_colorShadingTransparency ) * 255 ) / 100,
|
m_regionAnnotationDisplay(),
|
||||||
m_showRegionLabels(),
|
waterAndRockColors,
|
||||||
RiuPlotAnnotationTool::LEFT_COLUMN,
|
( ( 100 - m_colorShadingTransparency ) * 255 ) / 100,
|
||||||
{Qt::SolidPattern, Qt::Dense6Pattern} );
|
m_showRegionLabels(),
|
||||||
|
RiuPlotAnnotationTool::LEFT_COLUMN,
|
||||||
|
{Qt::SolidPattern, Qt::Dense6Pattern} );
|
||||||
|
}
|
||||||
|
|
||||||
if ( m_formationSource == CASE )
|
if ( m_formationSource == CASE )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user