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