ROOT 6.10/09 Reference Guide |
Draws arrows showing camera orientation in the overlay.
X, Y position is in range 0, 1.
Definition at line 17 of file TGLCameraGuide.h.
Public Member Functions | |
TGLCameraGuide (Float_t x, Float_t y, Float_t s, ERole role=kUser, EState state=kActive) | |
Constructor. More... | |
virtual | ~TGLCameraGuide () |
virtual Bool_t | Handle (TGLRnrCtx &rnrCtx, TGLOvlSelectRecord &selRec, Event_t *event) |
Handle overlay event. More... | |
virtual Bool_t | MouseEnter (TGLOvlSelectRecord &selRec) |
Mouse has entered overlay area. More... | |
virtual void | MouseLeave () |
Mouse has left overlay area. More... | |
virtual void | Render (TGLRnrCtx &rnrCtx) |
Render the camera axis arrows. More... | |
void | SetSize (Float_t s) |
void | SetX (Float_t x) |
void | SetXY (Float_t x, Float_t y) |
void | SetY (Float_t y) |
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) |
Protected Attributes | |
Bool_t | fInDrag |
Int_t | fSelAxis |
Float_t | fSize |
Float_t | fXPos |
Float_t | fYPos |
Protected Attributes inherited from TGLOverlayElement | |
ERole | fRole |
EState | fState |
Private Member Functions | |
TGLCameraGuide (const TGLCameraGuide &) | |
TGLCameraGuide & | operator= (const TGLCameraGuide &) |
Additional Inherited Members | |
Public Types inherited from TGLOverlayElement | |
enum | ERole { kUser, kViewer, kAnnotation, kAll } |
enum | EState { kInvisible = 1, kDisabled = 2, kActive = 4, kAllVisible = kDisabled | kActive } |
Protected Member Functions inherited from TGLOverlayElement | |
void | ProjectionMatrixPushIdentity () |
#include <TGLCameraGuide.h>
|
private |
TGLCameraGuide::TGLCameraGuide | ( | Float_t | x, |
Float_t | y, | ||
Float_t | s, | ||
ERole | role = kUser , |
||
EState | state = kActive |
||
) |
Constructor.
Definition at line 32 of file TGLCameraGuide.cxx.
|
inlinevirtual |
Definition at line 34 of file TGLCameraGuide.h.
|
virtual |
Handle overlay event.
Return TRUE if event was handled.
Reimplemented from TGLOverlayElement.
Definition at line 52 of file TGLCameraGuide.cxx.
|
virtual |
Mouse has entered overlay area.
Reimplemented from TGLOverlayElement.
Definition at line 43 of file TGLCameraGuide.cxx.
|
virtual |
Mouse has left overlay area.
Reimplemented from TGLOverlayElement.
Definition at line 99 of file TGLCameraGuide.cxx.
|
private |
Render the camera axis arrows.
Implements TGLOverlayElement.
Definition at line 108 of file TGLCameraGuide.cxx.
Definition at line 39 of file TGLCameraGuide.h.
Definition at line 36 of file TGLCameraGuide.h.
Definition at line 38 of file TGLCameraGuide.h.
Definition at line 37 of file TGLCameraGuide.h.
|
protected |
Definition at line 29 of file TGLCameraGuide.h.
|
protected |
Definition at line 28 of file TGLCameraGuide.h.
|
protected |
Definition at line 26 of file TGLCameraGuide.h.
|
protected |
Definition at line 24 of file TGLCameraGuide.h.
|
protected |
Definition at line 25 of file TGLCameraGuide.h.