![]() |
DD4hep
1.33.0
Detector Description Toolkit for High Energy Physics
|
dd4hep Menu for the ROOT browser More...
#include <DD4hepMenu.h>
Public Member Functions | |
| DD4hepMenu (Display *eve) | |
| Standard constructor. More... | |
| virtual | ~DD4hepMenu () |
| Default destructor. More... | |
| virtual void | Build (TGMenuBar *menuBar, int hints=kLHintsNormal) override |
| Add the menu to the menu bar. More... | |
| void | OnLoadXML (TGMenuEntry *entry, void *ptr) |
| Callback when loading the configuration. More... | |
| void | OnLoadRootGeometry (TGMenuEntry *entry, void *ptr) |
| Callback when loading the configuration. More... | |
| void | OnCreateEventIO (TGMenuEntry *entry, void *ptr) |
| Callback to show the event I/O panel. More... | |
| void | OnOpenEventData (TGMenuEntry *entry, void *ptr) |
| Callback when loading a new event data file. More... | |
| void | OnNextEvent (TGMenuEntry *entry, void *ptr) |
| Callback when loading the next event. More... | |
| void | OnPreviousEvent (TGMenuEntry *entry, void *ptr) |
| Callback when loading the previous event. More... | |
| void | OnExit (TGMenuEntry *entry, void *ptr) |
| Callback when exiting the display. More... | |
| void | OnGeometryLoaded () |
| Callback when the geometry was loaded. More... | |
| ClassDefOverride (DD4hepMenu, 0) | |
| ROOT implementation macro. More... | |
Public Member Functions inherited from dd4hep::PopupMenu | |
| PopupMenu (const TGWindow *parent) | |
| Standard constructor. More... | |
| virtual | ~PopupMenu () |
| Default destructor. More... | |
| void | HandleMenu (int id) |
| Handle menu items. More... | |
| TGPopupMenu & | menu () |
| Access to implementation. More... | |
| virtual void | AddSeparator (TGMenuEntry *before=0) |
| Add a menu separator to the menu. More... | |
| virtual void | AddLabel (const char *label, const TGPicture *p=0, TGMenuEntry *before=0) |
| Add a menu label to the menu. More... | |
| virtual void | AddPopup (const char *name, TGPopupMenu *popup, TGMenuEntry *before=0, const TGPicture *p=0) |
| Add a (cascading) popup menu to a popup menu. More... | |
| virtual int | AddEntry (const char *name, Callback cb, void *ud=0, const TGPicture *p=0, TGMenuEntry *before=0) |
| Add a new popup menu entry with a callback. More... | |
| template<typename T > | |
| int | AddEntry (const char *name, T *ptr, void(T::*pmf)(TGMenuEntry *, void *), void *ud=0, const TGPicture *p=0, TGMenuEntry *before=0) |
| Add a new popup menu entry with a callback. More... | |
| void | CheckEntry (int id) |
| Check menu entry. More... | |
| void | UnCheckEntry (int id) |
| Uncheck menu entry. More... | |
| bool | IsEntryChecked (int id) |
| Get check-value. More... | |
| TGPopupMenu * | operator-> () |
| Public access to the popup menu using '->'. More... | |
| operator TGPopupMenu * () | |
| Public access to the popup menu using '->'. More... | |
| ClassDef (PopupMenu, 0) | |
Protected Attributes | |
| Display * | m_display |
| Reference to display manager. More... | |
| EventControl * | m_evtCtrl |
Protected Attributes inherited from dd4hep::PopupMenu | |
| Callbacks | m_calls |
| Callback map. More... | |
| TGPopupMenu | m_popup |
| int | m_cmd |
Additional Inherited Members | |
Public Types inherited from dd4hep::PopupMenu | |
| typedef std::map< int, Callback > | Callbacks |
dd4hep Menu for the ROOT browser
Definition at line 37 of file DD4hepMenu.h.
| dd4hep::DD4hepMenu::DD4hepMenu | ( | Display * | eve | ) |
Standard constructor.
|
virtual |
Default destructor.
Definition at line 50 of file DD4hepMenu.cpp.
|
overridevirtual |
Add the menu to the menu bar.
Reimplemented from dd4hep::PopupMenu.
Definition at line 56 of file DD4hepMenu.cpp.
| dd4hep::DD4hepMenu::ClassDefOverride | ( | DD4hepMenu | , |
| 0 | |||
| ) |
ROOT implementation macro.
| void DD4hepMenu::OnCreateEventIO | ( | TGMenuEntry * | entry, |
| void * | ptr | ||
| ) |
Callback to show the event I/O panel.
Definition at line 101 of file DD4hepMenu.cpp.
| void DD4hepMenu::OnExit | ( | TGMenuEntry * | entry, |
| void * | ptr | ||
| ) |
Callback when exiting the display.
Definition at line 137 of file DD4hepMenu.cpp.
| void DD4hepMenu::OnGeometryLoaded | ( | ) |
Callback when the geometry was loaded.
Definition at line 74 of file DD4hepMenu.cpp.
| void DD4hepMenu::OnLoadRootGeometry | ( | TGMenuEntry * | entry, |
| void * | ptr | ||
| ) |
Callback when loading the configuration.
Definition at line 93 of file DD4hepMenu.cpp.
| void DD4hepMenu::OnLoadXML | ( | TGMenuEntry * | entry, |
| void * | ptr | ||
| ) |
Callback when loading the configuration.
Definition at line 84 of file DD4hepMenu.cpp.
| void DD4hepMenu::OnNextEvent | ( | TGMenuEntry * | entry, |
| void * | ptr | ||
| ) |
Callback when loading the next event.
Definition at line 127 of file DD4hepMenu.cpp.
| void DD4hepMenu::OnOpenEventData | ( | TGMenuEntry * | entry, |
| void * | ptr | ||
| ) |
Callback when loading a new event data file.
Definition at line 114 of file DD4hepMenu.cpp.
| void DD4hepMenu::OnPreviousEvent | ( | TGMenuEntry * | entry, |
| void * | ptr | ||
| ) |
Callback when loading the previous event.
Definition at line 132 of file DD4hepMenu.cpp.
|
protected |
Reference to display manager.
Definition at line 42 of file DD4hepMenu.h.
|
protected |
Definition at line 43 of file DD4hepMenu.h.
1.8.18