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
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)
voidSetRole(TGLOverlayElement::ERole r)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)

Data Members

public:
enum ERole { kUser
kViewer
kAnnotation
kAll
};
protected:
TGLOverlayElement::ERolefRole

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& )
virtual ~TGLOverlayElement()
{}
void Render(TGLRnrCtx& rnrCtx)
ERole GetRole() const
{ return fRole; }
void SetRole(TGLOverlayElement::ERole r)
{ fRole = r; }