#4117 Implement formation categorisation

This commit is contained in:
Gaute Lindkvist
2019-02-26 16:22:01 +01:00
parent aa5935d5db
commit 41b6cd55f2
3 changed files with 95 additions and 44 deletions

View File

@@ -20,6 +20,7 @@
#include "RimCheckableNamedObject.h"
#include "RimNameConfig.h"
#include "cafAppEnum.h"
#include "cafPdmChildArrayField.h"
#include "cafPdmChildField.h"
#include "cafPdmField.h"
@@ -55,6 +56,15 @@ class RimGridCrossPlotCurveSet : public RimCheckableNamedObject, public RimNameC
{
CAF_PDM_HEADER_INIT;
public:
enum CurveCategorization
{
NO_CATEGORIZATION,
TIME_CATEGORIZATION,
FORMATION_CATEGORIZATION
};
typedef caf::AppEnum<CurveCategorization> CurveCategorizationEnum;
public:
RimGridCrossPlotCurveSet();
~RimGridCrossPlotCurveSet() = default;
@@ -84,6 +94,7 @@ private:
caf::PdmPtrField<RimCase*> m_case;
caf::PdmField<int> m_timeStep;
caf::PdmField<CurveCategorizationEnum> m_categorization;
caf::PdmChildField<RimEclipseResultDefinition*> m_xAxisProperty;
caf::PdmChildField<RimEclipseResultDefinition*> m_yAxisProperty;