mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1138 - pre-proto - Adding stimPlan color palette (for plotting fracture data)
This commit is contained in:
@@ -212,6 +212,28 @@ const caf::ColorTable& RiaColorTables::angularPaletteColors()
|
||||
return colorTable;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
const caf::ColorTable& RiaColorTables::stimPlanPaletteColors()
|
||||
{
|
||||
static std::vector<cvf::Color3ub> colors{
|
||||
cvf::Color3ub(220, 220, 220), //Grey
|
||||
cvf::Color3ub(0, 0, 255), //Blue
|
||||
cvf::Color3ub(0, 128, 255), //Lighter blue
|
||||
cvf::Color3ub(80, 240, 60), //Darker green
|
||||
cvf::Color3ub(0, 255, 0), //Green
|
||||
cvf::Color3ub(255, 255, 0), //Yellow
|
||||
cvf::Color3ub(255, 192, 0), //Light orange
|
||||
cvf::Color3ub(255, 128, 0), //Orange
|
||||
cvf::Color3ub(255, 64, 0), //Red-orange
|
||||
cvf::Color3ub(255, 0, 255) //Magenta
|
||||
};
|
||||
|
||||
static caf::ColorTable colorTable = caf::ColorTable(colors);
|
||||
return colorTable;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -38,6 +38,7 @@ public:
|
||||
static const caf::ColorTable& redWhiteBluePaletteColors();
|
||||
static const caf::ColorTable& categoryPaletteColors();
|
||||
static const caf::ColorTable& angularPaletteColors();
|
||||
static const caf::ColorTable& stimPlanPaletteColors();
|
||||
static const caf::ColorTable& faultsPaletteColors();
|
||||
static const caf::ColorTable& wellsPaletteColors();
|
||||
static const caf::ColorTable& summaryCurveDefaultPaletteColors();
|
||||
|
||||
Reference in New Issue
Block a user