ROOT logo
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.

public:
virtual~TGLOverlayElement()
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&)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)

Data Members

public:
enum ERole { kUser
kViewer
kAnnotation
kAll
};
enum EState { kInvisible
kDisabled
kActive
kAllVisible
};
protected:
TGLOverlayElement::ERolefRole
TGLOverlayElement::EStatefState

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& operator=(const TGLOverlayElement& )
void ProjectionMatrixPushIdentity()
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)