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] [ 10.5.p1 ] [ 10.6 ] [ 10.6.p1 ] [ 10.6.p2 ] [ 10.6.p3 ] [ 10.7 ] [ 10.7.p1 ] [ 10.7.p2 ] [ 10.7.p3 ] [ 10.7.p4 ] [ 11.0 ] [ 11.0.p1 ] [ 11.0.p2 ] [ 11.0.p3, ] [ 11.0.p4 ] [ 11.1 ] [ 11.1.1 ] [ 11.1.2 ] [ 11.1.3 ] [ 11.2 ] [ 11.2.1 ] [ 11.2.2 ] [ 11.3.0 ]

Diff markup

Differences between /examples/extended/medical/dna/chem3/vis.mac (Version 11.3.0) and /examples/extended/medical/dna/chem3/vis.mac (Version 11.2.2)


  1 # Macro file for the visualization setting in       1 # Macro file for the visualization setting in the initialization phase
  2 # of the B1 example when running in interactiv      2 # of the B1 example when running in interactive mode
  3 #                                                   3 #
  4                                                     4 
  5 # Open a viewer                                     5 # Open a viewer
  6 /vis/open                                           6 /vis/open
  7 # This opens the default viewer - see examples      7 # This opens the default viewer - see examples/basic/B1/vis.mac for a
  8 # more comprehensive overview of options. Also      8 # more comprehensive overview of options. Also the documentation.
  9 #                                                   9 #
 10 # Disable auto refresh and quieten vis message     10 # Disable auto refresh and quieten vis messages whilst scene and
 11 # trajectories are established:                    11 # trajectories are established:
 12 /vis/viewer/set/autoRefresh false                  12 /vis/viewer/set/autoRefresh false
 13 /vis/verbose errors                                13 /vis/verbose errors
 14 #                                                  14 #
 15 # Draw geometry:                                   15 # Draw geometry:
 16 /vis/drawVolume                                    16 /vis/drawVolume
 17 #                                                  17 #
 18 # Specify view angle:                              18 # Specify view angle:
 19 /vis/viewer/set/viewpointVector -1 0 0             19 /vis/viewer/set/viewpointVector -1 0 0
 20 /vis/viewer/set/lightsVector -1 5 -30              20 /vis/viewer/set/lightsVector -1 5 -30
 21 /vis/viewer/zoomTo 1.7                             21 /vis/viewer/zoomTo 1.7
 22 #                                                  22 #
 23 # Specify style (surface, wireframe, auxiliary     23 # Specify style (surface, wireframe, auxiliary edges,...)
 24 /vis/viewer/set/style wireframe                    24 /vis/viewer/set/style wireframe
 25 /vis/viewer/set/auxiliaryEdge true                 25 /vis/viewer/set/auxiliaryEdge true
 26 /vis/viewer/set/lineSegmentsPerCircle 100          26 /vis/viewer/set/lineSegmentsPerCircle 100
 27 #                                                  27 #
 28 # Draw smooth trajectories at end of event, sh     28 # Draw smooth trajectories at end of event, showing trajectory points
 29 # as markers 2 pixels wide:                        29 # as markers 2 pixels wide:
 30 /vis/scene/add/trajectories rich #smooth           30 /vis/scene/add/trajectories rich #smooth
 31 #/vis/modeling/trajectories/create/drawByCharg     31 #/vis/modeling/trajectories/create/drawByCharge
 32 #/vis/modeling/trajectories/drawByCharge-0/def     32 #/vis/modeling/trajectories/drawByCharge-0/default/setDrawStepPts true
 33 #/vis/modeling/trajectories/drawByCharge-0/def     33 #/vis/modeling/trajectories/drawByCharge-0/default/setStepPtsSize 2
 34 #/vis/modeling/trajectories/drawByCharge-0/def     34 #/vis/modeling/trajectories/drawByCharge-0/default/setTimeSliceInterval 1 s
 35 # (if too many tracks cause core dump => /trac     35 # (if too many tracks cause core dump => /tracking/storeTrajectory 0)
 36                                                    36 
 37 /vis/modeling/trajectories/create/drawByPartic     37 /vis/modeling/trajectories/create/drawByParticleID
 38                                                    38 
 39 /vis/modeling/trajectories/drawByParticleID-0/     39 /vis/modeling/trajectories/drawByParticleID-0/default/setDrawStepPts false
 40 /vis/modeling/trajectories/drawByParticleID-0/     40 /vis/modeling/trajectories/drawByParticleID-0/default/setStepPtsSize 1
 41                                                    41 
 42 /vis/modeling/trajectories/drawByParticleID-0/     42 /vis/modeling/trajectories/drawByParticleID-0/set e- red
 43 /vis/modeling/trajectories/drawByParticleID-0/     43 /vis/modeling/trajectories/drawByParticleID-0/set proton green
 44 /vis/modeling/trajectories/drawByParticleID-0/     44 /vis/modeling/trajectories/drawByParticleID-0/set alpha green 
 45 /vis/modeling/trajectories/drawByParticleID-0/     45 /vis/modeling/trajectories/drawByParticleID-0/set H green
 46                                                    46 
 47 /vis/modeling/trajectories/drawByParticleID-0/     47 /vis/modeling/trajectories/drawByParticleID-0/set OH magenta
 48 /vis/modeling/trajectories/drawByParticleID-0/     48 /vis/modeling/trajectories/drawByParticleID-0/set H3O yellow
 49 /vis/modeling/trajectories/drawByParticleID-0/     49 /vis/modeling/trajectories/drawByParticleID-0/set e_aq blue
 50 /vis/modeling/trajectories/drawByParticleID-0/     50 /vis/modeling/trajectories/drawByParticleID-0/set H2O2 green
 51 /vis/modeling/trajectories/drawByParticleID-0/     51 /vis/modeling/trajectories/drawByParticleID-0/set H white
 52 /vis/modeling/trajectories/drawByParticleID-0/     52 /vis/modeling/trajectories/drawByParticleID-0/set H_2 white
 53                                                    53 
 54 /vis/modeling/trajectories/drawByParticleID-0/     54 /vis/modeling/trajectories/drawByParticleID-0/default/setTimeSliceInterval 0.1 ns
 55                                                    55 
 56 #/vis/modeling/trajectories/select drawByCharg     56 #/vis/modeling/trajectories/select drawByCharge-0
 57                                                    57 
 58 # Use to draw just selected types of radicals      58 # Use to draw just selected types of radicals
 59 #/vis/filtering/trajectories/create/particleFi     59 #/vis/filtering/trajectories/create/particleFilter
 60 #/vis/filtering/trajectories/particleFilter-0/     60 #/vis/filtering/trajectories/particleFilter-0/add e-
 61 #/vis/filtering/trajectories/particleFilter-0/     61 #/vis/filtering/trajectories/particleFilter-0/add e_aq
 62                                                    62 
 63 # (if too many tracks cause core dump => /trac     63 # (if too many tracks cause core dump => /tracking/storeTrajectory 0)
 64 #                                                  64 #
 65 # Draw hits at end of event:                       65 # Draw hits at end of event:
 66 #/vis/scene/add/hits                               66 #/vis/scene/add/hits
 67 #                                                  67 #
 68 # To draw only gammas:                             68 # To draw only gammas:
 69 #/vis/filtering/trajectories/create/particleFi     69 #/vis/filtering/trajectories/create/particleFilter
 70 #/vis/filtering/trajectories/particleFilter-0/     70 #/vis/filtering/trajectories/particleFilter-0/add gamma
 71 #                                                  71 #
 72 # To invert the above, drawing all particles e     72 # To invert the above, drawing all particles except gammas,
 73 # keep the above two lines but also add:           73 # keep the above two lines but also add:
 74 #/vis/filtering/trajectories/particleFilter-0/     74 #/vis/filtering/trajectories/particleFilter-0/invert true
 75 #                                                  75 #
 76 # Many other options are available with /vis/m     76 # Many other options are available with /vis/modeling and /vis/filtering.
 77 # For example, to select colour by particle ID     77 # For example, to select colour by particle ID:
 78 #/vis/modeling/trajectories/create/drawByParti     78 #/vis/modeling/trajectories/create/drawByParticleID
 79 #/vis/modeling/trajectories/drawByParticleID-0     79 #/vis/modeling/trajectories/drawByParticleID-0/default/setDrawStepPts true
 80 # To select or override default colours (note:     80 # To select or override default colours (note: e+ is blue by default):
 81 #/vis/modeling/trajectories/list                   81 #/vis/modeling/trajectories/list
 82 #/vis/modeling/trajectories/drawByParticleID-0     82 #/vis/modeling/trajectories/drawByParticleID-0/set e+ yellow
 83 #                                                  83 #
 84 # To superimpose all of the events from a give     84 # To superimpose all of the events from a given run:
 85 /vis/scene/endOfEventAction accumulate             85 /vis/scene/endOfEventAction accumulate
 86 #                                                  86 #
 87 # Decorations                                      87 # Decorations
 88 # Name                                             88 # Name
 89 /vis/set/textColour green                          89 /vis/set/textColour green
 90 /vis/set/textLayout right                          90 /vis/set/textLayout right
 91 # or, if your system does not support right-ad     91 # or, if your system does not support right-adjustment
 92 #/vis/scene/add/text2D 0.9 -0.9 12 ! ! chem3       92 #/vis/scene/add/text2D 0.9 -0.9 12 ! ! chem3
 93 /vis/set/textLayout    # Revert to normal (lef     93 /vis/set/textLayout    # Revert to normal (left adjusted) layout
 94 /vis/set/textColour    # Revert to default tex     94 /vis/set/textColour    # Revert to default text colour (blue)
 95 #                                                  95 #
 96 # Axes, scale, etc.                                96 # Axes, scale, etc.
 97 #/vis/scene/add/scale   # Simple scale line        97 #/vis/scene/add/scale   # Simple scale line
 98 #/vis/scene/add/eventID # Drawn at end of even     98 #/vis/scene/add/eventID # Drawn at end of event
 99 #/vis/scene/add/date    # Date stamp               99 #/vis/scene/add/date    # Date stamp
