Go to the documentation of this file.
25 virtual std::string
getTitle()
const = 0;
29 virtual std::string
getSource()
const = 0;
34 vec4(
double a0,
double a1,
double a2,
double a3)
98 return x == o.
x &&
y == o.
y &&
z == o.
z &&
w == o.
w;
153 template <
class Value,
class MinMax>
170 template <
class Value>
194 return std::fmod(x, y);
208 static std::vector<std::shared_ptr<Colormap const>>
getAll()
221 ColormapList(ColormapList
const&) =
delete;
222 ColormapList(ColormapList&&) =
delete;
223 ColormapList& operator=(ColormapList
const&) =
delete;
224 ColormapList& operator=(ColormapList&&) =
delete;
std::string to_string() const
bool operator==(vec4 const &o) const
vec4(double a0, double a1, double a2, double a3)
Value
Color maps that associate a color to every float from [0..1].
Value sign(Value v) const
vec4 operator+(vec4 const &v) const
virtual std::string getTitle() const =0
std::common_type< Value, MinMax >::type clamp(Value v, MinMax min, MinMax max) const
double & operator[](size_t index)
vec4 operator*(double v) const
local_real_t abs(local_real_t v) const
virtual std::string getSource() const =0
virtual Color getColor(double x) const =0
double operator[](size_t index) const
virtual std::string getCategory() const =0
const std::string & to_string(const std::string &s)
double v(double t, double v0, double a0, double j)
This file was automatically created with "create_c++_header.sh".
local_real_t mod(local_real_t x, local_real_t y) const
static std::vector< std::shared_ptr< Colormap const > > getAll()