ROOT » GRAF3D » GL » TGLOverlayElement

class TGLOverlayElement

 An overlay element. Supports drawing (Render) and event-handling

Function Members (Methods)

    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.

static TClass*Class()
TGLOverlayElement::ERoleGetRole() const
TGLOverlayElement::EStateGetState() const
virtual Bool_tHandle(TGLRnrCtx& rnrCtx, TGLOvlSelectRecord& selRec, Event_t* event)
virtual TClass*IsA() const
virtual Bool_tMouseEnter(TGLOvlSelectRecord& selRec)
virtual voidMouseLeave()
virtual Bool_tMouseStillInside(TGLOvlSelectRecord& selRec)
virtual voidRender(TGLRnrCtx& rnrCtx)
voidSetBinaryState(Bool_t s)
voidSetRole(TGLOverlayElement::ERole r)
voidSetState(TGLOverlayElement::EState s)
virtual voidShowMembers(TMemberInspector& insp) const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
TGLOverlayElement(TGLOverlayElement::ERole r = kUser, TGLOverlayElement::EState s = kActive)

Data Members

static TGLOverlayElement::EStatekActive
static TGLOverlayElement::ERolekAll
static TGLOverlayElement::EStatekAllVisible
static TGLOverlayElement::ERolekAnnotation
static TGLOverlayElement::EStatekDisabled
static TGLOverlayElement::EStatekInvisible
static TGLOverlayElement::ERolekUser
static TGLOverlayElement::ERolekViewer

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

Bool_t MouseEnter(TGLOvlSelectRecord& selRec)
 Mouse has enetered this element.
 Return TRUE if you want additional events.
Bool_t MouseStillInside(TGLOvlSelectRecord& selRec)
 A new overlay hit is about to be processed.
 By returning FALSE one can force mouse-leave (MouseLeave will be
 called shortly).
 If you return TRUE, Handle will be called soon.
 Use this if your overlay object has some inactive parts,
 see TGLManipSet.
Bool_t Handle(TGLRnrCtx& rnrCtx, TGLOvlSelectRecord& selRec, Event_t* event)
 Handle overlay event.
 Return TRUE if event was handled.
void MouseLeave()
 Mouse has left the element.
TGLOverlayElement(const TGLOverlayElement& )
TGLOverlayElement& operator=(const TGLOverlayElement& )
void ProjectionMatrixPushIdentity()
TGLOverlayElement(TGLOverlayElement::ERole r = kUser, TGLOverlayElement::EState s = kActive)
virtual ~TGLOverlayElement()
void Render(TGLRnrCtx& rnrCtx)
ERole GetRole() const
{ return fRole; }
void SetRole(TGLOverlayElement::ERole r)
{ fRole = r; }
EState GetState() const
{ return fState; }
void SetState(TGLOverlayElement::EState s)
{ fState = s; }
void SetBinaryState(Bool_t s)