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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/chem2/vis.mac (Version 11.3.0) and /examples/extended/medical/dna/chem2/vis.mac (Version 9.6.p4)


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