ROOT » GRAF3D » GL » TGLColorSet

class TGLColorSet


 Class encapsulating a set of colors used throughout standard rendering.

Function Members (Methods)

public:
virtual~TGLColorSet()
TGLColor&Background()
const TGLColor&Background() const
static TClass*Class()
TGLColor&Foreground()
const TGLColor&Foreground() const
virtual TClass*IsA() const
TGLColor&Markup()
const TGLColor&Markup() const
TGLColorSet&operator=(const TGLColorSet& s)
TGLColor&Outline()
const TGLColor&Outline() const
TGLColor&Selection(Int_t i)
const TGLColor&Selection(Int_t i) const
virtual voidShowMembers(TMemberInspector& insp) const
voidStdDarkBackground()
voidStdLightBackground()
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
TGLColorSet()
TGLColorSet(const TGLColorSet&)

Data Members

protected:
TGLColorfBackground
TGLColorfForeground
TGLColorfMarkup
TGLColorfOutline
TGLColorfSelection[5]Colors for shape-selection-levels

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TGLColorSet()
 Constructor. Sets default for dark background.
~TGLColorSet()
 Destructor.
TGLColorSet& operator=(const TGLColorSet& s)
 Assignment operator.
void StdDarkBackground()
 Set defaults for dark (black) background.
void StdLightBackground()
 Set defaults for light (white) background.
TGLColorSet()
TGLColor& Background()
{ return fBackground; }
TGLColor& Foreground()
{ return fForeground; }
TGLColor& Outline()
{ return fOutline; }
TGLColor& Markup()
{ return fMarkup; }
TGLColor& Selection(Int_t i)
{ return fSelection[i]; }
const TGLColor& Background() const
{ return fBackground; }
const TGLColor& Foreground() const
{ return fForeground; }
const TGLColor& Outline() const
{ return fOutline; }
const TGLColor& Markup() const
{ return fMarkup; }
const TGLColor& Selection(Int_t i) const
{ return fSelection[i]; }