ROOT 6.18/05 Reference Guide |
An overlay element.
Supports drawing (Render) and event-handling
Definition at line 22 of file TGLOverlay.h.
Public Types | |
enum | ERole { kUser , kViewer , kAnnotation , kAll } |
enum | EState { kInvisible = 1 , kDisabled = 2 , kActive = 4 , kAllVisible = kDisabled | kActive } |
Public Member Functions | |
TGLOverlayElement (ERole r=kUser, EState s=kActive) | |
virtual | ~TGLOverlayElement () |
ERole | GetRole () const |
EState | GetState () const |
virtual Bool_t | Handle (TGLRnrCtx &rnrCtx, TGLOvlSelectRecord &selRec, Event_t *event) |
Handle overlay event. More... | |
virtual Bool_t | MouseEnter (TGLOvlSelectRecord &selRec) |
Mouse has entered this element. More... | |
virtual void | MouseLeave () |
Mouse has left the element. More... | |
virtual Bool_t | MouseStillInside (TGLOvlSelectRecord &selRec) |
virtual void | Render (TGLRnrCtx &rnrCtx)=0 |
void | SetBinaryState (Bool_t s) |
void | SetRole (ERole r) |
void | SetState (EState s) |
Protected Member Functions | |
void | ProjectionMatrixPushIdentity () |
Protected Attributes | |
ERole | fRole |
EState | fState |
Private Member Functions | |
TGLOverlayElement (const TGLOverlayElement &) | |
TGLOverlayElement & | operator= (const TGLOverlayElement &) |
#include <TGLOverlay.h>
Enumerator | |
---|---|
kUser | |
kViewer | |
kAnnotation | |
kAll |
Definition at line 25 of file TGLOverlay.h.
Enumerator | |
---|---|
kInvisible | |
kDisabled | |
kActive | |
kAllVisible |
Definition at line 27 of file TGLOverlay.h.
|
private |
Definition at line 41 of file TGLOverlay.h.
|
inlinevirtual |
Definition at line 43 of file TGLOverlay.h.
|
inline |
Definition at line 53 of file TGLOverlay.h.
|
inline |
Definition at line 56 of file TGLOverlay.h.
|
virtual |
Handle overlay event.
Return TRUE if event was handled.
Reimplemented in TEveCaloLegoOverlay, TGLAnnotation, TGLCameraGuide, TGLClipSet, TGLManipSet, and TGLOverlayButton.
Definition at line 46 of file TGLOverlay.cxx.
|
virtual |
Mouse has entered this element.
Return TRUE if you want additional events.
Reimplemented in TEveCaloLegoOverlay, TGLAnnotation, TGLCameraGuide, TGLClipSet, TGLManipSet, and TGLOverlayButton.
Definition at line 25 of file TGLOverlay.cxx.
|
virtual |
Mouse has left the element.
Reimplemented in TEveCaloLegoOverlay, TGLAnnotation, TGLCameraGuide, TGLClipSet, TGLManipSet, and TGLOverlayButton.
Definition at line 56 of file TGLOverlay.cxx.
|
virtual |
Reimplemented in TGLClipSet.
Definition at line 30 of file TGLOverlay.cxx.
|
private |
|
protected |
Implemented in TEveCaloLegoOverlay, TEveRGBAPaletteOverlay, TGLAnnotation, TGLCameraGuide, TGLCameraOverlay, TGLClipSet, TGLManipSet, and TGLOverlayButton.
Definition at line 59 of file TGLOverlay.h.
Definition at line 54 of file TGLOverlay.h.
Definition at line 57 of file TGLOverlay.h.
|
protected |
Definition at line 35 of file TGLOverlay.h.
|
protected |
Definition at line 36 of file TGLOverlay.h.