#4157 Grid Cross Plot: Make categorisation legend more like ensemble legend

This commit is contained in:
Gaute Lindkvist
2019-03-04 15:35:48 +01:00
parent be95eefd69
commit ac7eccee88
19 changed files with 623 additions and 192 deletions

View File

@@ -33,13 +33,10 @@ class QString;
struct RigEclipseCrossPlotResult
{
typedef std::pair<std::vector<double>, std::vector<double>> ResultXYValues;
typedef std::map<int, ResultXYValues> CategorySamplesMap;
typedef std::map<int, QString> CategoryNameMap;
CategorySamplesMap categorySamplesMap;
CategoryNameMap categoryNameMap;
std::vector<double> xValues;
std::vector<double> yValues;
std::vector<double> catValuesContinuous;
std::vector<int> catValuesDiscrete;
};
class RigEclipseCrossPlotDataExtractor
@@ -51,6 +48,5 @@ public:
const RigEclipseResultAddress& yAddress,
RigGridCrossPlotCurveCategorization categorizationType,
const RigEclipseResultAddress& categoryAddress,
int categoryBinCount,
std::map<int, cvf::UByteArray> timeStepCellVisibilityMap);
};