#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
2025-02-18 11:04:40 +01:00
committed by GitHub
parent eac1c84ed4
commit bbd79cca6a
15 changed files with 121 additions and 49 deletions

View File

@@ -18,7 +18,6 @@
#pragma once
#include "RiuPlotCurveSymbol.h"
#include "RiuQwtPlotCurveDefines.h"
#include "cvfColor3.h"
@@ -77,9 +76,8 @@ private:
void updateApperanceIndices();
std::map<std::string, size_t> mapNameToAppearanceIndex( CurveAppearanceType& appearance, const std::set<std::string>& names );
RiuQwtPlotCurveDefines::LineStyleEnum cycledLineStyle( int index );
int cycledLineThickness( int index );
float gradient( size_t totalCount, int index );
int cycledLineThickness( int index );
float gradient( size_t totalCount, int index );
cvf::Color3f gradeColor( const cvf::Color3f& color, float factor );
void assignColorByPhase( RimSummaryCurve* curve, int colorIndex );