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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/exoticphysics/saxs/vis.mac (Version 11.3.0) and /examples/extended/exoticphysics/saxs/vis.mac (Version 10.7)


  1 #Macro for the visualization                        1 #Macro for the visualization
  2                                                     2 
  3 # Open a viewer                                <<   3 #Create an empty scene
  4 /vis/open                                      <<   4 /vis/scene/create
  5 # This opens the default viewer - see examples <<   5 
  6 # more comprehensive overview of options. Also <<   6 #Create a scene handler for a specific graphics system
                                                   >>   7 /vis/open OGL
  7                                                     8 
  8 #Draw the scene                                     9 #Draw the scene
  9 /vis/viewer/reset                                  10 /vis/viewer/reset
 10 /vis/viewer/set/viewpointThetaPhi 135. 45. deg     11 /vis/viewer/set/viewpointThetaPhi 135. 45. deg
 11 /vis/viewer/zoom 0.5                               12 /vis/viewer/zoom 0.5
 12                                                    13 
 13 #Specify style (surface, wireframe, auxiliary      14 #Specify style (surface, wireframe, auxiliary edges,...)
 14 /vis/viewer/set/style wireframe                    15 /vis/viewer/set/style wireframe
 15 /vis/viewer/set/lineSegmentsPerCircle 100          16 /vis/viewer/set/lineSegmentsPerCircle 100
 16                                                    17 
 17 #Geometry                                          18 #Geometry
 18 #/vis/geometry/set/lineWidth all 1 3               19 #/vis/geometry/set/lineWidth all 1 3
 19 #/vis/geometry/set/colour PhantomLogic 1 0 0 0     20 #/vis/geometry/set/colour PhantomLogic 1 0 0 0
 20                                                    21 
 21 #Decoration                                        22 #Decoration
 22 #Axes                                              23 #Axes
 23 /vis/set/lineWidth 3                               24 /vis/set/lineWidth 3
 24 /vis/scene/add/axes 0 0 0 0.10 m  #Simple axes     25 /vis/scene/add/axes 0 0 0 0.10 m  #Simple axes: x=red, y=green, z=blue.
 25 #Name                                              26 #Name
 26 #/vis/set/textColour red                           27 #/vis/set/textColour red
 27 #/vis/set/textLayout right                         28 #/vis/set/textLayout right
 28 #/vis/scene/add/text2D 0.9 -.9 24 ! ! saxs         29 #/vis/scene/add/text2D 0.9 -.9 24 ! ! saxs
 29 #Frame                                             30 #Frame
 30 #/vis/set/colour red                               31 #/vis/set/colour red
 31 #/vis/set/lineWidth 2                              32 #/vis/set/lineWidth 2
 32 #/vis/scene/add/frame #Simple frame around the     33 #/vis/scene/add/frame #Simple frame around the view
 33 #/vis/set/colour        #Revert to default col     34 #/vis/set/colour        #Revert to default colour (white)
 34 #/vis/set/lineWidth     #Revert to default lin     35 #/vis/set/lineWidth     #Revert to default line width (1.)
 35                                                    36 
 36 #Commands for the drawing the tracks               37 #Commands for the drawing the tracks
 37 /vis/scene/add/eventID              #Drawn at      38 /vis/scene/add/eventID              #Drawn at end of event
 38 /tracking/storeTrajectory 0       #(if too man     39 /tracking/storeTrajectory 0       #(if too many tracks cause core dumped => storeTrajectory 0)
 39 /vis/scene/endOfEventAction accumulate             40 /vis/scene/endOfEventAction accumulate
 40 /vis/scene/add/trajectories smooth rich            41 /vis/scene/add/trajectories smooth rich
 41 #/vis/modeling/trajectories/create/drawByParti     42 #/vis/modeling/trajectories/create/drawByParticleID
 42 /vis/modeling/trajectories/create/drawByCharge     43 /vis/modeling/trajectories/create/drawByCharge
 43 /vis/modeling/trajectories/drawByCharge-0/defa     44 /vis/modeling/trajectories/drawByCharge-0/default/setDrawStepPts true
 44 /vis/modeling/trajectories/drawByCharge-0/defa     45 /vis/modeling/trajectories/drawByCharge-0/default/setStepPtsSize 2
 45                                                    46 
 46 #Draw hits at end of event:                        47 #Draw hits at end of event:
 47 /vis/scene/add/hits                                48 /vis/scene/add/hits
 48                                                    49 
 49 #Geometry test (it can cause a "core dumped")      50 #Geometry test (it can cause a "core dumped")
 50 /geometry/navigator/reset                          51 /geometry/navigator/reset
 51 /geometry/test/run                                 52 /geometry/test/run