100 #/vis/scene/add/logo2D  # Simple logo             100 #/vis/scene/add/logo2D  # Simple logo
101 #/vis/scene/add/logo    # 3D logo                 101 #/vis/scene/add/logo    # 3D logo
102 #/vis/scene/add/axes -1 -1 -1 1 micrometer        102 #/vis/scene/add/axes -1 -1 -1 1 micrometer
103 #/vis/scene/add/axes 0 0 0 1 nm   # Simple axe    103 #/vis/scene/add/axes 0 0 0 1 nm   # Simple axes: x=red, y=green, z=blue. # MODIF ------------------------
104 #                                                 104 #
105 # Frame                                           105 # Frame
106 #/vis/set/colour red                              106 #/vis/set/colour red
107 #/vis/set/lineWidth 2                             107 #/vis/set/lineWidth 2
108 #/vis/scene/add/frame   # Simple frame arond t    108 #/vis/scene/add/frame   # Simple frame arond the view
109 /vis/set/colour        # Revert to default col    109 /vis/set/colour        # Revert to default colour (white)
110 /vis/set/lineWidth     # Revert to default lin    110 /vis/set/lineWidth     # Revert to default line width (1.)
111 #                                                 111 #
112 # Attach text to one edge of Shape1, with a sm    112 # Attach text to one edge of Shape1, with a small, fixed offset
113 #/vis/scene/add/text 0 6 -4 cm 18 4 4 Shape1      113 #/vis/scene/add/text 0 6 -4 cm 18 4 4 Shape1
114 # Attach text to one corner of Shape2, with a     114 # Attach text to one corner of Shape2, with a small, fixed offset
115 #/vis/scene/add/text 6 7 10 cm 18 4 4 Shape2      115 #/vis/scene/add/text 6 7 10 cm 18 4 4 Shape2
116 #                                                 116 #
117 # To get nice view                                117 # To get nice view
118 #/vis/geometry/set/visibility World 0 true #ch    118 #/vis/geometry/set/visibility World 0 true #changement
119 #/vis/geometry/set/visibility Envelope 0 false    119 #/vis/geometry/set/visibility Envelope 0 false #changement
120 #/vis/viewer/set/style wireframe #surface         120 #/vis/viewer/set/style wireframe #surface
121 #/vis/viewer/set/hiddenMarker true                121 #/vis/viewer/set/hiddenMarker true
122 #/vis/viewer/set/viewpointThetaPhi 95 170         122 #/vis/viewer/set/viewpointThetaPhi 95 170
123 /vis/viewer/set/viewpointThetaPhi -70 0           123 /vis/viewer/set/viewpointThetaPhi -70 0
124                                                   124 
125 #                                                 125 #
126 # Re-establish auto refreshing and verbosity:     126 # Re-establish auto refreshing and verbosity:
127 /vis/viewer/set/autoRefresh true                  127 /vis/viewer/set/autoRefresh true
128 /vis/verbose warnings                             128 /vis/verbose warnings
129 #                                                 129 #
130 # For file-based drivers, use this to create a    130 # For file-based drivers, use this to create an empty detector view:
131 #/vis/viewer/flush                                131 #/vis/viewer/flush
132                                                   132 
133 /vis/set/textLayout centre                        133 /vis/set/textLayout centre
134 /vis/scene/add/scale                              134 /vis/scene/add/scale
135 /vis/viewer/set/targetPoint 20 10 0 nm            135 /vis/viewer/set/targetPoint 20 10 0 nm
136 /vis/viewer/set/background white                  136 /vis/viewer/set/background white
137                                                   137