DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
DDEve
include
DDEve
EveUserContextMenu.h
Go to the documentation of this file.
1
//==========================================================================
2
// AIDA Detector description implementation
3
//--------------------------------------------------------------------------
4
// Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
5
// All rights reserved.
6
//
7
// For the licensing terms see $DD4hepINSTALL/LICENSE.
8
// For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
9
//
10
// Author : M.Frank
11
//
12
//==========================================================================
13
#ifndef DDEVE_EVEUSERCONTEXTMENU_H
14
#define DDEVE_EVEUSERCONTEXTMENU_H
15
16
// ROOT include files
17
#include "TClass.h"
18
19
// Forward declarations
20
class
TEveManager;
21
23
namespace
dd4hep
{
24
25
// Forward declarations
26
class
Display;
27
29
/*
30
* \author M.Frank
31
* \version 1.0
32
* \ingroup DD4HEP_EVE
33
*/
34
class
EveUserContextMenu
{
35
protected
:
36
Display
*
m_display
;
37
public
:
39
EveUserContextMenu
(
Display
* m);
41
virtual
~EveUserContextMenu
();
43
Display
&
display
()
const
{
return
*
m_display
; }
45
TEveManager&
manager
()
const
;
47
void
VisibleAll
(
bool
yes_no,
TObject
* target,
void
* user_param);
49
void
VisibleSelf
(
bool
yes_no,
TObject
* target,
void
* user_param);
51
void
VisibleChildren
(
bool
yes_no,
TObject
* target,
void
* user_param);
52
54
void
ShowAll
(
TObject
* target,
void
* user_param);
56
void
HideAll
(
TObject
* target,
void
* user_param);
58
void
ShowSelf
(
TObject
* target,
void
* user_param);
60
void
HideSelf
(
TObject
* target,
void
* user_param);
62
void
ShowChildren
(
TObject
* target,
void
* user_param);
64
void
HideChildren
(
TObject
* target,
void
* user_param);
66
void
LoadChildren
(
TObject
* target,
void
* user_param);
68
void
DeepLoadChildren
(
TObject
* target,
void
* user_param);
69
71
void
InstallGeometryContextMenu
(TClass* cl);
72
74
ClassDef
(
EveUserContextMenu
,0);
75
};
76
}
/* End namespace dd4hep */
77
#endif // DDEVE_EVEUSERCONTEXTMENU_H
dd4hep::Display
The main class of the DDEve display.
Definition:
Display.h:56
dd4hep::EveUserContextMenu::ShowAll
void ShowAll(TObject *target, void *user_param)
Show all.
Definition:
EveUserContextMenu.cpp:63
dd4hep::EveUserContextMenu::EveUserContextMenu
EveUserContextMenu(Display *m)
Initializing constructor.
dd4hep::EveUserContextMenu::~EveUserContextMenu
virtual ~EveUserContextMenu()
Default destructor.
Definition:
EveUserContextMenu.cpp:36
dd4hep::EveUserContextMenu::ShowChildren
void ShowChildren(TObject *target, void *user_param)
Show shape children.
Definition:
EveUserContextMenu.cpp:73
dd4hep::EveUserContextMenu::HideAll
void HideAll(TObject *target, void *user_param)
Show all.
Definition:
EveUserContextMenu.cpp:78
dd4hep::EveUserContextMenu::manager
TEveManager & manager() const
EVE manager.
Definition:
EveUserContextMenu.cpp:40
dd4hep::EveUserContextMenu::VisibleSelf
void VisibleSelf(bool yes_no, TObject *target, void *user_param)
Set self (in-) visible.
Definition:
EveUserContextMenu.cpp:51
dd4hep::EveUserContextMenu::ShowSelf
void ShowSelf(TObject *target, void *user_param)
Show shape self.
Definition:
EveUserContextMenu.cpp:68
dd4hep::EveUserContextMenu::VisibleChildren
void VisibleChildren(bool yes_no, TObject *target, void *user_param)
Set the children (in-) visible.
Definition:
EveUserContextMenu.cpp:57
dd4hep::EveUserContextMenu::InstallGeometryContextMenu
void InstallGeometryContextMenu(TClass *cl)
Install the geometry context menu.
Definition:
EveUserContextMenu.cpp:105
dd4hep::EveUserContextMenu::ClassDef
ClassDef(EveUserContextMenu, 0)
Root implementation macro.
dd4hep::EveUserContextMenu::display
Display & display() const
EVE display.
Definition:
EveUserContextMenu.h:43
dd4hep::EveUserContextMenu::DeepLoadChildren
void DeepLoadChildren(TObject *target, void *user_param)
Load all children and add them to all scenes.
Definition:
EveUserContextMenu.cpp:99
TObject
Class of the ROOT toolkit. See http://root.cern.ch/root/htmldoc/ClassIndex.html.
Definition:
ROOTClasses.h:41
dd4hep
Namespace for the AIDA detector description toolkit.
Definition:
AlignmentsCalib.h:28
dd4hep::EveUserContextMenu::HideSelf
void HideSelf(TObject *target, void *user_param)
Show shape self.
Definition:
EveUserContextMenu.cpp:83
dd4hep::EveUserContextMenu::VisibleAll
void VisibleAll(bool yes_no, TObject *target, void *user_param)
Set everything (in-) visible.
Definition:
EveUserContextMenu.cpp:45
dd4hep::EveUserContextMenu
class EveUserContextMenu EveUserContextMenu.h DDEve/EveUserContextMenu.h
Definition:
EveUserContextMenu.h:34
dd4hep::EveUserContextMenu::HideChildren
void HideChildren(TObject *target, void *user_param)
Show shape children.
Definition:
EveUserContextMenu.cpp:88
dd4hep::EveUserContextMenu::m_display
Display * m_display
Definition:
EveUserContextMenu.h:36
dd4hep::EveUserContextMenu::LoadChildren
void LoadChildren(TObject *target, void *user_param)
Load next level children and add them to all scenes.
Definition:
EveUserContextMenu.cpp:93
Generated on Thu Jan 9 2025 17:18:07 for DD4hep by
1.8.18