ROOT
6.06/09
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 () |
virtual Bool_t | MouseEnter (TGLOvlSelectRecord &selRec) |
Mouse has entered this element. More... | |
virtual Bool_t | MouseStillInside (TGLOvlSelectRecord &selRec) |
virtual Bool_t | Handle (TGLRnrCtx &rnrCtx, TGLOvlSelectRecord &selRec, Event_t *event) |
Handle overlay event. More... | |
virtual void | MouseLeave () |
Mouse has left the element. More... | |
virtual void | Render (TGLRnrCtx &rnrCtx)=0 |
ERole | GetRole () const |
void | SetRole (ERole r) |
EState | GetState () const |
void | SetState (EState s) |
void | SetBinaryState (Bool_t 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.
Referenced by TGLViewerBase::RenderOverlay().
|
virtual |
Handle overlay event.
Return TRUE if event was handled.
Reimplemented in TGLClipSet, TGLAnnotation, TEveCaloLegoOverlay, TGLOverlayButton, TGLManipSet, and TGLCameraGuide.
Definition at line 46 of file TGLOverlay.cxx.
Referenced by TGLEventHandler::HandleButton(), TGLEventHandler::HandleKey(), and TGLEventHandler::HandleMotion().
|
virtual |
Mouse has entered this element.
Return TRUE if you want additional events.
Reimplemented in TGLClipSet, TGLAnnotation, TEveCaloLegoOverlay, TGLOverlayButton, TGLManipSet, and TGLCameraGuide.
Definition at line 25 of file TGLOverlay.cxx.
Referenced by TGLViewer::DoOverlaySelect().
|
virtual |
Mouse has left the element.
Reimplemented in TGLClipSet, TGLAnnotation, TEveCaloLegoOverlay, TGLOverlayButton, TGLManipSet, and TGLCameraGuide.
Definition at line 56 of file TGLOverlay.cxx.
Referenced by TGLViewer::ClearCurrentOvlElm(), and TGLViewer::DoOverlaySelect().
|
virtual |
Reimplemented in TGLClipSet.
Definition at line 30 of file TGLOverlay.cxx.
Referenced by TGLViewer::DoOverlaySelect(), and TGLClipSet::MouseStillInside().
|
private |
|
protected |
Implemented in TGLClipSet, TGLAnnotation, TEveCaloLegoOverlay, TGLOverlayButton, TGLCameraOverlay, TGLManipSet, TGLCameraGuide, and TEveRGBAPaletteOverlay.
Referenced by TGLViewerBase::RenderOverlay().
Definition at line 59 of file TGLOverlay.h.
Definition at line 54 of file TGLOverlay.h.
Definition at line 57 of file TGLOverlay.h.
Referenced by SetBinaryState().
|
protected |
Definition at line 35 of file TGLOverlay.h.
Referenced by GetRole().
|
protected |
Definition at line 36 of file TGLOverlay.h.
Referenced by GetState().