Import Geant4 3.0.0 source tree
This commit is contained in:
@@ -0,0 +1,122 @@
|
||||
#######################################################################
|
||||
# MACRO FILE NAME: exN03Vis0.mac #
|
||||
# #
|
||||
# AUTHOR(S): Satoshi Tanaka #
|
||||
# #
|
||||
# DATE: November 10, 1999 #
|
||||
# May 20, 2000 #
|
||||
# June 06, 2000 #
|
||||
# October 17, 2000 #
|
||||
# November 26, 2000 #
|
||||
# #
|
||||
# CONTENTS: A simplest macro to demonstrate visualization of #
|
||||
# detector geometry and events #
|
||||
# #
|
||||
# USAGE: % gmake visclean #
|
||||
# % $G4BINDIR/exampleN03 #
|
||||
# Idle> /control/execute visTutor/exN03Vis0.mac #
|
||||
# #
|
||||
# REQUIRED PLATFORMS & SOFTWARES: Unix, X-window, OpenGL, #
|
||||
# DAWN (version 3.85 or after) #
|
||||
# gv (Ghostview), Tcl/Tk #
|
||||
# #
|
||||
# ENVIRONMENTAL VARIABLES (C-MACROS) FOR INSTALLATION: #
|
||||
# (See geant4/source/visualization/README for details.) #
|
||||
# #
|
||||
# % setenv OGLHOME ... (e.g. /usr/X11R6) #
|
||||
# % setenv G4VIS_BUILD_OPENGLX_DRIVER 1 #
|
||||
# % setenv G4VIS_BUILD_DAWNFILE_DRIVER 1 #
|
||||
# #
|
||||
# ENVIRONMENTAL VARIABLES (C-MACROS) FOR COMPILATION: #
|
||||
# (See geant4/source/visualization/README for details.) #
|
||||
# #
|
||||
# % setenv G4VIS_USE_OPENGLX 1 #
|
||||
# % setenv G4VIS_USE_DAWNFILE 1 #
|
||||
# #
|
||||
# ADDITIONAL NOTES: #
|
||||
# The compound command "/vis/open <graphics-system-name>" #
|
||||
# is equivalent to the following set of commands: #
|
||||
# #
|
||||
# /vis/sceneHandler/create $1 #
|
||||
# /vis/viewer/create #
|
||||
# #
|
||||
# The compound command "/vis/drawVolume <physical-volume-name>" #
|
||||
# is equivalent to the following set of commands: #
|
||||
# #
|
||||
# /vis/scene/create #
|
||||
# /vis/scene/add/volume $1 #
|
||||
# /vis/sceneHandler/attach #
|
||||
# /vis/viewer/refresh #
|
||||
# #
|
||||
# WARNING: You need one more command "/vis/viewer/update" for #
|
||||
# flushing in using post-processin visualization drivers #
|
||||
# such as the DAWNFILE, VRMLFILE, OpenGL Motif drivers. #
|
||||
# You can execute, e.g. "/vis/draw/axes" before executing #
|
||||
# "/vis/viewer/update" to visualize coordinate axes. #
|
||||
# #
|
||||
#######################################################################
|
||||
|
||||
##############################################
|
||||
# Visualization of detector geometry
|
||||
# with the OGLIX (OpenGL Immediate X) driver
|
||||
##############################################
|
||||
|
||||
# Invoke the OGLIX driver
|
||||
/vis/open OGLIX
|
||||
|
||||
# Set camera
|
||||
# Note: Camera setting should be done
|
||||
# for each scene handler.
|
||||
/vis/camera/reset
|
||||
#/vis/camera/viewpoint 70 20
|
||||
|
||||
# Visualize of the whole detector geometry
|
||||
/vis/drawVolume
|
||||
/vis/viewer/update
|
||||
|
||||
#########################################################
|
||||
# Visualization of events with the DAWNFILE driver
|
||||
#
|
||||
# * Each visualized view is saved to a file "g4_XX.eps"
|
||||
# with the "vectorized" PostScript format.
|
||||
#
|
||||
# * In order to make the file "g4_XX.eps" printable,
|
||||
# append the "showpage" PostScript command to the file.
|
||||
# You can do it with the 4th page of the DAWN GUI panel
|
||||
# or by editing the file by hand.
|
||||
#
|
||||
# * Set an environmental variable if you wish to
|
||||
# skip DAWN GUI:
|
||||
# % setenv G4DAWNFILE_VIEWER "dawn -d"
|
||||
##########################################################
|
||||
|
||||
# Invoke the DAWNFILE driver
|
||||
/vis/open DAWNFILE
|
||||
|
||||
# Create a new scene
|
||||
/vis/scene/create
|
||||
|
||||
# Add the world volume to the current scene
|
||||
/vis/scene/add/volume
|
||||
|
||||
# Add trajectories to the current scene
|
||||
# Note: This command is not necessary in exampleN03,
|
||||
# since the C++ method DrawTrajectory() is
|
||||
# described in the event action.
|
||||
#/vis/scene/add/trajectories
|
||||
|
||||
# Attach the current scene handler
|
||||
# to the current scene (omitable)
|
||||
/vis/sceneHandler/attach
|
||||
|
||||
# Set camera
|
||||
# Note: Camera setting should be done
|
||||
# for each scene handler.
|
||||
/vis/camera/reset
|
||||
/vis/camera/zoom 1.2
|
||||
/vis/camera/viewpoint 20 70
|
||||
|
||||
# Visualize events added to the current scene
|
||||
/tracking/storeTrajectory 1
|
||||
/run/beamOn 10
|
||||
|
||||
@@ -0,0 +1,154 @@
|
||||
#######################################################################
|
||||
# MACRO FILE NAME: exN03Vis1.mac #
|
||||
# #
|
||||
# AUTHOR(S): Satoshi Tanaka #
|
||||
# #
|
||||
# DATE: November 10, 1999 #
|
||||
# May 20, 2000 #
|
||||
# June 06, 2000 #
|
||||
# October 17, 2000 #
|
||||
# November 26, 2000 #
|
||||
# #
|
||||
# CONTENTS: A basic macro for visualization of detector geometry #
|
||||
# #
|
||||
# USAGE: % gmake visclean #
|
||||
# % $G4BINDIR/exampleN03 #
|
||||
# Idle> /control/execute visTutor/exN03Vis1.mac #
|
||||
# #
|
||||
# REQUIRED PLATFORMS & SOFTWARES: Unix, X-window, OpenGL, #
|
||||
# DAWN (version 3.85 or after) #
|
||||
# gv (Ghostview), Tcl/Tk #
|
||||
# #
|
||||
# ENVIRONMENTAL VARIABLES (C-MACROS) FOR INSTALLATION: #
|
||||
# (See geant4/source/visualization/README for details.) #
|
||||
# #
|
||||
# % setenv OGLHOME ... (e.g. /usr/X11R6) #
|
||||
# % setenv G4VIS_BUILD_OPENGLX_DRIVER 1 #
|
||||
# % setenv G4VIS_BUILD_DAWNFILE_DRIVER 1 #
|
||||
# #
|
||||
# ENVIRONMENTAL VARIABLES (C-MACROS) FOR COMPILATION: #
|
||||
# (See geant4/source/visualization/README for details.) #
|
||||
# #
|
||||
# % setenv G4VIS_USE_OPENGLX 1 #
|
||||
# % setenv G4VIS_USE_DAWNFILE 1 #
|
||||
# #
|
||||
# ADDITIONAL NOTES: #
|
||||
# The compound command "/vis/open <graphics-system-name>" #
|
||||
# is equivalent to the following set of commands: #
|
||||
# #
|
||||
# /vis/sceneHandler/create $1 #
|
||||
# /vis/viewer/create #
|
||||
# #
|
||||
# The compound command "/vis/drawVolume <physical-volume-name>" #
|
||||
# is equivalent to the following set of commands: #
|
||||
# #
|
||||
# /vis/scene/create #
|
||||
# /vis/scene/add/volume $1 #
|
||||
# /vis/sceneHandler/attach #
|
||||
# /vis/viewer/refresh #
|
||||
# #
|
||||
# WARNING: You need one more command "/vis/viewer/update" for #
|
||||
# flushing in using post-processin visualization drivers #
|
||||
# such as the DAWNFILE, VRMLFILE, OpenGL Motif drivers. #
|
||||
# You can execute, e.g. "/vis/draw/axes" before executing #
|
||||
# "/vis/viewer/update" to visualize coordinate axes. #
|
||||
# #
|
||||
#######################################################################
|
||||
|
||||
###########################################
|
||||
# Visualization of detector geometry
|
||||
# with the OGLSX (OpenGL Stored X) driver
|
||||
###########################################
|
||||
|
||||
# Invoke the OGLSX driver
|
||||
/vis/open OGLSX
|
||||
|
||||
# Visualize the detector geometry
|
||||
# with the defalut camera parameters
|
||||
/vis/camera/reset
|
||||
/vis/drawVolume
|
||||
/vis/viewer/update
|
||||
|
||||
# Slide show (spinning) of the view visualized above.
|
||||
# Draw 60 frames with steps of 3 degrees.
|
||||
/vis/camera/reset
|
||||
/vis/camera/viewpoint 20 20
|
||||
/vis/camera/zoom 0.8
|
||||
/vis/camera/spin 60 3
|
||||
|
||||
# Bird's-eye view of the detector geometry
|
||||
#
|
||||
# viewpoint : (theta,phi) = (20*deg, 70*deg),
|
||||
# zoom factor: 0.8 of the full screen size
|
||||
# coordinate axes:
|
||||
# x-axis:red, y-axis:green, z-axis:blue
|
||||
# origin: (0,0,0), length: 500
|
||||
#
|
||||
/vis/camera/reset
|
||||
/vis/camera/viewpoint 20 70
|
||||
/vis/camera/zoom 0.8
|
||||
/vis/drawVolume
|
||||
/vis/draw/axes 0 0 0 500
|
||||
/vis/viewer/update
|
||||
|
||||
##########################################################
|
||||
# Visualization with DAWNFILE driver
|
||||
#
|
||||
# * Each visualized view is saved to a file "g4_XX.eps"
|
||||
# with the "vectorized" PostScript format.
|
||||
#
|
||||
# * In order to make the file "g4_XX.eps" printable,
|
||||
# append the "showpage" PostScript command to the file.
|
||||
# You can do it with the 4th page of the DAWN GUI panel
|
||||
# or by editing the file by hand.
|
||||
#
|
||||
# * Set an environmental variable if you wish to
|
||||
# skip DAWN GUI:
|
||||
# % setenv G4DAWNFILE_VIEWER "dawn -d"
|
||||
##########################################################
|
||||
|
||||
# Invoke the DAWNFILE driver
|
||||
/vis/open DAWNFILE
|
||||
|
||||
# Bird's-eye view of a detector component (Absorber)
|
||||
# viewpoint : (theta,phi) = (35*deg, 35*deg),
|
||||
# zoom factor: 0.9 of the full screen size
|
||||
# coordinate axes:
|
||||
# x-axis:red, y-axis:green, z-axis:blue
|
||||
# origin: (0,0,0), length: 500
|
||||
#
|
||||
/vis/camera/reset
|
||||
/vis/camera/zoom 0.9
|
||||
/vis/camera/viewpoint 35 35
|
||||
/vis/drawVolume Absorber
|
||||
/vis/draw/axes 0 0 0 500
|
||||
/vis/draw/text 0 0 0 mm 50 -100 -200 Absorber
|
||||
/vis/viewer/update
|
||||
|
||||
# Bird's-eye view of a detector component (Gap)
|
||||
/vis/camera/reset
|
||||
/vis/camera/zoom 0.9
|
||||
/vis/camera/viewpoint 35 35
|
||||
/vis/drawVolume Gap
|
||||
/vis/draw/axes 0 0 0 500
|
||||
/vis/draw/text 0 0 0 mm 50 -100 -200 Gap
|
||||
/vis/viewer/update
|
||||
|
||||
# Bird's-eye view of the whole detector components
|
||||
# * The argument "world" of the command
|
||||
# "/vis/scene/add/volume" is omittable.
|
||||
# * "/vis/set/culling off" makes the invisible
|
||||
# world volume visible.
|
||||
# (The invisibility of the world volume is set
|
||||
# in ExN03DetectorConstruction.cc.)
|
||||
/vis/camera/reset
|
||||
/vis/camera/zoom 0.9
|
||||
/vis/camera/viewpoint 35 35
|
||||
/vis/set/culling off
|
||||
/vis/drawVolume
|
||||
/vis/draw/axes 0 0 0 500
|
||||
/vis/draw/text 0 0 0 mm 50 -50 -200 world
|
||||
/vis/viewer/update
|
||||
|
||||
# Make the culling on for next visualization
|
||||
/vis/set/culling on
|
||||
@@ -0,0 +1,147 @@
|
||||
#######################################################################
|
||||
# MACRO FILE NAME: exN03Vis2.mac #
|
||||
# #
|
||||
# AUTHOR(S): Satoshi Tanaka #
|
||||
# #
|
||||
# DATE: November 10, 1999 #
|
||||
# May 20, 2000 #
|
||||
# June 06, 2000 #
|
||||
# October 17, 2000 #
|
||||
# November 26, 2000 #
|
||||
# #
|
||||
# CONTENTS: A basic macro for visualization of events #
|
||||
# #
|
||||
# USAGE: % gmake visclean #
|
||||
# % $G4BINDIR/exampleN03 #
|
||||
# Idle> /control/execute visTutor/exN03Vis2.mac #
|
||||
# #
|
||||
# REQUIRED PLATFORMS & SOFTWARES: Unix, X-window, OpenGL, #
|
||||
# DAWN (version 3.85 or after) #
|
||||
# gv (Ghostview), Tcl/Tk #
|
||||
# #
|
||||
# ENVIRONMENTAL VARIABLES (C-MACROS) FOR INSTALLATION: #
|
||||
# (See geant4/source/visualization/README for details.) #
|
||||
# #
|
||||
# % setenv OGLHOME ... (e.g. /usr/X11R6) #
|
||||
# % setenv G4VIS_BUILD_OPENGLX_DRIVER 1 #
|
||||
# % setenv G4VIS_BUILD_DAWNFILE_DRIVER 1 #
|
||||
# #
|
||||
# ENVIRONMENTAL VARIABLES (C-MACROS) FOR COMPILATION: #
|
||||
# (See geant4/source/visualization/README for details.) #
|
||||
# #
|
||||
# % setenv G4VIS_USE_OPENGLX 1 #
|
||||
# % setenv G4VIS_USE_DAWNFILE 1 #
|
||||
# #
|
||||
# ADDITIONAL NOTES: #
|
||||
# The compound command "/vis/open <graphics-system-name>" #
|
||||
# is equivalent to the following set of commands: #
|
||||
# #
|
||||
# /vis/sceneHandler/create $1 #
|
||||
# /vis/viewer/create #
|
||||
# #
|
||||
#######################################################################
|
||||
|
||||
#################################################
|
||||
# Store particle trajactories for visualization
|
||||
#################################################
|
||||
/tracking/storeTrajectory 1
|
||||
|
||||
#####################################################
|
||||
# Visualization with OGLSX (OpenGL Stored X) driver
|
||||
#####################################################
|
||||
|
||||
# Invoke the OGLSX driver
|
||||
/vis/open OGLSX
|
||||
|
||||
# Create a new scene
|
||||
/vis/scene/create
|
||||
|
||||
# Add detector geometry to the current scene
|
||||
/vis/scene/add/volume
|
||||
|
||||
# Attach the current visualization driver
|
||||
# to the current scene (omitable)
|
||||
/vis/sceneHandler/attach
|
||||
|
||||
# Add trajectories to the current scene
|
||||
# Note: This command is not necessary in exampleN03,
|
||||
# since the C++ method DrawTrajectory() is
|
||||
# described in the event action.
|
||||
#/vis/scene/add/trajectories
|
||||
|
||||
# Set drawing style to "surface"
|
||||
/vis/viewer/set/style surface
|
||||
|
||||
# Set camera
|
||||
# viewpoint : (theta,phi) = (10*deg, 10*deg).
|
||||
# zoom factor: 0.9 x (full screen size)
|
||||
/vis/camera/reset
|
||||
/vis/camera/viewpoint 10 10
|
||||
/vis/camera/zoom 0.9
|
||||
|
||||
# Generate one event and visualize it.
|
||||
/run/beamOn 1
|
||||
|
||||
# Slide show (spinning).
|
||||
# Draw 18 frames with steps of 20 degrees.
|
||||
# The OGLSX driver stores the previously visualized view
|
||||
# in the display list. So the particle trajectories are
|
||||
# also rotated together with the detector geometry.
|
||||
#
|
||||
/vis/camera/spin 18 20
|
||||
|
||||
|
||||
##########################################################
|
||||
# Visualization with DAWNFILE driver
|
||||
#
|
||||
# * Each visualized view is saved to a file "g4_XX.eps"
|
||||
# with the "vectorized" PostScript format.
|
||||
#
|
||||
# * In order to make the file "g4_XX.eps" printable,
|
||||
# append the "showpage" PostScript command to the file
|
||||
# You can do it with the 4th page of the DAWN GUI panel
|
||||
# or by editing the file by hand.
|
||||
#
|
||||
# * Set an environmental variable if you wish to
|
||||
# skip DAWN GUI:
|
||||
# % setenv G4DAWNFILE_VIEWER "dawn -d"
|
||||
##########################################################
|
||||
|
||||
# Invoke the DAWNFILE driver
|
||||
/vis/open DAWNFILE
|
||||
|
||||
# Create a new scene
|
||||
/vis/scene/create
|
||||
|
||||
# Add detector geometry to the current scene
|
||||
/vis/scene/add/volume
|
||||
|
||||
# Attach the current visualization driver
|
||||
# to the current scene (omitable)
|
||||
/vis/sceneHandler/attach
|
||||
|
||||
# Add trajectories to the current scene
|
||||
# Note: This command is not necessary in exampleN03,
|
||||
# since the C++ method DrawTrajectory() is
|
||||
# described in the event action.
|
||||
#/vis/scene/add/trajectories
|
||||
|
||||
# Set the drawing style to "wireframe".
|
||||
/vis/viewer/set/style wireframe
|
||||
|
||||
# Visualize many events (bird's eye view)
|
||||
# viewpoint : (theta,phi) = (45*deg, 45*deg)
|
||||
# zoom factor: 1.5 x (full screen size)
|
||||
/vis/camera/reset
|
||||
/vis/camera/viewpoint 45 45
|
||||
/vis/camera/zoom 1.5
|
||||
/run/beamOn 50
|
||||
|
||||
# Visualize many events (zoomed-up view)
|
||||
# viewpoint : (theta,phi) = (90*deg, 0)
|
||||
# zoom factor: 5 x (full screen size)
|
||||
/vis/camera/reset
|
||||
/vis/camera/viewpoint 90 0
|
||||
/vis/camera/zoom 5
|
||||
/run/beamOn 50
|
||||
|
||||
@@ -0,0 +1,145 @@
|
||||
#######################################################################
|
||||
# MACRO FILE NAME: exN03Vis3.mac #
|
||||
# #
|
||||
# AUTHOR(S): Satoshi Tanaka #
|
||||
# #
|
||||
# DATE: November 10, 1999 #
|
||||
# May 20, 2000 #
|
||||
# June 06, 2000 #
|
||||
# October 17, 2000 #
|
||||
# November 26, 2000 #
|
||||
# #
|
||||
# CONTENTS: A basic macro for demonstrating various drawing styles #
|
||||
# #
|
||||
# USAGE: % gmake visclean #
|
||||
# % $G4BINDIR/exampleN03 #
|
||||
# Idle> /control/execute visTutor/exN03Vis3.mac #
|
||||
# #
|
||||
# REQUIRED PLATFORMS & SOFTWARES: Unix, X-window, OpenGL, #
|
||||
# DAWN (version 3.85 or after) #
|
||||
# gv (Ghostview), Tcl/Tk #
|
||||
# #
|
||||
# ENVIRONMENTAL VARIABLES (C-MACROS) FOR INSTALLATION: #
|
||||
# (See geant4/source/visualization/README for details.) #
|
||||
# #
|
||||
# % setenv OGLHOME ... (e.g. /usr/local) #
|
||||
# % setenv G4VIS_BUILD_OPENGLX_DRIVER 1 #
|
||||
# % setenv G4VIS_BUILD_DAWNFILE_DRIVER 1 #
|
||||
# #
|
||||
# ENVIRONMENTAL VARIABLES (C-MACROS) FOR COMPILATION: #
|
||||
# (See geant4/source/visualization/README for details.) #
|
||||
# #
|
||||
# % setenv G4VIS_USE_OPENGLX 1 #
|
||||
# % setenv G4VIS_USE_DAWNFILE 1 #
|
||||
# #
|
||||
# ADDITIONAL NOTES: #
|
||||
# The compound command "/vis/open <graphics-system-name>" #
|
||||
# is equivalent to the following set of commands: #
|
||||
# #
|
||||
# /vis/sceneHandler/create $1 #
|
||||
# /vis/viewer/create #
|
||||
# #
|
||||
#######################################################################
|
||||
|
||||
##############################################
|
||||
# Store particle trajactories for visualization
|
||||
##############################################
|
||||
/tracking/storeTrajectory 1
|
||||
|
||||
######################################################
|
||||
# Visualization with OGLIX (OpenGL Immediate X) driver
|
||||
######################################################
|
||||
|
||||
# Invoke the OGLIX driver
|
||||
/vis/open OGLIX
|
||||
|
||||
# Create a new scene
|
||||
/vis/scene/create
|
||||
|
||||
# Add detector geometry to the current scene
|
||||
/vis/scene/add/volume
|
||||
|
||||
# Attach the current visualization driver
|
||||
# to the current scene (omitable)
|
||||
/vis/sceneHandler/attach
|
||||
|
||||
# Add trajectories to the current scene
|
||||
# Note: This command is not necessary in exampleN03,
|
||||
# since the C++ method DrawTrajectory() is
|
||||
# described in the event action.
|
||||
#/vis/scene/add/trajectories
|
||||
|
||||
# Bird-eye view of events with
|
||||
# the hidden-surface drawing style
|
||||
/vis/camera/reset
|
||||
/vis/camera/viewpoint 45 45
|
||||
/vis/viewer/set/style surface
|
||||
/run/beamOn 10
|
||||
|
||||
##########################################################
|
||||
# Visualization with DAWNFILE driver
|
||||
#
|
||||
# * Each visualized view is saved to a file "g4_XX.eps"
|
||||
# with the "vectorized" PostScript format.
|
||||
#
|
||||
# * In order to make the file "g4_XX.eps" printable,
|
||||
# append the "showpage" PostScript command to the file.
|
||||
# You can do it with the 4th page of the DAWN GUI panel
|
||||
# or by editing the file by hand.
|
||||
#
|
||||
# * Set an environmental variable if you wish to
|
||||
# skip DAWN GUI:
|
||||
# % setenv G4DAWNFILE_VIEWER "dawn -d"
|
||||
#
|
||||
##########################################################
|
||||
|
||||
# Invoke the DAWNFILE driver
|
||||
/vis/open DAWNFILE
|
||||
|
||||
# Create a new scene
|
||||
/vis/scene/create
|
||||
|
||||
# Add detector geometry to the current scene
|
||||
/vis/scene/add/volume
|
||||
|
||||
# Attach the current visualization driver
|
||||
# to the current scene (omitable)
|
||||
/vis/sceneHandler/attach
|
||||
|
||||
# Add trajectories to the current scene
|
||||
# Note: This command is not necessary in exampleN03,
|
||||
# since the C++ method DrawTrajectory() is
|
||||
# described in the event action.
|
||||
#/vis/scene/add/trajectories
|
||||
|
||||
# Set camera
|
||||
# Camera is zoomed up by 1.5 times of the standard setting.
|
||||
/vis/camera/reset
|
||||
/vis/camera/zoom 1.5
|
||||
/vis/camera/viewpoint 45 45
|
||||
|
||||
# Bird-eye view of events with the
|
||||
# wireframe drawing style
|
||||
/vis/viewer/set/style wireframe
|
||||
/run/beamOn 5
|
||||
|
||||
# Bird-eye view of events with the
|
||||
# hidden-surface drawing style
|
||||
/vis/viewer/set/style surface
|
||||
/run/beamOn 50
|
||||
|
||||
# Cull detector geometry and show only trajectories.
|
||||
/vis/camera/reset
|
||||
/vis/set/culling on
|
||||
/vis/set/cull_by_density on 999
|
||||
/vis/viewer/set/style wireframe
|
||||
/run/beamOn 10
|
||||
|
||||
# Reset the culling policy for next visualization
|
||||
# The default culling policy is:
|
||||
# global : on
|
||||
# invisible : on
|
||||
# low density : off
|
||||
# covered daughter: off
|
||||
/vis/set/cull_by_density off
|
||||
|
||||
@@ -0,0 +1,92 @@
|
||||
#######################################################################
|
||||
# MACRO FILE NAME: exN03Vis4.mac #
|
||||
# #
|
||||
# AUTHOR(S): Satoshi Tanaka #
|
||||
# #
|
||||
# DATE: June 06, 2000 #
|
||||
# October 17, 2000 #
|
||||
# November 26, 2000 #
|
||||
# #
|
||||
# CONTENTS: An example for the compound command, #
|
||||
# "/vis/specify <logical_volume_name>" #
|
||||
# #
|
||||
# USAGE: % gmake visclean #
|
||||
# % $G4BINDIR/exampleN03 #
|
||||
# Idle> /control/execute visTutor/exN03Vis4.mac #
|
||||
# #
|
||||
# REQUIRED PLATFORMS & SOFTWARES: Unix, X-window, #
|
||||
# DAWN (version 3.85 or after) #
|
||||
# gv (Ghostview), Tcl/Tk #
|
||||
# #
|
||||
# ENVIRONMENTAL VARIABLES (C-MACROS) FOR INSTALLATION: #
|
||||
# (See geant4/source/visualization/README for details.) #
|
||||
# #
|
||||
# % setenv G4VIS_BUILD_DAWNFILE_DRIVER 1 #
|
||||
# #
|
||||
# ENVIRONMENTAL VARIABLES (C-MACROS) FOR COMPILATION: #
|
||||
# (See geant4/source/visualization/README for details.) #
|
||||
# #
|
||||
# % setenv G4VIS_USE_DAWNFILE 1 #
|
||||
# #
|
||||
# ADDITIONAL NOTES: #
|
||||
# The compound command "/vis/open <graphics-system-name>" #
|
||||
# is equivalent to the following set of commands: #
|
||||
# #
|
||||
# /vis/sceneHandler/create $1 #
|
||||
# /vis/viewer/create #
|
||||
# #
|
||||
# The compound command "/vis/specify <logical-volume-name>" #
|
||||
# is equivalent to the following set of commands: #
|
||||
# #
|
||||
# /vis/scene/create #
|
||||
# /vis/scene/add/logicalVolume $1 #
|
||||
# /vis/sceneHandler/attach #
|
||||
# /vis/viewer/refresh #
|
||||
# /geometry/print $1 #
|
||||
# #
|
||||
# WARNING: You need one more command "/vis/viewer/update" for #
|
||||
# flushing in using post-processin visualization drivers #
|
||||
# such as the DAWNFILE, VRMLFILE, OpenGL Motif drivers. #
|
||||
# You can execute, e.g. "/vis/draw/axes" before executing #
|
||||
# "/vis/viewer/update" to visualize coordinate axes. #
|
||||
# #
|
||||
#######################################################################
|
||||
|
||||
##########################################################
|
||||
# Visualization with DAWNFILE driver
|
||||
#
|
||||
# * Each visualized view is saved to a file "g4_XX.eps"
|
||||
# with the "vectorized" PostScript format.
|
||||
#
|
||||
# * In order to make the file "g4_XX.eps" printable,
|
||||
# append the "showpage" PostScript command to the file.
|
||||
# You can do it with the 4th page of the DAWN GUI panel
|
||||
# or by editing the file by hand.
|
||||
#
|
||||
# * Set an environmental variable if you wish to
|
||||
# skip DAWN GUI:
|
||||
# % setenv G4DAWNFILE_VIEWER "dawn -d"
|
||||
##########################################################
|
||||
|
||||
|
||||
# Invoke the DAWNFILE driver
|
||||
/vis/open DAWNFILE
|
||||
|
||||
# Set camera
|
||||
# Note: Camera setting should be done
|
||||
# for each scene handler.
|
||||
/vis/camera/reset
|
||||
/vis/camera/zoom 0.9
|
||||
/vis/camera/viewpoint 35 35
|
||||
|
||||
# Visualize a selected logical volume (1)
|
||||
/vis/specify Absorber
|
||||
/vis/draw/axes 0 0 0 500
|
||||
/vis/draw/text 0 0 0 mm 40 -100 -200 LogVol:Absorber
|
||||
/vis/viewer/update
|
||||
|
||||
# Visualize a selected logical volume (2)
|
||||
/vis/specify Gap
|
||||
/vis/draw/axes 0 0 0 500
|
||||
/vis/draw/text 0 0 0 mm 40 -100 -200 LogVol:Gap
|
||||
/vis/viewer/update
|
||||
@@ -0,0 +1,69 @@
|
||||
#######################################################################
|
||||
# MACRO FILE NAME: exN03Vis5.mac #
|
||||
# #
|
||||
# AUTHOR(S): Guy Barrand #
|
||||
# #
|
||||
# DATE: June 09, 2000 #
|
||||
# #
|
||||
# CONTENTS: A basic macro for demonstrating OPACS/Xo driver #
|
||||
# #
|
||||
# USAGE: % gmake visclean #
|
||||
# % $G4BINDIR/exampleN03 visTutor/exN03Vis5.mac #
|
||||
# #
|
||||
# REQUIRED PLATFORMS & SOFTWARES: Unix, Motif, X-window, OpenGL, #
|
||||
# OPACS (version 3.0) #
|
||||
# #
|
||||
# ENVIRONMENTAL VARIABLES (C-MACROS) FOR INSTALLATION: #
|
||||
# (See geant4/source/visualization/README for details.) #
|
||||
# #
|
||||
# % setenv G4VIS_BUILD_OPACS_DRIVER 1 #
|
||||
# #
|
||||
# ENVIRONMENTAL VARIABLES (C-MACROS) FOR COMPILATION: #
|
||||
# (See geant4/source/visualization/README for details.) #
|
||||
# #
|
||||
# % setenv G4VIS_USE_OPACS 1 #
|
||||
# #
|
||||
# ADDITIONAL NOTES: #
|
||||
# Controls on a Xo window are : #
|
||||
# - Ctrl + left-button1 + move pointer : #
|
||||
# move things (default is scale). #
|
||||
# - right-button : popup menu to change, for example, the #
|
||||
# upper behaviour. #
|
||||
# - left-button : pick an object. After your can center on it #
|
||||
# through the popup-menu. #
|
||||
# - left-button + move pointer : collect objects. #
|
||||
# - Ctrl + Shift + left-button + move pointer : #
|
||||
# rubber band zoom. #
|
||||
# #
|
||||
#######################################################################
|
||||
|
||||
# Create "scene-0"
|
||||
/vis/scene/create
|
||||
|
||||
# Invoke the Xo driver
|
||||
/vis/sceneHandler/create Xo
|
||||
/vis/viewer/create
|
||||
|
||||
# Add detector geometry to the current scene
|
||||
/vis/scene/add/volume
|
||||
/tracking/storeTrajectory 1
|
||||
#/vis/scene/add/trajectories
|
||||
|
||||
# Bird-eye view of events
|
||||
/vis/camera/reset
|
||||
/vis/camera/viewpoint 45 45
|
||||
|
||||
/run/beamOn 1
|
||||
|
||||
#######################################################################
|
||||
# Controls on a Xo window are : #
|
||||
# - Ctrl + left-button1 + move pointer : #
|
||||
# move things (default is scale). #
|
||||
# - right-button : popup menu to change, for example, the #
|
||||
# upper behaviour. #
|
||||
# - left-button : pick an object. After your can center on it #
|
||||
# through the popup-menu. #
|
||||
# - left-button + move pointer : collect objects. #
|
||||
# - Ctrl + Shift + left-button + move pointer : #
|
||||
# rubber band zoom. #
|
||||
#######################################################################
|
||||
@@ -0,0 +1,65 @@
|
||||
#######################################################################
|
||||
# MACRO FILE NAME: exN03Vis6.mac #
|
||||
# #
|
||||
# AUTHOR(S): Guy Barrand #
|
||||
# #
|
||||
# DATE: June 09, 2000 #
|
||||
# #
|
||||
# CONTENTS: A basic macro for demonstrating Inventor driver #
|
||||
# #
|
||||
# USAGE: % $G4BINDIR/exampleN03 visTutor/exN03Vis6.mac #
|
||||
# #
|
||||
# REQUIRED PLATFORMS & SOFTWARES: Unix, Motif, X-window, OpenGL, #
|
||||
# HEPVis #
|
||||
# Inventor (TGS or SoFree) #
|
||||
# #
|
||||
# ENVIRONMENTAL VARIABLES (C-MACROS) FOR INSTALLATION: #
|
||||
# (See geant4/source/visualization/README for details.) #
|
||||
# #
|
||||
# % setenv G4VIS_BUILD_OIX_DRIVER 1 #
|
||||
# #
|
||||
# ENVIRONMENTAL VARIABLES (C-MACROS) FOR COMPILATION: #
|
||||
# (See geant4/source/visualization/README for details.) #
|
||||
# #
|
||||
# % setenv G4VIS_USE_OIX 1 #
|
||||
# #
|
||||
# ADDITIONAL NOTES: #
|
||||
# #
|
||||
#######################################################################
|
||||
|
||||
# Create "scene-0"
|
||||
/vis/scene/create
|
||||
|
||||
# Invoke the Xo driver
|
||||
/vis/sceneHandler/create OIX
|
||||
/vis/viewer/create
|
||||
|
||||
# Add detector geometry to the current scene
|
||||
/vis/scene/add/volume
|
||||
#/vis/scene/add/trajectories
|
||||
/tracking/storeTrajectory 1
|
||||
|
||||
# Bird-eye view of events
|
||||
/vis/camera/reset
|
||||
/vis/camera/viewpoint 45 45
|
||||
|
||||
# Attach the just created Go scene graph to the viewer.
|
||||
/vis/viewer/update
|
||||
# Attach the just created Go scene graph to the viewer.
|
||||
/vis/viewer/update
|
||||
/vis/scene/notifyHandlers
|
||||
|
||||
/run/beamOn 1
|
||||
|
||||
#######################################################################
|
||||
# Controls on an Inventor examiner viewer are : #
|
||||
# - in picking mode (cursor is the upper left arrow) #
|
||||
# Ctrl + pick an volume : see daughters. #
|
||||
# Shift + pick an volume : see mother. #
|
||||
# - in viewing mode (cursor is the hand) #
|
||||
# Left-button + pointer move : rotate. #
|
||||
# Ctrl+Left-button + pointer move : pane. #
|
||||
# Ctrl+Shift+Left-button + pointer move : scale. #
|
||||
# Middle-button + pointer move : pane. #
|
||||
# #
|
||||
#######################################################################
|
||||
@@ -0,0 +1,73 @@
|
||||
#######################################################################
|
||||
# MACRO FILE NAME: exN03Vis7.mac #
|
||||
# #
|
||||
# AUTHOR(S): Satoshi Tanaka #
|
||||
# #
|
||||
# DATE: October 17, 2000 #
|
||||
# November 26, 2000 #
|
||||
# #
|
||||
# CONTENTS: A macro to demonstrate the VRMLFILE driver #
|
||||
# #
|
||||
# USAGE: % gmake visclean #
|
||||
# % $G4BINDIR/exampleN03 #
|
||||
# Idle> /control/execute visTutor/exN03Vis7.mac #
|
||||
# #
|
||||
# REQUIRED PLATFORMS & SOFTWARES: Unix, X-window, #
|
||||
# VRML viewer (e.g. VRMLview) #
|
||||
# #
|
||||
# ENVIRONMENTAL VARIABLES (C-MACROS) FOR INSTALLATION: #
|
||||
# (See geant4/source/visualization/README for details.) #
|
||||
# #
|
||||
# % setenv G4VIS_BUILD_VRMLFILE_DRIVER 1 #
|
||||
# #
|
||||
# ENVIRONMENTAL VARIABLES (C-MACROS) FOR COMPILATION: #
|
||||
# (See geant4/source/visualization/README for details.) #
|
||||
# #
|
||||
# % setenv G4VIS_USE_VRMLFILE 1 #
|
||||
# #
|
||||
# RECOMMENDED ENVIRONMENTAL VARIABLES FOR VISUALIZATION: #
|
||||
# #
|
||||
# % setenv G4VRMLFILE_VIEWER vrmlview #
|
||||
# ( The default value is "NONE".) #
|
||||
# #
|
||||
# % setenv G4VRMLFILE_MAX_FILE_NUM 100 #
|
||||
# ( The default value is "1".) #
|
||||
# #
|
||||
# ADDITIONAL NOTES: #
|
||||
# #
|
||||
#######################################################################
|
||||
|
||||
###################################################
|
||||
# Visualization of detector geometry and events
|
||||
# with the VRML2FILE driver.
|
||||
#
|
||||
# Note: "/vis/viewer/set/style wireframe" means
|
||||
# "half-transparent" in the VRML2FILE driver.
|
||||
# It is a convention of this driver.
|
||||
###################################################
|
||||
|
||||
# Store particle trajactories for visualization
|
||||
/tracking/storeTrajectory 1
|
||||
|
||||
# Invoke the VRML2FILE driver
|
||||
/vis/open VRML2FILE
|
||||
|
||||
# Create a new scene
|
||||
/vis/scene/create
|
||||
|
||||
# Attach the current scene handler
|
||||
# to the current scene
|
||||
/vis/sceneHandler/attach
|
||||
|
||||
# Add the world volume to the current scene
|
||||
/vis/scene/add/volume
|
||||
|
||||
# Visualize one event added to the current scene
|
||||
# Note: The command /vis/scene/add/trajectories
|
||||
# is not necessary in exampleN03,
|
||||
# since the C++ method DrawTrajectory() is
|
||||
# described in the event action.
|
||||
#/vis/scene/add/trajectories
|
||||
/vis/viewer/set/style wireframe
|
||||
/run/beamOn 3
|
||||
|
||||
@@ -0,0 +1,81 @@
|
||||
#######################################################################
|
||||
# MACRO FILE NAME: exN03Vis8.mac #
|
||||
# #
|
||||
# AUTHOR(S): Satoshi Tanaka #
|
||||
# #
|
||||
# DATE: #
|
||||
# October 17, 2000 #
|
||||
# November 26, 2000 #
|
||||
# #
|
||||
# CONTENTS: A macro to demonstrate creation of a "multi-page" #
|
||||
# PostScript file #
|
||||
# #
|
||||
# USAGE: % setenv G4DAWNFILE_MAX_FILE_NUM 1 #
|
||||
# % setenv DAWN_BATCH a #
|
||||
# % gmake visclean #
|
||||
# % $G4BINDIR/exampleN03 #
|
||||
# Idle> /control/execute visTutor/exN03Vis8.mac #
|
||||
# Idle> exit #
|
||||
# % gv g4_00.eps #
|
||||
# #
|
||||
# Then click, "<<", ">>" etc to traverse pages #
|
||||
# #
|
||||
# REQUIRED PLATFORMS & SOFTWARES: Unix, X-window, #
|
||||
# DAWN (version 3.85 or after) #
|
||||
# gv (Ghostview), Tcl/Tk #
|
||||
# #
|
||||
# ENVIRONMENTAL VARIABLES (C-MACROS) FOR INSTALLATION: #
|
||||
# (See geant4/source/visualization/README for details.) #
|
||||
# #
|
||||
# % setenv G4VIS_BUILD_DAWNFILE_DRIVER 1 #
|
||||
# #
|
||||
# ENVIRONMENTAL VARIABLES (C-MACROS) FOR COMPILATION: #
|
||||
# (See geant4/source/visualization/README for details.) #
|
||||
# #
|
||||
# % setenv G4VIS_USE_DAWNFILE 1 #
|
||||
# #
|
||||
# ADDITIONAL NOTES: #
|
||||
# * If you execute this macro plural times, all the views are #
|
||||
# sequentially appended to the file "g4_00.eps". #
|
||||
# For example if you execute it two times, a 6-page (3+3 page) #
|
||||
# PostScript file is made. #
|
||||
# #
|
||||
#######################################################################
|
||||
|
||||
####################################################################
|
||||
# Creation of a multi-page PostScript file with the DAWNFILE driver
|
||||
####################################################################
|
||||
|
||||
# Invoke the DAWNFILE driver
|
||||
/vis/open DAWNFILE
|
||||
|
||||
# Generate page 1
|
||||
/vis/camera/reset
|
||||
/vis/camera/zoom 0.9
|
||||
/vis/camera/viewpoint 35 35
|
||||
/vis/drawVolume Absorber
|
||||
/vis/draw/axes 0 0 0 500
|
||||
/vis/draw/text 0 0 0 mm 50 -150 -200 Page1/3:Absorber
|
||||
/vis/viewer/update
|
||||
|
||||
# Generate page 2
|
||||
/vis/camera/reset
|
||||
/vis/camera/zoom 0.9
|
||||
/vis/camera/viewpoint 35 35
|
||||
/vis/drawVolume Gap
|
||||
/vis/draw/axes 0 0 0 500
|
||||
/vis/draw/text 0 0 0 mm 50 -100 -200 Page2/3:Gap
|
||||
/vis/viewer/update
|
||||
|
||||
# Generate page 3
|
||||
/vis/camera/reset
|
||||
/vis/camera/zoom 0.9
|
||||
/vis/camera/viewpoint 35 35
|
||||
/vis/set/culling off
|
||||
/vis/drawVolume
|
||||
/vis/draw/axes 0 0 0 500
|
||||
/vis/draw/text 0 0 0 mm 50 -100 -200 Page3/3:world
|
||||
/vis/viewer/update
|
||||
|
||||
# Make the culling on for next visualization
|
||||
/vis/set/culling on
|
||||
@@ -0,0 +1,364 @@
|
||||
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!!!!
|
||||
!!!! A X11 resource file to customize G4UI sessions and
|
||||
!!!! visualization viewers based over Xt. You use it by
|
||||
!!!! setting the XENVIRONMENT environment variable to point
|
||||
!!!! to this file, for example :
|
||||
!!!! csh> setenv XENVIRONMENT g4Xt.xrm
|
||||
!!!! sh> XENVIRONMENT=g4Xt.xrm;export XENVIRONMENT
|
||||
!!!!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
*topShadowColor :white
|
||||
*bottomShadowColor :black
|
||||
*foreground :black
|
||||
*background :lightgrey
|
||||
*borderColor :lightgrey
|
||||
*fontList :-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-1
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!!!! G4UIXm
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
*text.background :white
|
||||
*text.fontList :*courier*-r-*--14-*
|
||||
*text.maxLength :8000
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!!!! OPACS/Xo/XoCamera widget
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
*XoCamera.width:400
|
||||
*XoCamera.height:400
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
! OpenInventor resources, copied from file :
|
||||
! OpenInventor2.4.1/app-defaults/Inventor
|
||||
!
|
||||
!#################################################
|
||||
! RESSOURCE FILE FOR OPEN INVENTOR !
|
||||
!#################################################
|
||||
!
|
||||
! You must put this file in
|
||||
! /usr/lib/X11/app-defaults
|
||||
! or set up XAPPLRESDIR (see X window documentation)
|
||||
!
|
||||
!#################################################
|
||||
!!################################################
|
||||
!! POPUP MENU
|
||||
!!------------------------------------------------
|
||||
!! FUNCTIONS MENU
|
||||
!!------------------------------------------------
|
||||
*IvMenu.IvFunctions1.labelString: Functions
|
||||
*IvFunctions2.IvHelp.labelString: Help
|
||||
*IvFunctions2.IvHome.labelString: Home
|
||||
*IvFunctions2.IvSetHome.labelString: Set Home
|
||||
*IvFunctions2.IvViewAll.labelString: View All
|
||||
*IvFunctions2.IvSeek.labelString: Seek
|
||||
*IvFunctions2.IvCopyView.labelString: Copy View
|
||||
*IvFunctions2.IvPasteView.labelString: Paste View
|
||||
!!------------------------------------------------
|
||||
!! DRAW STYLE MENU
|
||||
!!------------------------------------------------
|
||||
*IvMenu.IvDrawStyle1.labelString: Draw Style
|
||||
*IvDrawStyle2.IvAsIs.labelString: as is
|
||||
*IvDrawStyle2.IvHiddenLine.labelString: hidden line
|
||||
*IvDrawStyle2.IvNoTexture.labelString: no texture
|
||||
*IvDrawStyle2.IvLowResolution.labelString: low resolution
|
||||
*IvDrawStyle2.IvWireFrame.labelString: wireframe
|
||||
*IvDrawStyle2.IvPoints.labelString: points
|
||||
*IvDrawStyle2.IvBoundingBoxNoDepth.labelString: bounding box ( no depth )
|
||||
*IvDrawStyle2.IvMoveSameAsStill.labelString: move same as still
|
||||
*IvDrawStyle2.IvMoveNoTexture.labelString: move no texture.
|
||||
*IvDrawStyle2.IvMoveLowRes.labelString: move low res
|
||||
*IvDrawStyle2.IvMoveWireFrame.labelString: move wireframe
|
||||
*IvDrawStyle2.IvMoveLowResWireFrameNoDepth.labelString: move low res wire frame ( no depth )
|
||||
*IvDrawStyle2.IvMovePoints.labelString: move points
|
||||
*IvDrawStyle2.IvMoveLowResPointsNoDepth.labelString: move low res points ( no depth )
|
||||
*IvDrawStyle2.IvMoveBoundingBoxNoDepth.labelString: move bounding box ( no depth )
|
||||
*IvDrawStyle2.IvSingleBuffer.labelString: single buffer
|
||||
*IvDrawStyle2.IvDoubleBuffer.labelString: Double buffer
|
||||
*IvDrawStyle2.IvInteractiveBuffer.labelString: interactive buffer
|
||||
!!------------------------------------------------
|
||||
*IvMenu.IvViewing.labelString: Viewing
|
||||
!!------------------------------------------------
|
||||
*IvMenu.IvDecoration.labelString: Decoration
|
||||
!!------------------------------------------------
|
||||
*IvMenu.IvHeadlight.labelString: Headlight
|
||||
!!------------------------------------------------
|
||||
*IvMenu.IvPreferences.labelString: Preferences ...
|
||||
|
||||
!!------------------------------------------------
|
||||
!! PREFERENCES
|
||||
!!------------------------------------------------
|
||||
*IvFormPreference1.IvSeekAnimationTime.labelString: Seek animation time
|
||||
*IvFormPreference1.IvSeconds.labelString: seconds
|
||||
*IvFormPreference1.IvSeekTo.labelString: Seek to:
|
||||
*IvFormPreference1.IvPoint.labelString: point
|
||||
*IvFormPreference1.IvObject.labelString: object
|
||||
*IvFormPreference2.IvSeekDistance.labelString: Seek distance:
|
||||
*IvFormPreference2.IvPercentage.labelString: percentage
|
||||
*IvFormPreference2.IvAbsolute.labelString: absolute
|
||||
*IvZoomForm.IvCameraZoom.labelString: Camera zoom
|
||||
*IvZoomForm.IvZoomSliderRangesFrom.labelString: Zoom slider ranges from:
|
||||
*IvZoomForm.IvTo.labelString: to:
|
||||
*IvZoomForm.IvZoomSlider.labelString: Zoom slider
|
||||
*IvZoomForm.IvZoomField.labelString: Zoom field
|
||||
*IvZoomForm.IvZoomFrom.labelString: Zoom from
|
||||
*IvZoomForm.IvZoomTo.labelString: Zoom to
|
||||
*IvFormPreference3.IvAutoClippingPlanes.labelString: Auto clipping planes
|
||||
*IvFormPreference4.IvStereoViewing.labelString: Stereo Viewing
|
||||
*IvFormPreference6.IvNearPlane.labelString: near plane
|
||||
*IvFormPreference6.IvFarPlane.labelString: far plane
|
||||
*IvStereoThumbForm.IvCameraRotation.labelString: Camera rotation
|
||||
|
||||
!!------------------------------------------------
|
||||
!! Preferences for Examiner Viewer
|
||||
!!------------------------------------------------
|
||||
*IvFormExaminer1.IvEnableSpinAnimation.labelString: Enable spin animation
|
||||
*IvFormExaminer1.IvShowPointOfRotationAxes.labelString: Show point of rotation axes
|
||||
*IvFormExaminer1.IvAxesSize.labelString: axes size
|
||||
*IvFormExaminer1.IvPixels.labelString: pixels
|
||||
!!------------------------------------------------
|
||||
!! Decorations for Examiner Viewer !!
|
||||
!!------------------------------------------------
|
||||
*IvExamTitle.labelString: Examiner Viewer
|
||||
*IvExamPrefTitle.labelString: Examiner Viewer Preference Sheet
|
||||
*IvExamPopupTitle.labelString: Examiner Viewer
|
||||
*IvExamIconTitle.labelString: Examiner Viewer
|
||||
*IvExamRotx.labelString: Rotx
|
||||
*IvExamRoty.labelString: Roty
|
||||
*IvExamZoom.labelString: Zoom
|
||||
*IvExamDolly.labelString: Dolly
|
||||
!!------------------------------------------------
|
||||
!! Decorations for Plane Viewer !!
|
||||
!!------------------------------------------------
|
||||
*IvPlaneTitle.labelString: Plane Viewer
|
||||
*IvPlanePrefTitle.labelString: Plane Viewer Preference Sheet
|
||||
*IvPlanePopupTitle.labelString: Plane Viewer
|
||||
*IvPlaneIconTitle.labelString: Plane Viewer
|
||||
*IvPlaneTransx.labelString: transX
|
||||
*IvPlaneTransy.labelString: transY
|
||||
*IvPlaneZoom.labelString: Zoom
|
||||
*IvPlaneDolly.labelString: Dolly
|
||||
!!------------------------------------------------
|
||||
!! Decorations for Fly Viewer !!
|
||||
!!------------------------------------------------
|
||||
*IvFlyTitle.labelString: Fly Viewer
|
||||
*IvFlyPrefTitle.labelString: Fly Viewer Preference Sheet
|
||||
*IvFlyPopupTitle.labelString: Fly Viewer
|
||||
*IvFlyIconTitle.labelString: Fly Viewer
|
||||
!! Same for Walk Viewer !!
|
||||
*IvFlyWalkRotate.labelString: Rotate
|
||||
!! Same for Walk Viewer !!
|
||||
*IvFlyWalkTilt.labelString: Tilt
|
||||
!! Same for Walk Viewer !!
|
||||
*IvFlyWalkDolly.labelString: Dolly
|
||||
!!------------------------------------------------
|
||||
!! Preferences for Fly Viewer !!
|
||||
!!------------------------------------------------
|
||||
*FlyPreference.FlyingSpeed.labelString: Flying speed:
|
||||
*FlyPreference.Increase.labelString: increase
|
||||
*FlyPreference.Decrease.labelString: decrease
|
||||
!!------------------------------------------------
|
||||
!! Decorations for Walk Viewer !!
|
||||
!!------------------------------------------------
|
||||
*IvWalkTitle.labelString: Walk Viewer
|
||||
*IvWalkPrefTitle.labelString: Walk Viewer Preference Sheet
|
||||
*IvWalkPopupTitle.labelString: Walk Viewer
|
||||
*IvWalkIconTitle.labelString: Walk Viewer
|
||||
*IvLeftTrimForm.IvH.labelString: H
|
||||
!!------------------------------------------------
|
||||
!! Preferences for Walk Viewer !!
|
||||
!!------------------------------------------------
|
||||
*IvFormPreference5.IvViewerSpeed.labelString: Viewer speed
|
||||
*IvFormPreference5.IvIncrease.labelString: increase
|
||||
*IvFormPreference5.IvDecrease.labelString: decrease
|
||||
!!------------------------------------------------
|
||||
!! EDITORS
|
||||
!!------------------------------------------------
|
||||
!! Drectional Light Editor !!
|
||||
!!------------------------------------------------
|
||||
*IvDirectLightTitle.labelString: Dir Light Editor
|
||||
*IvDirectLightIconTitle.labelString: Dir Light Ed
|
||||
*IvDirectLightInten.labelString: Inten
|
||||
*IvDirectLightColorEditor.labelString: Directional Light Color
|
||||
*IvDLMenuBar.IvEdit.labelString: Edit
|
||||
*IvDLMenuBar*IvControlPullDown*IvColorEditor.labelString: Color Editor
|
||||
*IvDLMenuBar*IvControlPullDown*IvCopy.labelString: Copy
|
||||
*IvDLMenuBar*IvControlPullDown*IvPaste.labelString: Paste
|
||||
*IvDLMenuBar*IvControlPullDown*IvHelp.labelString: Help
|
||||
!!------------------------------------------------
|
||||
!! Color Editor !!
|
||||
!!------------------------------------------------
|
||||
*IvColorEditorTitle.labelString: Color Editor
|
||||
*IvColorEditorIconTitle.labelString: Color Editor
|
||||
*IvColorEditorR.labelString: R
|
||||
*IvColorEditorG.labelString: G
|
||||
*IvColorEditorB.labelString: B
|
||||
*IvColorEditorH.labelString: H
|
||||
*IvColorEditorS.labelString: S
|
||||
*IvColorEditorV.labelString: V
|
||||
*IvColorEditorRight.labelString: Right
|
||||
*IvColorEditorSwitch.labelString: Switch
|
||||
*IvColorEditorCont.labelString: Continuous
|
||||
*IvColorEditorManu.labelString: Manual
|
||||
*IvColorEditorWysi.labelString: WYSIWYG
|
||||
*IvColorEditorCopy.labelString: Copy
|
||||
*IvColorEditorPaste.labelString: Paste
|
||||
*IvColorEditorHelp.labelString: Help
|
||||
*IvColorEditorNone.labelString: None
|
||||
*IvColorEditorValue.labelString: Value
|
||||
*IvColorEditorRGB.labelString: RGB
|
||||
*IvColorEditorHSV.labelString: HSV
|
||||
*IvColorEditorRGBV.labelString: RGB V
|
||||
*IvColorEditorRGBHSV.labelString: RGB HSV
|
||||
|
||||
*IvCEMenuBar.IvEdit.labelString: Edit
|
||||
*IvCEMenuBar.IvSliders.labelString: Sliders
|
||||
*IvButtonsForm.IvAccept.labelString: Accept
|
||||
!!------------------------------------------------
|
||||
!! Material Editor !!
|
||||
!!------------------------------------------------
|
||||
*IvMaterialEditorTitle.labelString: Material Editor
|
||||
*IvMaterialEditorIconTitle.labelString: Mat Editor
|
||||
*IvMaterialAmbientTitle.labelString: Material Ambient Color
|
||||
*IvMaterialDiffuseTitle.labelString: Material Diffuse Color
|
||||
*IvMaterialSpecularTitle.labelString: Material Specular Color
|
||||
*IvMaterialEmissiveTitle.labelString: -Material Emissive Color
|
||||
*IvMaterialEditorMaterial.labelString: Material /
|
||||
*IvMaterialEditorAmb.labelString: Amb /
|
||||
*IvMaterialEditorDiff.labelString: Diff /
|
||||
*IvMaterialEditorSpec.labelString: Spec /
|
||||
*IvMaterialEditorEmis.labelString: Emis /
|
||||
*IvMaterialEditorColor.labelString: Color
|
||||
*IvMEMenuBar.IvEdit.labelString: Edit
|
||||
*IvMEMenuBar*IvEditPullDown.IvMaterialList.labelString: Material List
|
||||
*IvMEMenuBar*IvEditPullDown.IvContinuous.labelString: Continuous
|
||||
*IvMEMenuBar*IvEditPullDown.IvManual.labelString: Manual
|
||||
*IvMEMenuBar*IvEditPullDown.IvCopy.labelString: Copy
|
||||
*IvMEMenuBar*IvEditPullDown.IvPaste.labelString: Paste
|
||||
*IvMEMenuBar*IvEditPullDown.IvHelp.labelString: Help
|
||||
*IvControls.IvEditColor.labelString: Edit Color
|
||||
*IvsliderForm.IvtextForm.IvAmb.labelString: Amb:
|
||||
*IvsliderForm.IvtextForm.IvDiff.labelString: Diff
|
||||
*IvsliderForm.IvtextForm.IvSpec.labelString: Spec
|
||||
*IvsliderForm.IvtextForm.IvEmis.labelString: Emis
|
||||
*IvsliderForm.IvtextForm.IvShininess.labelString: Shininess
|
||||
*IvsliderForm.IvtextForm.IvTransp.labelString: Transp:
|
||||
*IvMETop.IvAccept.labelString: Accept
|
||||
!!------------------------------------------------
|
||||
!! Material List !!
|
||||
!!------------------------------------------------
|
||||
*IvMaterialListTitle.labelString: Material List
|
||||
*IvMaterialListeIconTitle.labelString: Mat List
|
||||
*IvMLMenuBar*IvPalettes.labelString: Palettes
|
||||
!!------------------------------------------------
|
||||
!! Print Dialog
|
||||
!!------------------------------------------------
|
||||
*IvPrintDialTitle.labelString: Print Dialog
|
||||
*IvPrintDialIconTitle.labelString: -rint Dialog
|
||||
*IvPrintDialPrinter.labelString: Printer:
|
||||
*IvPrintDialPageOut.labelString: Page Output:
|
||||
*IvPrintDialToPrinter.labelString: To Printer
|
||||
*IvPrintDialToFile.labelString: To File
|
||||
*IvPrintDialQuit.labelString: Quit
|
||||
*IvPrintDialPrint.labelString: Print
|
||||
*IvPrintDialMessage.labelString: Message:
|
||||
*IvPrintDialFileFormat.labelString: File Format:
|
||||
*IvPrintDialPostScript.labelString: PostScript
|
||||
*IvPrintDialRGB.labelString: RGB
|
||||
*IvPrintDialPrintQuality.labelString: Print Quality:
|
||||
*IvPrintDialHigh.labelString: High
|
||||
*IvPrintDialDraft.labelString: Draft
|
||||
*IvPrintDialPageFormat.labelString: Page Format
|
||||
*IvPrintDialPortrait.labelString: Portrait
|
||||
*IvPrintDialLandscape.labelString: Landscape
|
||||
*IvPrintDialPrintSize.labelString: Print Size (inches):
|
||||
*IvPrintDialFileName.labelString: File Name:
|
||||
*IvPrintDialResolution.labelString: Resolution
|
||||
*IvPrintDialBy.labelString: by
|
||||
*IvPrintDialDpi.labelString: DPI:
|
||||
*IvPrintDialMess1.labelString: Printing in progress...
|
||||
*IvPrintDialMess2.labelString: ERROR: Empty database.
|
||||
*IvPrintDialMess3.labelString: ERROR: Exceeds
|
||||
*IvPrintDialMess4.labelString: ERROR: Could not execute print.
|
||||
*IvPrintDialMess5.labelString: ERROR: Could not execute print.
|
||||
*IvPrintDialMess6.labelString: ERROR: No printer.
|
||||
*IvPrintDialMess7.labelString: ERROR: Couldn't open
|
||||
*IvPrintDialMess8.labelString: ERROR: No file name.
|
||||
*IvPrintDialMess9.labelString: ERROR: Could not open file.
|
||||
*IvPrintDialMess10.labelString: ERROR: Could not get data.
|
||||
*IvPrintDialMess11.labelString: ERROR: Could not get data.
|
||||
*IvPrintDialMess12.labelString: Printing completed.
|
||||
|
||||
!!------------------------------------------------
|
||||
!! Xt Component ( For Light and Material Sliders Set )
|
||||
!!------------------------------------------------
|
||||
*IvXtComponentTitle.labelString: Xt Component
|
||||
*IvTGSXtComponentTitle.labelString: TGS: Xt Component
|
||||
!!------------------------------------------------
|
||||
!! For All Sliders
|
||||
!!------------------------------------------------
|
||||
*IvSlidersMin.labelString: min
|
||||
*IvSlidersMax.labelString: max
|
||||
*IvSlidersStyle.labelString: style
|
||||
!!------------------------------------------------
|
||||
!! Light Slider Set
|
||||
!!------------------------------------------------
|
||||
*IvLightSliderColor.labelString: COLOR
|
||||
*IvLightSliderRed.labelString: Red
|
||||
*IvLightSliderGreen.labelString: Green
|
||||
*IvLightSliderBlue.labelString: Blue
|
||||
*IvLightSliderIntensity1.labelString: INTENSITY
|
||||
*IvLightSliderIntensity2.labelString: Intensity
|
||||
!!------------------------------------------------
|
||||
!! Material Slider Set
|
||||
!!------------------------------------------------
|
||||
*IvMaterialSliderAmbient.labelString: AMBIENT
|
||||
*IvMaterialSliderAmbientRed.labelString: Ambient Red
|
||||
*IvMaterialSliderAmbientGreen.labelString: Ambient Green
|
||||
*IvMaterialSliderAmbientBleu.labelString: Ambient Blue
|
||||
*IvMaterialSliderDiffuse.labelString: DIFFUSE
|
||||
*IvMaterialSliderDiffuseRed.labelString: Diffuse Red
|
||||
*IvMaterialSliderDiffuseGreen.labelString: Diffuse Green
|
||||
*IvMaterialSliderDiffuseBleu.labelString: Diffuse Blue
|
||||
*IvMaterialSliderSpecular.labelString: SPECULAR
|
||||
*IvMaterialSliderSpecularRed.labelString: Specular Red
|
||||
*IvMaterialSliderSpecularGreen.labelString: Specular Green
|
||||
*IvMaterialSliderSpecularBleu.labelString: Specular Blue
|
||||
*IvMaterialSliderEmissive.labelString: EMISSIVE
|
||||
*IvMaterialSliderEmissiveRed.labelString: Emissive Red
|
||||
*IvMaterialSliderEmissiveGreen.labelString: Emissive Green
|
||||
*IvMaterialSliderEmissiveBlue.labelString: Emissive Blue
|
||||
*IvMaterialSliderShininess.labelString: SHININESS
|
||||
*IvMaterialSliderShininessShininess.labelString: shininess
|
||||
*IvMaterialSliderTransparency.labelString: TRANSPARENCY
|
||||
*IvMaterialSliderTransparencyTransparency.labelString: transparency
|
||||
!!------------------------------------------------
|
||||
!! Transform Slider Set
|
||||
!!------------------------------------------------
|
||||
*IvTransformSliderTrans.labelString: TRANSLATIONS
|
||||
*IvTransformSliderTransX.labelString: X Translation
|
||||
*IvTransformSliderTransY.labelString: Y Translation
|
||||
*IvTransformSliderTransZ.labelString: Z Translation
|
||||
*IvTransformSliderScale.labelString: SCALES
|
||||
*IvTransformSliderScaleX.labelString: X Scale
|
||||
*IvTransformSliderScaleY.labelString: Y Scale
|
||||
*IvTransformSliderScaleZ.labelString: Z Scale
|
||||
*IvTransformSliderRotate.labelString: ROTATIONS
|
||||
*IvTransformSliderRotateX.labelString: X Rotate
|
||||
*IvTransformSliderRotateY.labelString: Y Rotate
|
||||
*IvTransformSliderRotateZ.labelString: Z Rotate
|
||||
*IvTransformSliderScaleOrient.labelString: SCALE ORIENTATION
|
||||
*IvTransformSliderScaleOrientX.labelString: X Rotate
|
||||
*IvTransformSliderScaleOrientY.labelString: Y Rotate
|
||||
*IvTransformSliderScaleOrientZ.labelString: Z Rotate
|
||||
*IvTransformSliderCenter.labelString: CENTER
|
||||
*IvTransformSliderCenterX.labelString: X Center
|
||||
*IvTransformSliderCenterY.labelString: Y Center
|
||||
*IvTransformSliderCenterZ.labelString: Z Center
|
||||
*IvTransformSliderTitle.labelString: Transform Editor
|
||||
*IvTransformSliderIconTitle.labelString: Xf Editor
|
||||
|
||||
|
||||
!!------------------- THE END --------------------
|
||||
@@ -0,0 +1,27 @@
|
||||
#
|
||||
# This file permits to customize, with commands,
|
||||
# the menu bar of the G4UIXm, G4UIWin32 sessions.
|
||||
# It has no effect with G4UIterminal.
|
||||
#
|
||||
# File :
|
||||
/gui/addMenu file File
|
||||
/gui/addButton file Continue continue
|
||||
/gui/addButton file Exit "exit"
|
||||
#
|
||||
# Run menu :
|
||||
/gui/addMenu run Run
|
||||
/gui/addButton run run1 "/control/execute run1.mac"
|
||||
/gui/addButton run run2 "/control/execute run2.mac"
|
||||
#
|
||||
# Vis menu :
|
||||
/gui/addMenu vis Vis
|
||||
/gui/addButton vis Vis0 "/control/execute exN03Vis0.mac"
|
||||
/gui/addButton vis Vis1 "/control/execute exN03Vis1.mac"
|
||||
/gui/addButton vis Vis2 "/control/execute exN03Vis2.mac"
|
||||
/gui/addButton vis Vis3 "/control/execute exN03Vis3.mac"
|
||||
/gui/addButton vis Vis4 "/control/execute exN03Vis4.mac"
|
||||
/gui/addButton vis Vis5 "/control/execute exN03Vis5.mac"
|
||||
/gui/addButton vis Vis6 "/control/execute exN03Vis6.mac"
|
||||
#
|
||||
# To limit the output flow in the "dump" widget :
|
||||
/event/printModulo 100
|
||||
Reference in New Issue
Block a user