1############################################################################
2# Example for Bline visualisation
3############################################################################
6# -- here the user should add commands for defining start position and time
9# BlineTracer tracking commands
11/tracking/storeTrajectory 1
13# Next computed bline will be stored as Polyline and Polymarker
15/vis/blineTracer/stockLines true
16/vis/blineTracer/stockPoints true
20/vis/blineTracer/setPointSize 12.
22# Line will be in green
24/vis/blineTracer/setColour 0 1 0
26# For smooth trajectory choose a small max step length
28/vis/blineTracer/setMaxStepLength 1. m
32/vis/blineTracer/computeBline 1
34# One possible initialisation of visualisation driver and scene-handler
36/vis/sceneHandler/remove scene-handler-0
37/vis/sceneHandler/create VRML2FILE scene-handler-0 3000
39/vis/viewer/set/viewpointThetaPhi 35. 35. deg
41/vis/viewer/set/style surface2
43# Stored field lines are added to the visualisation scene
47# The computed field line is visualised with the detector component