12 #ifndef ROOT_TEveManager
13 #define ROOT_TEveManager
void ElementStamped(TEveElement *element)
Mark element as changed – it will be processed on next redraw.
TEveWindowManager * fWindowManager
TEveViewerList * GetViewers() const
A TFolder object is a collection of objects and folders.
Base class for event management and navigation.
TEveSceneList * GetScenes() const
TMacro * GetMacro(const char *name) const
Find macro in fMacroFolder by name.
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.
TGWindow * GetMainWindow() const
Get the main window, i.e. EVE-browser.
TEveViewerList * fViewers
virtual ~TRedrawDisabler()
void AddGlobalElement(TEveElement *element, TEveElement *parent=0)
Add a global element, i.e.
virtual ~TExceptionHandler()
static const char * filename()
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'.
virtual void Remove()
Remove std::exception handler from system handler list.
TFolder * GetMacroFolder() const
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.
TEveSelection * GetSelection() const
void RemoveFromListTree(TEveElement *element, TGListTree *lt, TGListTreeItem *lti)
Remove top-level element from list-tree with specified tree-item.
TEveSelection * fSelection
TEveElementList * fOrphanage
TEveEventManager * GetCurrentEvent() const
TExMap * fStampedElements
TGeoManager * GetDefaultGeometry()
Get the default geometry.
ClassDef(TRedrawDisabler, 0)
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.
TGeoManager * GetGeometryByAlias(const TString &alias)
Get geometry with given alias.
Bool_t GetUseOrphanage() const
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.
TEveScene * GetGlobalScene() const
void ClearROOTClassSaved()
Work-around uber ugly hack used in SavePrimitive and co.
void SetVizDBReplace(Bool_t r)
TExMap * PtrToStampedElements()
TExceptionHandler * fExcHandler
static TEveManager * Create(Bool_t map_window=kTRUE, Option_t *opt="FIV")
If global TEveManager* gEve is not set initialize it.
TRedrawDisabler(TEveManager *m)
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.
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.
TEveGedEditor * GetEditor() const
Returns main object editor.
Bool_t GetVizDBUpdate() const
TEveViewer * GetDefaultViewer() const
Returns the default viewer - the first one in the fViewers list.
TPaveLabel title(3, 27.1, 15, 28.7,"ROOT Environment and Tools")
R__EXTERN TEveManager * gEve
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.
TEveEventManager * fCurrentEvent
List of Scenes providing common operations on TEveScene collections.
TEveElementList * GetOrphanage() const
Handles synchronous and a-synchronous timer events.
Base GL viewer object - used by both standalone and embedded (in pad) GL.
Make sure there is a SINGLE running TEveSelection for each selection type (select/highlight).
TEveGListTreeEditorFrame * GetLTEFrame() const
TExceptionHandler * GetExcHandler() const
std::list< TEveElement * > List_t
void FullRedraw3D(Bool_t resetCameras=kFALSE, Bool_t dropLogicals=kFALSE)
Perform 3D redraw of all scenes and viewers.
Bool_t GetVizDBReplace() const
TMap implements an associative array of (key,value) pairs using a THashTable for efficient retrieval ...
TGListTree * GetListTree() const
Get default list-tree widget.
TEveScene * GetEventScene() const
TEveBrowser * GetBrowser() const
Central application manager for Eve.
TGLViewer * GetDefaultGLViewer() const
Get TGLViewer of the default TEveViewer.
void SetVizDBUpdate(Bool_t u)
TEveGListTreeEditorFrame * fLTEFrame
TEveManager & operator=(const TEveManager &)
void RemoveElement(TEveElement *element, TEveElement *parent)
Remove element from parent.
void EnforceTimerActive(Bool_t ta)
TGStatusBar * GetStatusBar() const
Returns main window status bar.
TEveScene * SpawnNewScene(const char *name, const char *title="")
Create a new scene.
virtual EStatus Handle(std::exception &exc)
Handle exceptions deriving from TEveException.
TEveWindowManager * GetWindowManager() const
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.
Bool_t GetKeepEmptyCont() 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 &)
ClassDef(TExceptionHandler, 0)
void SetKeepEmptyCont(Bool_t k)
void SetUseOrphanage(Bool_t o)
virtual void Add()
Add std::exception handler to system handler list.
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.
TRedrawDisabler(const TRedrawDisabler &)
TEveSelection * GetHighlight() const
TEveSelection * fHighlight