A++ » INCLUDE » TGLAnnotation

class TGLAnnotation: public TGLOverlayElement

Function Members (Methods)

public:
virtual~TGLAnnotation()
static TClass*Class()
voidCloseEditor()
Bool_tGetAllowClose() const
Color_tGetBackColor() const
TGLOverlayElement::ERoleTGLOverlayElement::GetRole() const
TGLOverlayElement::EStateTGLOverlayElement::GetState() const
const TString&GetText() const
TGLFont::ETextAlignH_eGetTextAlign() const
Color_tGetTextColor() const
Float_tGetTextSize() const
Char_tGetTransparency() const
Bool_tGetUseColorSet() const
virtual Bool_tHandle(TGLRnrCtx& rnrCtx, TGLOvlSelectRecord& selRec, Event_t* event)
virtual TClass*IsA() const
virtual Bool_tMouseEnter(TGLOvlSelectRecord& selRec)
virtual voidMouseLeave()
virtual Bool_tTGLOverlayElement::MouseStillInside(TGLOvlSelectRecord& selRec)
virtual voidRender(TGLRnrCtx& rnrCtx)
voidSetAllowClose(Bool_t x)
voidSetBackColor(Color_t x)
voidTGLOverlayElement::SetBinaryState(Bool_t s)
voidTGLOverlayElement::SetRole(TGLOverlayElement::ERole r)
voidTGLOverlayElement::SetState(TGLOverlayElement::EState s)
voidSetText(const TString& x)
voidSetTextAlign(TGLFont::ETextAlignH_e a)
voidSetTextColor(Color_t x)
voidSetTextSize(Float_t x)
voidSetTransparency(Char_t x)
voidSetUseColorSet(Bool_t x)
virtual voidShowMembers(TMemberInspector& insp) const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
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)
voidUpdateText()

Data Members

protected:
Bool_tfActiveactive item identifier
Bool_tfAllowCloseallow closing via 'X' button
Color_tfBackColorbackground color
TGLAnnotation::EDragfDrag!
Float_tfDrawH! width and height when drawing
Bool_tfDrawRefLinedraw 3D refrence line
Float_tfDrawW! width and height when drawing
TGLFontfFontfont used to render labels
Float_tfHeight
TGMainFrame*fMainFrameeditors
TGLFontfMenuFontfont used to render menu buttons
Int_tfMouseX! last mouse position
Int_tfMouseY! last mouse position
TGLViewer*fParent
TGLVector3fPointerpicked location in 3D space
Float_tfPosXx position [0, 1]
Float_tfPosYy position [0, 1]
TGLOverlayElement::ERoleTGLOverlayElement::fRole
TGLOverlayElement::EStateTGLOverlayElement::fState
TStringfTextannotation text
TGLFont::ETextAlignH_efTextAlign
Color_tfTextColortext color
TGTextEdit*fTextEditeditors
Float_tfTextSizerelative font size
Float_tfTextSizeDrag! text-size at start of drag
Char_tfTransparencytransparency of background
Bool_tfUseColorSetuse color set from rnrCtx
Float_tfWidth
static Color_tfgBackColor
static Color_tfgTextColor
static TGLAnnotation::ENameStackkDeleteID
static TGLAnnotation::ENameStackkEditID
static TGLAnnotation::EDragkMove
static TGLAnnotation::ENameStackkMoveID
static TGLAnnotation::EDragkNone
static TGLAnnotation::EDragkResize
static TGLAnnotation::ENameStackkResizeID

Class Charts

Inheritance Chart:
TGLOverlayElement
TGLAnnotation

Function documentation

TGLAnnotation(const TGLAnnotation& )
TGLAnnotation& operator=(const TGLAnnotation& )
void MakeEditor()
Char_t GetLineTransparency() const
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)
virtual ~TGLAnnotation()
void SetText(const TString& x)
{ fText = x; }
const TString& GetText() const
{ return fText; }
void SetTransparency(Char_t x)
{ fTransparency = x; }
Char_t GetTransparency() const
{ return fTransparency; }
void SetUseColorSet(Bool_t x)
{ fUseColorSet = x; }
Bool_t GetUseColorSet() const
{ return fUseColorSet; }
void SetBackColor(Color_t x)
{ fBackColor = x; }
Color_t GetBackColor() const
{ return fBackColor; }
void SetTextColor(Color_t x)
{ fTextColor = x; }
Color_t GetTextColor() const
{ return fTextColor; }
void SetTextSize(Float_t x)
{ fTextSize = x; }
Float_t GetTextSize() const
{ return fTextSize; }
void SetAllowClose(Bool_t x)
{ fAllowClose = x; }
Bool_t GetAllowClose() const
{ return fAllowClose; }
TGLFont::ETextAlignH_e GetTextAlign() const
{ return fTextAlign; }
void SetTextAlign(TGLFont::ETextAlignH_e a)
{ fTextAlign = a; }
Bool_t MouseEnter(TGLOvlSelectRecord& selRec)
Bool_t Handle(TGLRnrCtx& rnrCtx, TGLOvlSelectRecord& selRec, Event_t* event)
void CloseEditor()
void UpdateText()
void Render(TGLRnrCtx& rnrCtx)