GL-overlay annotation.
Definition at line 25 of file TGLAnnotation.h.
Static Public Member Functions | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Protected Types | |
enum | EDrag { kMove , kResize , kNone } |
enum | ENameStack { kMoveID , kEditID , kDeleteID , kResizeID } |
Protected Member Functions | |
Char_t | GetLineTransparency () const |
Returns transparency of annotation outline. | |
void | MakeEditor () |
Show the annotation editor. | |
Protected Member Functions inherited from TGLOverlayElement | |
void | ProjectionMatrixPushIdentity () |
Protected Attributes | |
Bool_t | fActive |
Bool_t | fAllowClose |
Color_t | fBackColor |
EDrag | fDrag |
last mouse position | |
Float_t | fDrawH |
Bool_t | fDrawRefLine |
Float_t | fDrawW |
TGLFont | fFont |
Float_t | fHeight |
TGMainFrame * | fMainFrame |
TGLFont | fMenuFont |
Int_t | fMouseX |
Int_t | fMouseY |
TGLViewer * | fParent |
TGLVector3 | fPointer |
text-size at start of drag | |
Float_t | fPosX |
Float_t | fPosY |
TString | fText |
TGLFont::ETextAlignH_e | fTextAlign |
Color_t | fTextColor |
TGTextEdit * | fTextEdit |
Float_t | fTextSize |
Float_t | fTextSizeDrag |
width and height when drawing | |
Char_t | fTransparency |
Bool_t | fUseColorSet |
Float_t | fWidth |
Protected Attributes inherited from TGLOverlayElement | |
ERole | fRole |
EState | fState |
Static Protected Attributes | |
static Color_t | fgBackColor = kAzure + 10 |
static Color_t | fgTextColor = kOrange |
Private Member Functions | |
TGLAnnotation (const TGLAnnotation &)=delete | |
TGLAnnotation & | operator= (const TGLAnnotation &)=delete |
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 } |
#include <TGLAnnotation.h>
|
protected |
Enumerator | |
---|---|
kMove | |
kResize | |
kNone |
Definition at line 32 of file TGLAnnotation.h.
|
protected |
Enumerator | |
---|---|
kMoveID | |
kEditID | |
kDeleteID | |
kResizeID |
Definition at line 33 of file TGLAnnotation.h.
|
privatedelete |
TGLAnnotation::TGLAnnotation | ( | TGLViewerBase * | parent, |
const char * | text, | ||
Float_t | posx, | ||
Float_t | posy ) |
Definition at line 43 of file TGLAnnotation.cxx.
TGLAnnotation::TGLAnnotation | ( | TGLViewerBase * | parent, |
const char * | text, | ||
Float_t | posx, | ||
Float_t | posy, | ||
TGLVector3 | ref ) |
Definition at line 74 of file TGLAnnotation.cxx.
|
override |
Destructor.
Definition at line 106 of file TGLAnnotation.cxx.
Definition at line 113 of file TGLAnnotation.h.
void TGLAnnotation::CloseEditor | ( | ) |
Close the annotation editor.
Definition at line 532 of file TGLAnnotation.cxx.
Definition at line 113 of file TGLAnnotation.h.
|
inline |
Definition at line 97 of file TGLAnnotation.h.
|
inline |
Definition at line 88 of file TGLAnnotation.h.
|
protected |
Returns transparency of annotation outline.
If annotation is selected enforce visibility of outline.
Definition at line 475 of file TGLAnnotation.cxx.
Definition at line 79 of file TGLAnnotation.h.
|
inline |
Definition at line 99 of file TGLAnnotation.h.
|
inline |
Definition at line 91 of file TGLAnnotation.h.
|
inline |
Definition at line 94 of file TGLAnnotation.h.
|
inline |
Definition at line 82 of file TGLAnnotation.h.
|
inline |
Definition at line 85 of file TGLAnnotation.h.
|
overridevirtual |
Handle overlay event.
Return TRUE if event was handled.
Reimplemented from TGLOverlayElement.
Definition at line 116 of file TGLAnnotation.cxx.
|
inlineoverride |
Definition at line 113 of file TGLAnnotation.h.
|
protected |
Show the annotation editor.
Definition at line 486 of file TGLAnnotation.cxx.
|
overridevirtual |
Mouse has entered overlay area.
Reimplemented from TGLOverlayElement.
Definition at line 193 of file TGLAnnotation.cxx.
|
overridevirtual |
Mouse has left overlay area.
Reimplemented from TGLOverlayElement.
Definition at line 202 of file TGLAnnotation.cxx.
|
privatedelete |
|
overridevirtual |
Render the annotation.
Implements TGLOverlayElement.
Definition at line 210 of file TGLAnnotation.cxx.
|
inline |
Definition at line 96 of file TGLAnnotation.h.
|
inline |
Definition at line 87 of file TGLAnnotation.h.
Definition at line 78 of file TGLAnnotation.h.
|
inline |
Definition at line 100 of file TGLAnnotation.h.
|
inline |
Definition at line 90 of file TGLAnnotation.h.
|
inline |
Definition at line 93 of file TGLAnnotation.h.
|
inline |
Definition at line 81 of file TGLAnnotation.h.
|
inline |
Definition at line 84 of file TGLAnnotation.h.
|
override |
|
inline |
Definition at line 113 of file TGLAnnotation.h.
void TGLAnnotation::UpdateText | ( | ) |
Modify the annotation text from the text-edit widget.
Definition at line 540 of file TGLAnnotation.cxx.
|
protected |
Definition at line 49 of file TGLAnnotation.h.
|
protected |
Definition at line 71 of file TGLAnnotation.h.
|
protected |
Definition at line 65 of file TGLAnnotation.h.
|
protected |
last mouse position
Definition at line 44 of file TGLAnnotation.h.
|
protected |
Definition at line 45 of file TGLAnnotation.h.
|
protected |
Definition at line 69 of file TGLAnnotation.h.
|
protected |
Definition at line 45 of file TGLAnnotation.h.
|
protected |
Definition at line 61 of file TGLAnnotation.h.
Definition at line 54 of file TGLAnnotation.h.
Definition at line 55 of file TGLAnnotation.h.
|
protected |
Definition at line 41 of file TGLAnnotation.h.
|
protected |
Definition at line 51 of file TGLAnnotation.h.
|
protected |
Definition at line 62 of file TGLAnnotation.h.
|
protected |
Definition at line 43 of file TGLAnnotation.h.
|
protected |
Definition at line 43 of file TGLAnnotation.h.
|
protected |
Definition at line 57 of file TGLAnnotation.h.
|
protected |
text-size at start of drag
Definition at line 48 of file TGLAnnotation.h.
|
protected |
Definition at line 38 of file TGLAnnotation.h.
|
protected |
Definition at line 39 of file TGLAnnotation.h.
|
protected |
Definition at line 59 of file TGLAnnotation.h.
|
protected |
Definition at line 63 of file TGLAnnotation.h.
|
protected |
Definition at line 66 of file TGLAnnotation.h.
|
protected |
Definition at line 52 of file TGLAnnotation.h.
|
protected |
Definition at line 60 of file TGLAnnotation.h.
|
protected |
width and height when drawing
Definition at line 46 of file TGLAnnotation.h.
|
protected |
Definition at line 67 of file TGLAnnotation.h.
|
protected |
Definition at line 70 of file TGLAnnotation.h.
|
protected |
Definition at line 40 of file TGLAnnotation.h.