TColor


class description - source file - inheritance tree

class TColor : public TNamed

    private:
void Allocate() static Float_t HLStoRGB1(Float_t rn1, Float_t rn2, Float_t huei) public:
TColor(Int_t color, Float_t r, Float_t g, Float_t b, const char* name) TColor(const TColor& color) TColor() virtual ~TColor() const char* AsHexString() const static TClass* Class() virtual void Copy(TObject& color) const Float_t GetBlue() const static Int_t GetColor(ULong_t pixel) static Int_t GetColor(const char* hexcolor) static Int_t GetColor(Int_t r, Int_t g, Int_t b) static Int_t GetColor(Float_t r, Float_t g, Float_t b) Float_t GetGreen() const virtual void GetHLS(Float_t& h, Float_t& l, Float_t& s) const Float_t GetHue() const Float_t GetLight() const Int_t GetNumber() const ULong_t GetPixel() const Float_t GetRed() const virtual void GetRGB(Float_t& r, Float_t& g, Float_t& b) const Float_t GetSaturation() const static void HLS2RGB(Int_t h, Int_t l, Int_t s, Int_t& r, Int_t& g, Int_t& b) static void HLS2RGB(Float_t h, Float_t l, Float_t s, Float_t& r, Float_t& g, Float_t& b) static void HLStoRGB(Float_t h, Float_t l, Float_t s, Float_t& r, Float_t& g, Float_t& b) virtual TClass* IsA() const virtual void ls(Option_t* option) const static ULong_t Number2Pixel(Int_t ci) static void Pixel2RGB(ULong_t pixel, Float_t& r, Float_t& g, Float_t& b) static void Pixel2RGB(ULong_t pixel, Int_t& r, Int_t& g, Int_t& b) virtual void Print(Option_t* option) const static void RGB2HLS(Int_t r, Int_t g, Int_t b, Int_t& h, Int_t& l, Int_t& s) static void RGB2HLS(Float_t r, Float_t g, Float_t b, Float_t& h, Float_t& l, Float_t& s) static ULong_t RGB2Pixel(Int_t r, Int_t g, Int_t b) static ULong_t RGB2Pixel(Float_t r, Float_t g, Float_t b) static void RGBtoHLS(Float_t r, Float_t g, Float_t b, Float_t& h, Float_t& l, Float_t& s) virtual void SetRGB(Float_t r, Float_t g, Float_t b) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
Int_t fNumber Color number identifier Float_t fRed Fraction of Red Float_t fGreen Fraction of Green Float_t fBlue Fraction of Blue Float_t fHue Hue Float_t fLight Light Float_t fSaturation Saturation

Class Description



Last update: Fri May 14 13:32:37 2004


ROOT page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.