Go to the documentation of this file.
5 #ifndef BALL_VIEW_DATATYPE_COLORRGBA_H
6 #define BALL_VIEW_DATATYPE_COLORRGBA_H
8 #ifndef BALL_VIEW_DATATYPE_COLORUNIT_H
12 #ifndef BALL_CONCEPT_TIMESTAMP_H
166 void set(
const char* value);
186 void get(
char* value)
const;
217 void get(QColor& color)
const;
223 bool set(
const QColor& color);
395 void dump(std::ostream& s = std::cout,
Size depth = 0)
const;
433 void stringToRGBA_(
const String& s);
441 #ifdef BALL_COMPILER_MSVC
446 # ifndef BALL_NO_INLINE_FUNCTIONS
447 # include <BALL/VIEW/DATATYPE/colorRGBA.iC>
453 #endif // <BALL/VIEW_DATATYPE_COLORRGBA_H
void swap(ColorRGBA &color)
void get(char *value) const
void set(const ColorUnit &red_value, const ColorUnit &green_value, const ColorUnit &blue_value, const ColorUnit &alpha_value=(float) 1)
BALL_EXPORT bool operator!=(const String &s1, const String &s2)
const ColorUnit & getGreen() const
BALL_EXPORT bool operator<(const String &s1, const String &s2)
const ColorUnit & getAlpha() const
void set(const ColorRGBA &color)
BALL_EXPORT bool operator>(const String &s1, const String &s2)
ColorRGBA(const char *value)
PreciseTime BALL_SELECTED_COLOR_CHANGE_TIME
const ColorUnit & getBlue() const
ColorRGBA BALL_SELECTED_COLOR
QColor getQColor() const
Get a QColor representing this color.
BALL_EXPORT bool operator>=(const String &s1, const String &s2)
void get(ColorHSV &color) const
const ColorUnit & getRed() const
ColorRGBA(const ColorHSV &color)
void get(QColor &color) const
Assign to a QT QColor.
void get(ColorUnit &red_value, ColorUnit &green_value, ColorUnit &blue_value) const
ColorRGBA(const ColorRGBA &color)
void get(String &value) const
ColorRGBA(const QColor &color)
Assignment from a QT QColor.
ColorRGBA(const String &value)
void set(const ColorHSV &color)
void setAlpha(const ColorUnit &alpha_value)
BALL_EXPORT bool operator==(const String &s1, const String &s2)
void set(const char *value)
ColorRGBA(const QColor &color, const ColorUnit &alpha)
Assignment from a QT QColor.
void dump(std::ostream &s=std::cout, Size depth=0) const
ColorRGBA(const ColorUnit &red_value, const ColorUnit &green_value, const ColorUnit &blue_value, const ColorUnit &alpha_value=(float) 1)
std::istream & operator>>(std::istream &is, TRegularData1D< ValueType > &grid)
Input operator.
void set(const String &value)
BALL_EXPORT bool operator<=(const String &s1, const String &s2)
void setRed(const ColorUnit &red_value)
void get(ColorUnit &red_value, ColorUnit &green_value, ColorUnit &blue_value, ColorUnit &alpha_value) const
void setBlue(const ColorUnit &blue_value)
std::ostream & operator<<(std::ostream &o, const PixelFormat &f)
bool set(const QColor &color)
void setGreen(const ColorUnit &green_value)
ColorRGBA getInverseColor() const