GL-overlay annotation.
Definition at line 25 of file TGLAnnotation.h.
|
| TGLAnnotation (TGLViewerBase *parent, const char *text, Float_t posx, Float_t posy) |
|
| TGLAnnotation (TGLViewerBase *parent, const char *text, Float_t posx, Float_t posy, TGLVector3 ref) |
|
| ~TGLAnnotation () override |
| Destructor.
|
|
void | CloseEditor () |
| Close the annotation editor.
|
|
Bool_t | GetAllowClose () const |
|
Color_t | GetBackColor () const |
|
const TString & | GetText () const |
|
TGLFont::ETextAlignH_e | GetTextAlign () const |
|
Color_t | GetTextColor () const |
|
Float_t | GetTextSize () const |
|
Char_t | GetTransparency () const |
|
Bool_t | GetUseColorSet () 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 |
| Render the annotation.
|
|
void | SetAllowClose (Bool_t x) |
|
void | SetBackColor (Color_t x) |
|
void | SetText (const TString &x) |
|
void | SetTextAlign (TGLFont::ETextAlignH_e a) |
|
void | SetTextColor (Color_t x) |
|
void | SetTextSize (Float_t x) |
|
void | SetTransparency (Char_t x) |
|
void | SetUseColorSet (Bool_t x) |
|
void | Streamer (TBuffer &) override |
|
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
|
void | UpdateText () |
| Modify the annotation text from the text-edit widget.
|
|
| 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) |
|
#include <TGLAnnotation.h>
◆ EDrag
◆ ENameStack
Enumerator |
---|
kMoveID | |
kEditID | |
kDeleteID | |
kResizeID | |
Definition at line 33 of file TGLAnnotation.h.
◆ TGLAnnotation() [1/3]
◆ TGLAnnotation() [2/3]
◆ TGLAnnotation() [3/3]
◆ ~TGLAnnotation()
TGLAnnotation::~TGLAnnotation |
( |
| ) |
|
|
override |
◆ Class()
static TClass * TGLAnnotation::Class |
( |
| ) |
|
|
static |
- Returns
- TClass describing this class
◆ Class_Name()
static const char * TGLAnnotation::Class_Name |
( |
| ) |
|
|
static |
- Returns
- Name of this class
◆ Class_Version()
static constexpr Version_t TGLAnnotation::Class_Version |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ CloseEditor()
void TGLAnnotation::CloseEditor |
( |
| ) |
|
◆ DeclFileName()
static const char * TGLAnnotation::DeclFileName |
( |
| ) |
|
|
inlinestatic |
- Returns
- Name of the file containing the class declaration
Definition at line 113 of file TGLAnnotation.h.
◆ GetAllowClose()
Bool_t TGLAnnotation::GetAllowClose |
( |
| ) |
const |
|
inline |
◆ GetBackColor()
Color_t TGLAnnotation::GetBackColor |
( |
| ) |
const |
|
inline |
◆ GetLineTransparency()
Char_t TGLAnnotation::GetLineTransparency |
( |
| ) |
const |
|
protected |
Returns transparency of annotation outline.
If annotation is selected enforce visibility of outline.
Definition at line 475 of file TGLAnnotation.cxx.
◆ GetText()
const TString & TGLAnnotation::GetText |
( |
| ) |
const |
|
inline |
◆ GetTextAlign()
◆ GetTextColor()
Color_t TGLAnnotation::GetTextColor |
( |
| ) |
const |
|
inline |
◆ GetTextSize()
Float_t TGLAnnotation::GetTextSize |
( |
| ) |
const |
|
inline |
◆ GetTransparency()
Char_t TGLAnnotation::GetTransparency |
( |
| ) |
const |
|
inline |
◆ GetUseColorSet()
Bool_t TGLAnnotation::GetUseColorSet |
( |
| ) |
const |
|
inline |
◆ Handle()
◆ IsA()
TClass * TGLAnnotation::IsA |
( |
| ) |
const |
|
inlineoverride |
◆ MakeEditor()
void TGLAnnotation::MakeEditor |
( |
| ) |
|
|
protected |
◆ MouseEnter()
◆ MouseLeave()
void TGLAnnotation::MouseLeave |
( |
| ) |
|
|
overridevirtual |
◆ operator=()
◆ Render()
void TGLAnnotation::Render |
( |
TGLRnrCtx & |
rnrCtx | ) |
|
|
overridevirtual |
◆ SetAllowClose()
void TGLAnnotation::SetAllowClose |
( |
Bool_t |
x | ) |
|
|
inline |
◆ SetBackColor()
void TGLAnnotation::SetBackColor |
( |
Color_t |
x | ) |
|
|
inline |
◆ SetText()
void TGLAnnotation::SetText |
( |
const TString & |
x | ) |
|
|
inline |
◆ SetTextAlign()
◆ SetTextColor()
void TGLAnnotation::SetTextColor |
( |
Color_t |
x | ) |
|
|
inline |
◆ SetTextSize()
void TGLAnnotation::SetTextSize |
( |
Float_t |
x | ) |
|
|
inline |
◆ SetTransparency()
void TGLAnnotation::SetTransparency |
( |
Char_t |
x | ) |
|
|
inline |
◆ SetUseColorSet()
void TGLAnnotation::SetUseColorSet |
( |
Bool_t |
x | ) |
|
|
inline |
◆ Streamer()
void TGLAnnotation::Streamer |
( |
TBuffer & |
| ) |
|
|
override |
◆ StreamerNVirtual()
void TGLAnnotation::StreamerNVirtual |
( |
TBuffer & |
ClassDef_StreamerNVirtual_b | ) |
|
|
inline |
◆ UpdateText()
void TGLAnnotation::UpdateText |
( |
| ) |
|
Modify the annotation text from the text-edit widget.
Definition at line 540 of file TGLAnnotation.cxx.
◆ fActive
◆ fAllowClose
Bool_t TGLAnnotation::fAllowClose |
|
protected |
◆ fBackColor
◆ fDrag
EDrag TGLAnnotation::fDrag |
|
protected |
◆ fDrawH
◆ fDrawRefLine
Bool_t TGLAnnotation::fDrawRefLine |
|
protected |
◆ fDrawW
◆ fFont
◆ fgBackColor
◆ fgTextColor
◆ fHeight
◆ fMainFrame
◆ fMenuFont
◆ fMouseX
Int_t TGLAnnotation::fMouseX |
|
protected |
◆ fMouseY
Int_t TGLAnnotation::fMouseY |
|
protected |
◆ fParent
◆ fPointer
◆ fPosX
◆ fPosY
◆ fText
◆ fTextAlign
◆ fTextColor
◆ fTextEdit
◆ fTextSize
◆ fTextSizeDrag
Float_t TGLAnnotation::fTextSizeDrag |
|
protected |
◆ fTransparency
Char_t TGLAnnotation::fTransparency |
|
protected |
◆ fUseColorSet
Bool_t TGLAnnotation::fUseColorSet |
|
protected |
◆ fWidth
The documentation for this class was generated from the following files: