12 #ifndef ROOT_TEveManager 13 #define ROOT_TEveManager 77 virtual EStatus Handle(std::exception& exc);
171 if (resetCameras) fResetCameras =
kTRUE;
172 if (dropLogicals) fDropLogicals =
kTRUE;
void ElementStamped(TEveElement *element)
Mark element as changed – it will be processed on next redraw.
TEveWindowManager * fWindowManager
A TFolder object is a collection of objects and folders.
Base class for event management and navigation.
The manager class for any TGeo geometry.
Eve representation of TGLScene.
void DoRedraw3D()
Perform 3D redraw of scenes and viewers whose contents has changed.
List of Viewers providing common operations on TEveViewer collections.
void EditElement(TEveElement *element)
Show element in default editor.
Specialization of TGedEditor for proper update propagation to TEveManager.
virtual ~TEveManager()
Destructor.
TEveBrowser * GetBrowser() const
TEveViewerList * fViewers
virtual ~TRedrawDisabler()
void AddGlobalElement(TEveElement *element, TEveElement *parent=0)
Add a global element, i.e.
virtual ~TExceptionHandler()
Specialization of TRootBrowser for Eve.
Class supporting a collection of lines with C++ code.
void RegisterGeometryAlias(const TString &alias, const TString &filename)
Register 'name' as an alias for geometry file 'filename'.
Bool_t ElementPaste(TEveElement *element)
Paste has been called.
TEveElement * FindVizDBEntry(const TString &tag)
Find a visualization-parameter database entry corresponding to tag.
TGListTreeItem * AddToListTree(TEveElement *re, Bool_t open, TGListTree *lt=0)
void Redraw3D(Bool_t resetCameras=kFALSE, Bool_t dropLogicals=kFALSE)
void SaveVizDB(const TString &filename)
Save visualization-parameter database to file filename.
void RemoveFromListTree(TEveElement *element, TGListTree *lt, TGListTreeItem *lti)
Remove top-level element from list-tree with specified tree-item.
TEveSelection * fSelection
TEveElementList * fOrphanage
TExMap * fStampedElements
TGeoManager * GetDefaultGeometry()
Get the default geometry.
void AddElement(TEveElement *element, TEveElement *parent=0)
Add an element.
void LoadVizDB(const TString &filename, Bool_t replace, Bool_t update)
Load visualization-parameter database from file filename.
TGListTree * GetListTree() const
Get default list-tree widget.
TGeoManager * GetGeometryByAlias(const TString &alias)
Get geometry with given alias.
#define ClassDef(name, id)
static void Terminate()
Properly terminate global TEveManager.
void SetStatusLine(const char *text)
Set the text in the right side of browser's status bar.
TCanvas * AddCanvasTab(const char *name)
Add a new canvas tab.
void ClearROOTClassSaved()
Work-around uber ugly hack used in SavePrimitive and co.
void SetVizDBReplace(Bool_t r)
TExMap * PtrToStampedElements()
TExceptionHandler * fExcHandler
TEveViewerList * GetViewers() const
static TEveManager * Create(Bool_t map_window=kTRUE, Option_t *opt="FIV")
If global TEveManager* gEve is not set initialize it.
TRedrawDisabler(TEveManager *m)
TGWindow * GetMainWindow() const
Get the main window, i.e. EVE-browser.
void SetCurrentEvent(TEveEventManager *mgr)
void RegisterRedraw3D()
Register a request for 3D redraw.
TGeoManager * GetGeometry(const TString &filename)
Get geometry with given filename.
void ScenesChanged(TEveElement::List_t &scenes)
Mark all scenes from the given list as changed.
TEveScene * GetGlobalScene() const
void ElementChanged(TEveElement *element, Bool_t update_scenes=kTRUE, Bool_t redraw=kFALSE)
Element was changed, perform framework side action.
TGListTreeItem * AddEvent(TEveEventManager *event)
Add a new event and make it the current event.
TEveElementList * GetOrphanage() const
Bool_t GetVizDBReplace() const
TMacro * GetMacro(const char *name) const
Find macro in fMacroFolder by name.
R__EXTERN TEveManager * gEve
TEveSceneList * GetScenes() const
void CloseEveWindow()
Close button has been clicked on EVE main window (browser).
static void update(gsl_integration_workspace *workspace, double a1, double b1, double area1, double error1, double a2, double b2, double area2, double error2)
void ClearOrphanage()
Clear the orphanage.
TEveViewer * SpawnNewViewer(const char *name, const char *title="", Bool_t embed=kTRUE)
Create a new GL viewer.
TEveGedEditor * GetEditor() const
Returns main object editor.
TEveEventManager * fCurrentEvent
List of Scenes providing common operations on TEveScene collections.
Handles synchronous and a-synchronous timer events.
TEveWindowManager * GetWindowManager() const
Base GL viewer object - used by both standalone and embedded (in pad) GL.
TGLViewer * GetDefaultGLViewer() const
Get TGLViewer of the default TEveViewer.
Make sure there is a SINGLE running TEveSelection for each selection type (select/highlight).
TEveSelection * GetHighlight() const
void Add(THist< DIMENSIONS, PRECISION_TO, STAT_TO... > &to, const THist< DIMENSIONS, PRECISION_FROM, STAT_FROM... > &from)
Add two histograms.
std::list< TEveElement * > List_t
void FullRedraw3D(Bool_t resetCameras=kFALSE, Bool_t dropLogicals=kFALSE)
Perform 3D redraw of all scenes and viewers.
TEveScene * GetEventScene() const
Bool_t GetKeepEmptyCont() const
TMap implements an associative array of (key,value) pairs using a THashTable for efficient retrieval ...
TEveSelection * GetSelection() const
Central application manager for Eve.
void SetVizDBUpdate(Bool_t u)
TEveViewer * GetDefaultViewer() const
Returns the default viewer - the first one in the fViewers list.
Bool_t GetVizDBUpdate() const
TFolder * GetMacroFolder() const
TEveGListTreeEditorFrame * fLTEFrame
TEveManager & operator=(const TEveManager &)
void RemoveElement(TEveElement *element, TEveElement *parent)
Remove element from parent.
void EnforceTimerActive(Bool_t ta)
TEveEventManager * GetCurrentEvent() const
TEveGListTreeEditorFrame * GetLTEFrame() const
Bool_t GetUseOrphanage() const
TEveScene * SpawnNewScene(const char *name, const char *title="")
Create a new scene.
Bool_t InsertVizDBEntry(const TString &tag, TEveElement *model, Bool_t replace, Bool_t update)
Insert a new visualization-parameter database entry.
Composite GUI frame for parallel display of a TGListTree and TEveGedEditor.
TExceptionHandler * GetExcHandler() const
TEveManager(const TEveManager &)
void ElementSelect(TEveElement *element)
Select an element.
Exception handler for Eve exceptions.
void PreDeleteElement(TEveElement *element)
Called from TEveElement prior to its destruction so the framework components (like object editor) can...
TRedrawDisabler & operator=(const TRedrawDisabler &)
void SetKeepEmptyCont(Bool_t k)
void SetUseOrphanage(Bool_t o)
Base class for TEveUtil visualization elements, providing hierarchy management, rendering control and...
This class stores a (key,value) pair using an external hash.
Eve representation of TGLViewer.
TGStatusBar * GetStatusBar() const
Returns main window status bar.
TRedrawDisabler(const TRedrawDisabler &)
TEveSelection * fHighlight