53 v->SetElementName(
"Bar Embedded Viewer");
110 double fontsize = 0.07;
112 double y = 1 -1*fontsize;
118 latex->
DrawLatex(
x,
y,
"greek letter #Delta#eta_{out}");
126 latex->
DrawLatex(
x,
y,
"#color[5]{#bullet} marker");
128 latex->
DrawLatex(
x,
y,
"#color[4]{#bullet} marker some text");
163 for(
int i = 0; i<4;++i)
165 Int_t weight =
r.Uniform(3, 7);
177 text_view->
AddLine(
Form(
"slot[%d] add line %d here ", i,
l));
R__EXTERN TEveManager * gEve
char * Form(const char *fmt,...)
virtual void SetTextSize(Float_t tsize=1)
Set the text size.
virtual void ToggleEditor()
Toggle editor.
virtual void SetElementName(const char *name)
Virtual function for setting of name of an element.
TEveViewerList * GetViewers() const
TEveBrowser * GetBrowser() const
TEveGedEditor * GetEditor() const
Returns main object editor.
static TEveManager * Create(Bool_t map_window=kTRUE, Option_t *opt="FIV")
If global TEveManager* gEve is not set initialize it.
TEveScene * GetEventScene() const
static void Macro(const char *mac)
Execute macro 'mac'. Do not reload the macro.
virtual void AddElement(TEveElement *el)
Call base-class implementation.
Eve representation of TGLViewer.
virtual void AddScene(TEveScene *scene)
Add 'scene' to the list of scenes.
TGLEmbeddedViewer * SpawnGLEmbeddedViewer(TGedEditor *ged=0, Int_t border=0)
Spawn new GLViewer and adopt it.
Encapsulates TGFrame into an eve-window.
TGCompositeFrame * GetGUICompositeFrame()
Returns the registered top-frame of this eve-window dynamic-casted to composite-frame.
Encapsulates TGPack into an eve-window.
virtual TEveWindowSlot * NewSlotWithWeight(Float_t w)
Create a new weighted frame-slot at the last position of the pack.
virtual TEveWindowSlot * NewSlot()
Create a new frame-slot at the last position of the pack.
Description of TEveWindowSlot.
TEveWindowFrame * StopEmbedding(const char *name=0)
An embedded window is created in place of this window-slot.
TGCompositeFrame * StartEmbedding()
Start embedding a window that will replace the current slot.
TEveWindowFrame * MakeFrame(TGFrame *frame=0)
An eve-window-frame is created and frame is passed into it.
TEveWindowTab * MakeTab()
A tab is created in place of this window-slot.
TEveWindowPack * MakePack()
A pack is created in place of this window-slot.
Encapsulates TGTab into an eve-window.
void ReplaceWindow(TEveWindow *w)
Replace this window with the passed one.
virtual TEveWindowSlot * NewSlot()
static TEveWindowSlot * CreateWindowInTab(TGTab *tab, TEveWindow *eve_parent=0)
Create a new tab in a given tab-widget and populate it with a default window-slot.
void SetShowTitleBar(Bool_t x)
Set display state of the title-bar.
The base class for composite widgets (menu bars, list boxes, etc.).
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
virtual void Layout()
Layout the elements of the composite frame.
virtual void SetCleanup(Int_t mode=kLocalCleanup)
Turn on automatic cleanup of child frames in dtor.
virtual void MapSubwindows()
Map all sub windows that are part of the composite frame.
virtual void SetWidth(UInt_t w)
virtual void MapWindow()
map window
Minimal GL-viewer that can be embedded in a standard ROOT frames.
This class handles GUI labels.
This class describes layout hints used by the layout classes.
virtual Bool_t SetTab(Int_t tabIndex, Bool_t emit=kTRUE)
Brings the composite frame with the index tabIndex to the front and generate the following event if t...
Yield an action as soon as it is clicked.
A TGTextView is a text viewer widget.
virtual void Update()
update the whole window of text view
virtual Long_t ReturnLongestLineWidth()
Return width of longest line.
virtual void AddLine(const char *string)
Add a line of text to the view widget.
virtual void Layout()
Layout the components of view.
A composite frame that layout their children in vertical way.
To draw Mathematical Formula.
TLatex * DrawLatex(Double_t x, Double_t y, const char *text)
Make a copy of this object with the new parameters And copy object attributes.
virtual void Draw(Option_t *option="")
Default Draw method for all objects.
This is the base class for the ROOT Random number generators.
TGTab * GetTabRight() const
This class creates a TGCanvas in which a TCanvas is created.