I am drawing tracks in the ROOT’s GL viewer with TPolyLine3D. I want to draw some tracks as dotted lines, so I set the style with the function SetLineStyle. I tried several styles, i.e. 2, 9, 10, … but I always get solid lines drawn. Does anyone has any hint?
I just tried your example and it works. But the thing is that I am drawing the TPolyLine3D objects in a canvas which is created by the ROOT’s GL viewer. I create this canvas by drawing a geometry in gdml as follows,
Is there any solution? The thing is that I would like to plot the real particle trajectories as dotted lines. I then use the hits of theses particles on silicon sensors in my geometry to fit a straight line. So, I would like then to plot the fitted straight line as a solid line on top of the real particle trajectory (which is a dotted line). In this representation it will be quite easy to see which trajectories where successfully fitted.