An overlay element. Supports drawing (Render) and event-handling
virtual | ~TGLOverlayElement() |
static TClass* | Class() |
TGLOverlayElement::ERole | GetRole() const |
TGLOverlayElement::EState | GetState() const |
virtual Bool_t | Handle(TGLRnrCtx& rnrCtx, TGLOvlSelectRecord& selRec, Event_t* event) |
virtual TClass* | IsA() const |
virtual Bool_t | MouseEnter(TGLOvlSelectRecord& selRec) |
virtual void | MouseLeave() |
virtual Bool_t | MouseStillInside(TGLOvlSelectRecord& selRec) |
virtual void | Render(TGLRnrCtx& rnrCtx) |
void | SetBinaryState(Bool_t s) |
void | SetRole(TGLOverlayElement::ERole r) |
void | SetState(TGLOverlayElement::EState s) |
virtual void | ShowMembers(TMemberInspector&) |
virtual void | Streamer(TBuffer&) |
void | StreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b) |
void | ProjectionMatrixPushIdentity() |
TGLOverlayElement& | operator=(const TGLOverlayElement&) |
enum ERole { | kUser | |
kViewer | ||
kAnnotation | ||
kAll | ||
}; | ||
enum EState { | kInvisible | |
kDisabled | ||
kActive | ||
kAllVisible | ||
}; |
TGLOverlayElement::ERole | fRole | |
TGLOverlayElement::EState | fState |
Mouse has enetered this element. Return TRUE if you want additional events.
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.
Handle overlay event. Return TRUE if event was handled.