GL-overlay control GUI for TEveCaloLego.
Definition at line 20 of file TEveCaloLegoOverlay.h.
Public Member Functions | |
TEveCaloLegoOverlay () | |
Constructor. | |
~TEveCaloLegoOverlay () override | |
TEveCaloLego * | GetCaloLego () |
const char * | GetHeaderTxt () const |
Bool_t | GetShowPlane () const |
Bool_t | Handle (TGLRnrCtx &rnrCtx, TGLOvlSelectRecord &selRec, Event_t *event) override |
Handle overlay event. | |
TClass * | IsA () const override |
Bool_t | MouseEnter (TGLOvlSelectRecord &selRec) override |
Mouse has entered overlay area. | |
void | MouseLeave () override |
Mouse has left overlay area. | |
void | Render (TGLRnrCtx &rnrCtx) override |
void | SetCaloLego (TEveCaloLego *c) |
void | SetFrameAttribs (Color_t frameCol, Char_t lineTransp, Char_t bgTransp) |
Set frame attributes. | |
void | SetHeaderTxt (const char *txt) |
void | SetScaleColorTransparency (Color_t colIdx, Char_t transp) |
Set color and transparency of scales. | |
void | SetScalePosition (Double_t x, Double_t y) |
Set scale coordinates in range [0,1]. | |
void | SetShowPlane (Bool_t x) |
void | SetShowScales (Bool_t x) |
void | Streamer (TBuffer &) override |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Public Member Functions inherited from TGLCameraOverlay | |
TGLCameraOverlay (Bool_t showOrtho=kTRUE, Bool_t showPersp=kFALSE) | |
~TGLCameraOverlay () override | |
Destructor. | |
TAttAxis * | GetAttAxis () |
Get axis attributes. | |
Int_t | GetOrthographicMode () const |
Int_t | GetPerspectiveMode () const |
Bool_t | GetShowOrthographic () const |
Bool_t | GetShowPerspective () const |
Bool_t | GetUseExternalRefPlane () const |
TClass * | IsA () const override |
TGLPlane & | RefExternalRefPlane () |
void | Render (TGLRnrCtx &rnrCtx) override |
Display coordinates info of current frustum. | |
void | SetFrustum (TGLCamera &cam) |
Set frustum values from given camera. | |
void | SetOrthographicMode (EMode m) |
void | SetPerspectiveMode (EMode m) |
void | SetShowOrthographic (Bool_t x) |
void | SetShowPerspective (Bool_t x) |
void | Streamer (TBuffer &) override |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
void | UseExternalRefPlane (Bool_t x) |
Public Member Functions inherited from TGLOverlayElement | |
TGLOverlayElement (ERole r=kUser, EState s=kActive) | |
virtual | ~TGLOverlayElement () |
ERole | GetRole () const |
EState | GetState () const |
virtual Bool_t | MouseStillInside (TGLOvlSelectRecord &selRec) |
void | SetBinaryState (Bool_t s) |
void | SetRole (ERole r) |
void | SetState (EState s) |
Static Public Member Functions | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Static Public Member Functions inherited from TGLCameraOverlay | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Protected Member Functions | |
void | RenderHeader (TGLRnrCtx &rnrCtx) |
void | RenderLogaritmicScales (TGLRnrCtx &rnrCtx) |
void | RenderPaletteScales (TGLRnrCtx &rnrCtx) |
void | RenderPlaneInterface (TGLRnrCtx &rnrCtx) |
Render menu for plane-value and the plane if marked. | |
Protected Member Functions inherited from TGLCameraOverlay | |
void | RenderAxis (TGLRnrCtx &rnrCtx, Bool_t drawGrid) |
Draw axis on four edges and a transparent grid. | |
void | RenderBar (TGLRnrCtx &rnrCtx) |
Show frustum size with fixed screen line length and printed value. | |
void | RenderGrid (TGLRnrCtx &rnrCtx) |
void | RenderPlaneIntersect (TGLRnrCtx &rnrCtx) |
Draw cross section coordinates in top right corner of screen. | |
Protected Member Functions inherited from TGLOverlayElement | |
void | ProjectionMatrixPushIdentity () |
Protected Attributes | |
Color_t | fActiveCol |
Int_t | fActiveID |
Color_t | fAxisPlaneColor |
Float_t | fButtonW |
TEveCaloLego * | fCalo |
Double_t | fCellX |
Double_t | fCellY |
Char_t | fFrameBgTransp |
Color_t | fFrameColor |
Char_t | fFrameLineTransp |
Bool_t | fHeaderSelected |
TString | fHeaderTxt |
Bool_t | fInDrag |
last mouse position | |
Float_t | fMenuW |
Int_t | fMouseX |
Int_t | fMouseY |
TAxis * | fPlaneAxis |
Color_t | fScaleColor |
Double_t | fScaleCoordX |
Double_t | fScaleCoordY |
Double_t | fScaleH |
Char_t | fScaleTransparency |
Double_t | fScaleW |
Bool_t | fShowPlane |
Bool_t | fShowScales |
Bool_t | fShowSlider |
Float_t | fSliderH |
Float_t | fSliderPosY |
Float_t | fSliderVal |
Protected Attributes inherited from TGLCameraOverlay | |
TAxis * | fAxis |
Float_t | fAxisExtend |
TGLAxisPainter * | fAxisPainter |
TGLPlane | fExternalRefPlane |
Double_t | fFrustum [4] |
EMode | fOrthographicMode |
EMode | fPerspectiveMode |
Bool_t | fShowOrthographic |
Bool_t | fShowPerspective |
Bool_t | fUseAxisColors |
Bool_t | fUseExternalRefPlane |
Protected Attributes inherited from TGLOverlayElement | |
ERole | fRole |
EState | fState |
Private Member Functions | |
TEveCaloLegoOverlay (const TEveCaloLegoOverlay &) | |
TEveCaloLegoOverlay & | operator= (const TEveCaloLegoOverlay &) |
Bool_t | SetSliderVal (Event_t *event, TGLRnrCtx &rnrCtx) |
Additional Inherited Members | |
Public Types inherited from TGLCameraOverlay | |
enum | EMode { kPlaneIntersect , kBar , kAxis , kGridFront , kGridBack } |
Public Types inherited from TGLOverlayElement | |
enum | ERole { kUser , kViewer , kAnnotation , kAll } |
enum | EState { kInvisible = 1 , kDisabled = 2 , kActive = 4 , kAllVisible = kDisabled | kActive } |
#include <TEveCaloLegoOverlay.h>
|
private |
TEveCaloLegoOverlay::TEveCaloLegoOverlay | ( | ) |
Constructor.
Definition at line 44 of file TEveCaloLegoOverlay.cxx.
|
inlineoverride |
Definition at line 78 of file TEveCaloLegoOverlay.h.
|
static |
|
inlinestaticconstexpr |
Definition at line 104 of file TEveCaloLegoOverlay.h.
|
inlinestatic |
Definition at line 104 of file TEveCaloLegoOverlay.h.
|
inline |
Definition at line 89 of file TEveCaloLegoOverlay.h.
|
inline |
Definition at line 96 of file TEveCaloLegoOverlay.h.
|
inline |
Definition at line 93 of file TEveCaloLegoOverlay.h.
|
overridevirtual |
Handle overlay event.
Return TRUE if event was handled.
Reimplemented from TGLOverlayElement.
Definition at line 102 of file TEveCaloLegoOverlay.cxx.
|
inlineoverride |
Definition at line 104 of file TEveCaloLegoOverlay.h.
|
overridevirtual |
Mouse has entered overlay area.
Reimplemented from TGLOverlayElement.
Definition at line 198 of file TEveCaloLegoOverlay.cxx.
|
overridevirtual |
Mouse has left overlay area.
Reimplemented from TGLOverlayElement.
Definition at line 206 of file TEveCaloLegoOverlay.cxx.
|
private |
|
overridevirtual |
Implements TGLOverlayElement.
Definition at line 596 of file TEveCaloLegoOverlay.cxx.
|
protected |
Definition at line 240 of file TEveCaloLegoOverlay.cxx.
|
protected |
Definition at line 378 of file TEveCaloLegoOverlay.cxx.
|
protected |
Definition at line 517 of file TEveCaloLegoOverlay.cxx.
|
protected |
Render menu for plane-value and the plane if marked.
Definition at line 280 of file TEveCaloLegoOverlay.cxx.
|
inline |
Definition at line 90 of file TEveCaloLegoOverlay.h.
Set frame attributes.
Definition at line 232 of file TEveCaloLegoOverlay.cxx.
|
inline |
Definition at line 95 of file TEveCaloLegoOverlay.h.
Set color and transparency of scales.
Definition at line 214 of file TEveCaloLegoOverlay.cxx.
Set scale coordinates in range [0,1].
Definition at line 223 of file TEveCaloLegoOverlay.cxx.
|
inline |
Definition at line 92 of file TEveCaloLegoOverlay.h.
|
inline |
Definition at line 98 of file TEveCaloLegoOverlay.h.
Definition at line 81 of file TEveCaloLegoOverlay.cxx.
|
override |
|
inline |
Definition at line 104 of file TEveCaloLegoOverlay.h.
|
protected |
Definition at line 73 of file TEveCaloLegoOverlay.h.
|
protected |
Definition at line 72 of file TEveCaloLegoOverlay.h.
|
protected |
Definition at line 62 of file TEveCaloLegoOverlay.h.
|
protected |
Definition at line 66 of file TEveCaloLegoOverlay.h.
|
protected |
Definition at line 35 of file TEveCaloLegoOverlay.h.
|
protected |
Definition at line 45 of file TEveCaloLegoOverlay.h.
|
protected |
Definition at line 46 of file TEveCaloLegoOverlay.h.
|
protected |
Definition at line 50 of file TEveCaloLegoOverlay.h.
|
protected |
Definition at line 48 of file TEveCaloLegoOverlay.h.
|
protected |
Definition at line 49 of file TEveCaloLegoOverlay.h.
|
protected |
Definition at line 58 of file TEveCaloLegoOverlay.h.
|
protected |
Definition at line 57 of file TEveCaloLegoOverlay.h.
|
protected |
last mouse position
Definition at line 54 of file TEveCaloLegoOverlay.h.
|
protected |
Definition at line 65 of file TEveCaloLegoOverlay.h.
|
protected |
Definition at line 53 of file TEveCaloLegoOverlay.h.
|
protected |
Definition at line 53 of file TEveCaloLegoOverlay.h.
|
protected |
Definition at line 61 of file TEveCaloLegoOverlay.h.
|
protected |
Definition at line 39 of file TEveCaloLegoOverlay.h.
|
protected |
Definition at line 41 of file TEveCaloLegoOverlay.h.
|
protected |
Definition at line 42 of file TEveCaloLegoOverlay.h.
|
protected |
Definition at line 44 of file TEveCaloLegoOverlay.h.
|
protected |
Definition at line 40 of file TEveCaloLegoOverlay.h.
|
protected |
Definition at line 43 of file TEveCaloLegoOverlay.h.
|
protected |
Definition at line 63 of file TEveCaloLegoOverlay.h.
|
protected |
Definition at line 38 of file TEveCaloLegoOverlay.h.
|
protected |
Definition at line 67 of file TEveCaloLegoOverlay.h.
|
protected |
Definition at line 68 of file TEveCaloLegoOverlay.h.
|
protected |
Definition at line 69 of file TEveCaloLegoOverlay.h.
|
protected |
Definition at line 70 of file TEveCaloLegoOverlay.h.