# Open a viewer /vis/open # This opens the default viewer - see examples/basic/B1/vis.mac for a # more comprehensive overview of options. Also the documentation. # Disable auto refresh and quieten vis messages whilst scene and # trajectories are established: /vis/viewer/set/autoRefresh true /vis/verbose errors # Draw geometry: /vis/drawVolume # Specify view angle: /vis/viewer/set/viewpointVector -1 0 0 /vis/viewer/set/lightsVector -1 0 0 # Specify style (surface, wireframe, auxiliary edges,...) /vis/viewer/set/style wireframe /vis/viewer/set/auxiliaryEdge true /vis/viewer/set/lineSegmentsPerCircle 100 # Draw smooth trajectories at end of event, showing trajectory points # as markers 2 pixels wide: /vis/scene/add/trajectories smooth /vis/modeling/trajectories/create/drawByCharge /vis/modeling/trajectories/drawByCharge-0/default/setDrawStepPts true /vis/modeling/trajectories/drawByCharge-0/default/setStepPtsSize 2 # To superimpose all of the events from a given run: /vis/scene/endOfEventAction accumulate # Make the "World" box invisible /vis/geometry/set/visibility LWorld 0 false /vis/geometry/set/visibility VoxelStraight_logic 0 false # "Envelope" is transparent blue to represent water /vis/geometry/set/colour PlasmidVolume 0 0 0 1 .3 /vis/viewer/set/style surface /vis/viewer/set/hiddenMarker true /vis/viewer/set/viewpointThetaPhi 0 0 # Re-establish auto refreshing and verbosity: /vis/viewer/set/autoRefresh true /vis/verbose warnings