mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3492 Tidy up color code for well path components/completions and select colors that work better.
This commit is contained in:
@@ -18,8 +18,9 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "RiaDefines.h"
|
||||
#include "cafColorTable.h"
|
||||
|
||||
#include <map>
|
||||
|
||||
//==================================================================================================
|
||||
///
|
||||
@@ -28,6 +29,8 @@
|
||||
class RiaColorTables
|
||||
{
|
||||
public:
|
||||
typedef std::map<RiaDefines::WellPathComponentType, cvf::Color3::ColorIdent> WellPathComponentColors;
|
||||
|
||||
static const caf::ColorTable& normalPaletteColors();
|
||||
static const caf::ColorTable& normalPaletteOppositeOrderingColors();
|
||||
static const caf::ColorTable& blackWhitePaletteColors();
|
||||
@@ -57,7 +60,8 @@ public:
|
||||
static const caf::ColorTable& wellPathsPaletteColors();
|
||||
|
||||
static cvf::Color3f undefinedCellColor();
|
||||
static cvf::Color3f perforationLengthColor();
|
||||
|
||||
static WellPathComponentColors wellPathComponentColors();
|
||||
|
||||
private:
|
||||
static std::vector<cvf::Color3ub> categoryColors();
|
||||
|
||||
Reference in New Issue
Block a user