mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2721 Ensemble curves. Color ranges, cyclic color range assignment. Minor refactoring
This commit is contained in:
@@ -48,6 +48,7 @@ namespace caf
|
||||
}
|
||||
|
||||
class Rim3dView;
|
||||
class RimEnsembleCurveSet;
|
||||
|
||||
//==================================================================================================
|
||||
///
|
||||
@@ -74,7 +75,13 @@ public:
|
||||
RED_WHITE_BLUE,
|
||||
CATEGORY,
|
||||
ANGULAR,
|
||||
STIMPLAN
|
||||
STIMPLAN,
|
||||
|
||||
GREEN_RED,
|
||||
BLUE_MAGENTA,
|
||||
RED_LIGHT_DARK,
|
||||
GREEN_LIGHT_DARK,
|
||||
BLUE_LIGHT_DARK
|
||||
};
|
||||
|
||||
typedef caf::AppEnum<ColorRangesType> ColorRangeEnum;
|
||||
@@ -118,6 +125,8 @@ public:
|
||||
const caf::TitledOverlayFrame* titledOverlayFrame() const override;
|
||||
caf::TitledOverlayFrame* titledOverlayFrame() override;
|
||||
|
||||
void initForEnsembleCurveSet(RimEnsembleCurveSet* curveSet);
|
||||
|
||||
private:
|
||||
void setNamedCategories(const std::vector<QString>& categoryNames, bool inverse);
|
||||
void fieldChangedByUi(const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue) override;
|
||||
|
||||
Reference in New Issue
Block a user