+-------------+ +----------## | Geant 3.15 | GEANT User's Guide | DRAW110 ## +-------------+ +----------##
Author(s) : F.Carminati, S.Giani Submitted: 15.08.83 Origin : R.Brun, A.Mc Pherson, P.Zanarini Revised: 11.12.92
+----------------------------------------------------------------+ |CALL GDRAW (CHNAME,THETA,PHI,PSI,U0,V0,SU,SV) | +----------------------------------------------------------------+
Draws an orthographic parallel projection or a perspective projection of volume CHNAME according to the options set via the routine GDOPT and all its visible descendants (see routine GSATT to alter the visibility of a volume) at position U0,V0 (user coordinates), with the scale factors SU and SV; the object is seen from THETA and PHI angles, and the resulting 2D projection is rotated by an angle PSI on the screen plane. These parameters, as well as zoom parameters set by GDZOOM define the current view parameters, and they are copied in the common /GCDRAW/. Attributes like colour, surface fill, line width, line style, visibility, etc. can be set by calling the GSATT routine for CHNAME and its descendants [GEOM 500].
Drawing with hidden line removal and surface fill shading is also possible, but the drawing time may increase substantially for complicated objects.
When using the interactive interface it is possible to cut the object to be drawn with cutting volumes (command CVOL). This is particularly useful to visualise the contents of an object drawn with hidden line removal. Another feature which is available only interactively is the possibility to draw each decendant of a volume shifted along the axis which goes from the centre of the local coordinate system to the centre of gravity of the descendant itself. This again is useful to improve the visibility of the details of a complicated setup (command BOMB). Please see the interactive interface description for more information on this part.