File indexing completed on 2025-01-18 09:55:22
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013 #ifndef DDEVE_EVEUSERCONTEXTMENU_H
0014 #define DDEVE_EVEUSERCONTEXTMENU_H
0015
0016
0017 #include "TClass.h"
0018
0019
0020 class TEveManager;
0021
0022
0023 namespace dd4hep {
0024
0025
0026 class Display;
0027
0028
0029
0030
0031
0032
0033
0034 class EveUserContextMenu {
0035 protected:
0036 Display* m_display;
0037 public:
0038
0039 EveUserContextMenu(Display* m);
0040
0041 virtual ~EveUserContextMenu();
0042
0043 Display& display() const { return *m_display; }
0044
0045 TEveManager& manager() const;
0046
0047 void VisibleAll(bool yes_no, TObject* target, void* user_param);
0048
0049 void VisibleSelf(bool yes_no, TObject* target, void* user_param);
0050
0051 void VisibleChildren(bool yes_no, TObject* target, void* user_param);
0052
0053
0054 void ShowAll(TObject* target, void* user_param);
0055
0056 void HideAll(TObject* target, void* user_param);
0057
0058 void ShowSelf(TObject* target, void* user_param);
0059
0060 void HideSelf(TObject* target, void* user_param);
0061
0062 void ShowChildren(TObject* target, void* user_param);
0063
0064 void HideChildren(TObject* target, void* user_param);
0065
0066 void LoadChildren(TObject* target, void* user_param);
0067
0068 void DeepLoadChildren(TObject* target, void* user_param);
0069
0070
0071 void InstallGeometryContextMenu(TClass* cl);
0072
0073
0074 ClassDef(EveUserContextMenu,0);
0075 };
0076 }
0077 #endif