10 #ifndef ossimNormRgbVector_HEADER 11 #define ossimNormRgbVector_HEADER 26 out <<
"<" << data.
theBuf[0] <<
", " 46 theBuf[0] = colorData[0];
47 theBuf[1] = colorData[1];
48 theBuf[2] = colorData[2];
80 return ( (rgb.
theBuf[0] == theBuf[0])&&
81 (rgb.
theBuf[1] == theBuf[1])&&
82 (rgb.
theBuf[2] == theBuf[2]));
86 return ( (rgb.
theBuf[0] != theBuf[0])||
87 (rgb.
theBuf[1] != theBuf[1])||
88 (rgb.
theBuf[2] != theBuf[2]));
92 colorValue = colorValue >
max?
max:colorValue;
93 colorValue = colorValue <
min?
min:colorValue;
ossimRationalNumber operator-(ossim_int32 i, ossimRationalNumber &r)
ossimNormRgbVector(ossim_float64 r=0, ossim_float64 g=0, ossim_float64 b=0)
ossimNormRgbVector(const ossimNormRgbVector &rgb)
bool operator!=(const ossimRefPtr< _Tp1 > &__a, const ossimRefPtr< _Tp2 > &__b) noexcept
ossimNormRgbVector(ossim_float64 colorData[3])
ossimRationalNumber operator*(ossim_int32 i, ossimRationalNumber &r)
ostream & operator<<(ostream &out, const ossimAxes &axes)
void setB(ossim_float64 b)
ossimNormRgbVector(ossim_float64 grey)
static ossim_float64 clamp(ossim_float64 colorValue, ossim_float64 min=0.0, ossim_float64 max=1.0)
void setR(ossim_float64 r)
bool operator==(const ossimRefPtr< _Tp1 > &__a, const ossimRefPtr< _Tp2 > &__b) noexcept
ossim_float64 getB() const
ossim_float64 getG() const
ossim_float64 getR() const
std::basic_ostream< char > ostream
Base class for char output streams.
void setG(ossim_float64 g)