mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1252 Add and use transparent color for both ellipse and stim plan objects
This commit is contained in:
@@ -25,10 +25,14 @@
|
||||
#include "cafPdmField.h"
|
||||
#include "cafPdmChildArrayField.h"
|
||||
|
||||
// Include to make Pdm work for cvf::Color
|
||||
#include "cafPdmFieldCvfColor.h"
|
||||
|
||||
namespace caf {
|
||||
class PdmOptionItemInfo;
|
||||
}
|
||||
|
||||
|
||||
class RimLegendConfig;
|
||||
class RimFractureTemplateCollection;
|
||||
|
||||
@@ -48,7 +52,8 @@ public:
|
||||
QString resultName() const;
|
||||
QString unit() const;
|
||||
float opacityLevel() const;
|
||||
|
||||
cvf::Color3f defaultColor() const;
|
||||
|
||||
void loadDataAndUpdate();
|
||||
void updateLegendData();
|
||||
|
||||
@@ -68,6 +73,7 @@ private:
|
||||
|
||||
private:
|
||||
caf::PdmField<float> m_opacityLevel;
|
||||
caf::PdmField<cvf::Color3f> m_defaultColor;
|
||||
caf::PdmField<QString> m_resultNameAndUnit;
|
||||
caf::PdmChildArrayField<RimLegendConfig*> m_legendConfigurations;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user