Next:  DRAW010 The Ray-tracing 
Up:  DRAW001 Introduction to  
 Previous:  The shading algorithm
 
The best way to initialise the drawing package is to call the 
 HPLOT []
initialisation routine HPLINT. This will work independently of the 
basic graphic package used. The reader should consult the  HPLOT
documentation for more information on this routine.
The drawing package is initialised by:
- HPLINT
 -  to initialise the basic graphics package and the 
 HPLOT package;
 - GDINIT
 -  to initialise the  GEANT drawing package.
 
The main drawing routines are:
- GDRAW
 -   to draw a projection view of the detector -- Case 1
 - GDRVOL
 -  to draw a projection view of the detector --  Case 2
 - GDRAWC
 -  to draw a cut view of the detector (along one axis)
 - GDRAWX
 -  to draw a cut view of the detector (from any point)
 - GDXYZ
 -   to draw tracks at the end of the event
 - GDCXYZ
 -  to draw tracks at tracking time
 - GDPART
 -  to draw particle names and track numbers at end of tracks
 - GDAHIT
 -  to draw one single hit
 - GDHITS
 -  to draw hits for  trajectory type detectors
 - GDCHIT
 -  to draw hits for  calorimeter type detectors
 
Routines that show how the detector has been modelled are:
- GDTREE
 -  to draw a picture with the geometrical tree
 - GDSPEC
 -  to draw a picture with volume specifications
 - GDFSPC
 -  to draw several GDSPEC pictures
 
Routines that perform control operations on view banks are:
- GDOPEN
 -  to open a given view bank, identified by a
                     view number; in this way we enter in bank mode
 - GDCLOS
 -  to close the current view bank, i.e. the last one
                     opened, and restore screen mode
 - GDSHOW
 -  to show all graphics information contained in a
                     given view bank
 - GDLENS
 -  to scan interactively the drawing contained in the view bank 
 - GDELET
 -  to delete a given view bank from memory
 
Routines that allow the visualisation of the detector with hidden line removal are:
- GDCGOB
 -  to create CG objects
 - GDCGSL
 -  to create clipping objects
 - GDCGCL
 -  to perform boolean operations
 - GDCGHI
 -  to insert CG objects in HIDE and WIRE structures of faces
 - GDSHIF
 -  to shift in the space a CG object
 - GDBOMB
 -  to make the detector explode
 
Other routines are:
- GDOPT
 -    to set drawing options
 - GDZOOM
 -   to set the zoom parameters
 - GDAXIS
 -   to draw the axes of the MARS,
                      oriented according to the current view parameters
 - GDSCAL
 -   to draw the current scale
 - GDMAN
 -    to draw a profile of a man within the current scale
 - GDRAWT
 -   to draw text, with software characters
 - GDRAWV
 -   to draw polylines in 2D user coordinates
 - GDHEAD
 -   to draw a frame header
 - GDCOL
 -    to set colour code
 - GDLW
 -     to set line width
 - GDCURS
 -   to have an input from the graphics cursor
 - GDFR3D
 -   to convert from 3D coordinates (either in MARS or DRS)
                      to 2D user coordinates
 - GD3D3D
 -   to convert from 3D MARS coordinates to
                      3D Projection Reference System coordinates.
 
S.Giani, S.Ravndal 
DRAW010
 
 
 
  
 
 Next:  DRAW010 The Ray-tracing 
Up:  DRAW001 Introduction to  
 Previous:  The shading algorithm
 
Janne Saarela 
Mon Apr  3 12:46:29 METDST 1995