SPH
Classes | Enumerations
Palette.h File Reference
#include "gui/objects/Color.h"
#include "objects/containers/Array.h"
#include "objects/wrappers/Function.h"
#include "objects/wrappers/Outcome.h"
#include "quantities/QuantityIds.h"

Go to the source code of this file.

Classes

class  Palette
 Represents a color palette, used for mapping arbitrary number to a color. More...
 
struct  Palette::Point
 

Enumerations

enum class  PaletteScale { LINEAR , LOGARITHMIC , HYBRID }
 

Enumeration Type Documentation

◆ PaletteScale

enum PaletteScale
strong
Enumerator
LINEAR 

Control points are interpolated on linear scale.

LOGARITHMIC 

Control points are interpolated on logarithmic scale. All points must be positive!

HYBRID 

Logarithic scale for values > 1 and < -1, linear scale on interval <-1, 1>

Definition at line 13 of file Palette.h.