31 #ifndef CORE_DATATYPES_COLORRGB_H
32 #define CORE_DATATYPES_COLORRGB_H
48 explicit ColorRGB(
const std::string& rgb);
52 return ((r_==c.r_)&&(g_==c.g_)&&(b_==c.b_));
59 inline int r()
const {
return r_;}
60 inline int g()
const {
return g_;}
61 inline int b()
const {
return b_;}
63 std::string toString()
const;
#define SCISHARE
Definition: share.h:39
int g() const
Definition: Color.h:60
bool operator!=(const ColorRGB &c) const
Definition: Color.h:55
int r() const
Definition: Color.h:59
bool operator==(const ColorRGB &c) const
Definition: Color.h:51
boost::shared_ptr< ColorRGB > ColorRGBHandle
Definition: Color.h:66
SCISHARE std::ostream & operator<<(std::ostream &out, const ColorRGB &color)
Definition: Color.cc:73
int b() const
Definition: Color.h:61