194 CHsv(
double h = 0.0,
double s = 0.0,
double v = 0.0);
200 void SetHue(
double value);
Primitive for representation of HSV (Hue, Saturation, Value) color values.
const CHsv & operator*=(const CHsv &color)
CHsv(double h=0.0, double s=0.0, double v=0.0)
CHsv operator+(const CHsv &color) const
const CHsv & operator-=(const CHsv &color)
const CHsv & operator/=(const CHsv &color)
const CHsv & operator+=(const CHsv &color)
CHsv operator*(const CHsv &color) const
void SetValue(double value)
double GetSaturation() const
virtual bool Serialize(iser::IArchive &archive) override
Load or store state of this object as a archive stream.
CHsv operator/(const CHsv &color) const
void SetHue(double value)
void SetSaturation(double value)
CHsv & operator=(const CHsv &color)
TComposedColor< 3 > BaseClass
Generic fixed-size color implementation template.
const TComposedColor< Size > & operator=(const TComposedColor< Size > &color)
const TComposedColor< Size > & operator+=(const TComposedColor< Size > &color)
const TComposedColor< Size > & operator-=(const TComposedColor< Size > &color)
const TComposedColor< Size > & operator*=(const TComposedColor< Size > &color)
const TComposedColor< Size > & operator/=(const TComposedColor< Size > &color)
Implementation of variable-size mathematical vector with double precision elements.
TVector< Size, Element > operator-() const
void SetElement(int i, const Element &value)
Sets the element at the specified index.
const Element & GetElement(int i) const
Gets the element at the specified index (read-only).
Represents an input/output persistence archive for object serialization.
Contains color management classes.