#12168 Allow highlight of curves based on selection of realization object

Use the first available highlighted curve as basis for display of horizontal readout value. Fallback to single realization curves.
When selecting a realization in project tree, highlight all related curves
Make sure zoom rect works when readout annotations are active
This commit is contained in:
Magne Sjaastad authored and GitHub committed 2025-02-18 11:04:40 +01:00
1 parent eac1c84ed4
commit bbd79cca6a
15 files changed
+121 -49

No files matched your search

@@ -20,6 +20,7 @@
#include "RimPlotAxisAnnotation.h"
#include "RiuGuiTheme.h"
#include "RiuQwtPlotCurveDefines.h"
#include "cafCategoryMapper.h"
#include "cvfMath.h"
@@ -408,4 +409,6 @@ void RiuPlotAnnotationTool::setLineProperties( QwtPlotMarker* line,
line->setLineStyle( QwtPlotMarker::VLine );
line->setXValue( linePosition );
}
line->setZ( RiuQwtPlotCurveDefines::zDepthForIndex( RiuQwtPlotCurveDefines::ZIndex::Z_ANNOTATION ) );
}