Definition at line 16 of file g4viscp.py.
◆ __init__()
def python.g4viscp.G4Scene.__init__ |
( |
|
self, |
|
|
|
aname, |
|
|
|
vol = "world" , |
|
|
|
acopyno = 0 , |
|
|
|
amode = 0 , |
|
|
|
bmode = 1 |
|
) |
| |
Definition at line 19 of file g4viscp.py.
23 self.mode_eventaction= amode
24 self.mode_runaction= bmode
25 self.mode= (
"accumulate",
"refresh")
◆ create_scene()
def python.g4viscp.G4Scene.create_scene |
( |
|
self | ) |
|
Definition at line 27 of file g4viscp.py.
27 def create_scene(self):
28 ApplyUICommand(
"/vis/scene/create " + self.name)
29 ApplyUICommand(
"/vis/scene/add/volume %s %d" %
30 (self.volume, self.copyno))
31 ApplyUICommand(
"/vis/scene/add/trajectories")
◆ update_scene()
def python.g4viscp.G4Scene.update_scene |
( |
|
self | ) |
|
Definition at line 34 of file g4viscp.py.
34 def update_scene(self):
35 ApplyUICommand(
"/vis/scene/select " + self.name)
36 ApplyUICommand(
"/vis/sceneHandler/attach")
37 ApplyUICommand(
"/vis/scene/endOfEventAction %s" %
38 (self.mode[self.mode_eventaction]) )
39 ApplyUICommand(
"/vis/scene/endOfRunAction %s" %
40 (self.mode[self.mode_runaction]) )
◆ copyno
python.g4viscp.G4Scene.copyno |
◆ mode
python.g4viscp.G4Scene.mode |
◆ mode_eventaction
python.g4viscp.G4Scene.mode_eventaction |
◆ mode_runaction
python.g4viscp.G4Scene.mode_runaction |
◆ name
python.g4viscp.G4Scene.name |
◆ volume
python.g4viscp.G4Scene.volume |
The documentation for this class was generated from the following file: