library: libRGL #include "TGLEditor.h" |
TGLColorEditor
class description - source file - inheritance tree (.pdf)
private:
TGLColorEditor(const TGLColorEditor&)
void CreateRadioButtons()
void CreateSliders()
void DrawSphere() const
Bool_t HandleContainerExpose(Event_t* event)
Bool_t HandleContainerNotify(Event_t* event)
void MakeCurrent() const
TGLColorEditor& operator=(const TGLColorEditor&)
void SetSlidersPos()
void SwapBuffers() const
public:
TGLColorEditor(const TGWindow* parent, TGLSAViewer* viewer)
~TGLColorEditor()
static TClass* Class()
void Disable()
void DoButton()
void DoSlider(Int_t val)
const Float_t* GetRGBA() const
virtual TClass* IsA() const
void SetRGBA(const Float_t* rgba)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
private:
TGLSAViewer* fViewer
TGLMatView* fMatView
TGLayoutHints* fFrameLayout
TGLColorEditor::ELightMode fLMode
TGButton* fLightTypes[4]
TGHSlider* fRedSlider
TGHSlider* fGreenSlider
TGHSlider* fBlueSlider
TGHSlider* fAlphaSlider
TGHSlider* fShineSlider
TGButton* fApplyButton
TGButton* fApplyFamily
Bool_t fIsActive
Bool_t fIsLight
Float_t fRGBA[17]
Window_t fGLWin
ULong_t fCtx
TList fTrash
public:
static const TGLColorEditor::ELightMode kDiffuse
static const TGLColorEditor::ELightMode kAmbient
static const TGLColorEditor::ELightMode kSpecular
static const TGLColorEditor::ELightMode kEmission
static const TGLColorEditor::ELightMode kTot
TGLColorEditor(const TGWindow *parent, TGLSAViewer *v)
:TGCompositeFrame(parent, 100, 100, kVerticalFrame | kRaisedFrame),
fViewer(v), fRedSlider(0), fGreenSlider(0), fBlueSlider(0),
fAlphaSlider(0), fApplyButton(0), fIsActive(kFALSE),
fIsLight(kFALSE), fRGBA()
~TGLColorEditor()
void SetRGBA(const Float_t *rgba)
void DoSlider(Int_t val)
void DoButton()
void Disable()
void CreateRadioButtons()
void CreateSliders()
void SetSlidersPos()
Bool_t HandleContainerNotify(Event_t *event)
Bool_t HandleContainerExpose(Event_t * /*event*/)
void DrawSphere()const
void MakeCurrent()const
void SwapBuffers()const
Inline Functions
const Float_t* GetRGBA() const
TGLColorEditor TGLColorEditor(const TGLColorEditor&)
TGLColorEditor& operator=(const TGLColorEditor&)
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
Author: Timur Pocheptsov 03/08/2004
Last update: root/gl:$Name: $:$Id: TGLEditor.cxx,v 1.15 2005/08/10 16:26:35 brun Exp $
Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *
ROOT page - Class index - Class Hierarchy - 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.