CameraRotateAndZoom.txtΒΆ

# Graphics views zoom and rotate under control of time features

s:Ge/Box/Type         = "TsBox"
s:Ge/Box/Parent       = "World"
s:Ge/Box/Material     = "G4_WATER"
d:Ge/Box/HLX          = 1. m
d:Ge/Box/HLY          = 1. m
d:Ge/Box/HLZ          = .4 m
d:Ge/Box/TransX       = 0. m
d:Ge/Box/TransY       = 0. m
d:Ge/Box/TransZ       = 0. m
d:Ge/Box/RotX         = 0. deg
d:Ge/Box/RotY         = 0. deg
d:Ge/Box/RotZ         = 0. deg
s:Ge/Box/DrawingStyle = "Solid"

s:Gr/ViewA/Type                       = "OpenGL"
i:Gr/ViewA/WindowSizeX                = 400
i:Gr/ViewA/WindowSizeY                = 400
i:Gr/ViewA/WindowPosX                 = 0
i:Gr/ViewA/WindowPosY                 = 0
s:Gr/ViewA/ColorBy                    = "particletype"
sv:Gr/ViewA/ColorByParticleTypeNames  = 2 "proton" "e-"
sv:Gr/ViewA/ColorByParticleTypeColors = 2 "red" "green"
d:Gr/ViewA/Theta                      = Tf/Rotate/Value deg
d:Gr/ViewA/Phi                        = Tf/Rotate/Value deg

s:Gr/ViewB/Type                             = "OpenGL"
i:Gr/ViewB/WindowSizeX                      = 400
i:Gr/ViewB/WindowSizeY                      = 400
i:Gr/ViewB/WindowPosX                       = 0
i:Gr/ViewB/WindowPosY                       = 400
u:Gr/ViewB/Zoom                             = Tf/Zoom/Value
b:Gr/ViewB/HiddenLineRemovalForTrajectories = "t"
s:Gr/ViewB/ColorBy                          = "origincomponent"
sv:Gr/ViewB/ColorByOriginComponentNames     = 2 "World" "Box"
sv:Gr/ViewB/ColorByOriginComponentColors    = 2 "yellow" "red"

s:Tf/Rotate/Function           = "Linear deg"
d:Tf/Rotate/Rate               = 2. deg/ms
d:Tf/Rotate/StartValue         = 0.0 deg
d:Tf/Rotate/RepetitionInterval = 360. ms

s:Tf/Zoom/Function           = "Linear"
d:Tf/Zoom/Rate               = 0.1 1/ms
u:Tf/Zoom/StartValue         = 1
d:Tf/Zoom/RepetitionInterval = 360. ms

d:Tf/TimelineEnd             = 90.0 ms
i:Tf/NumberOfSequentialTimes = 90

sv:Ph/Default/Modules = 1 "g4em-standard_opt0"

s:So/Example/Type                     = "Beam"
s:So/Example/Component                = "BeamPosition"
s:So/Example/BeamParticle             = "proton"
d:So/Example/BeamEnergy               = 169.23 MeV
u:So/Example/BeamEnergySpread         = 0.757504
s:So/Example/BeamPositionDistribution = "Gaussian"
s:So/Example/BeamPositionCutoffShape  = "Ellipse"
d:So/Example/BeamPositionCutoffX      = 10. cm
d:So/Example/BeamPositionCutoffY      = 10. cm
d:So/Example/BeamPositionSpreadX      = 0.65 cm
d:So/Example/BeamPositionSpreadY      = 0.65 cm
s:So/Example/BeamAngularDistribution  = "Gaussian"
d:So/Example/BeamAngularCutoffX       = 90. deg
d:So/Example/BeamAngularCutoffY       = 90. deg
d:So/Example/BeamAngularSpreadX       = 0.0032 rad
d:So/Example/BeamAngularSpreadY       = 0.0032 rad
i:So/Example/NumberOfHistoriesInRun   = 1

b:Ts/PauseBeforeQuit = "False"