22.05.2014 Views

CERN Program Library Long Writeup W5013 - CERNLIB ...

CERN Program Library Long Writeup W5013 - CERNLIB ...

CERN Program Library Long Writeup W5013 - CERNLIB ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Geant 3.16 GEANT User’s Guide DRAW399<br />

Origin : R.Brun, P.Zanarini Submitted: 15.11 83<br />

Revision : Revised: 13.12.93<br />

Documentation :<br />

The data structure JDRAW<br />

This data structure contains the so-called view banks. The layout of the data structure can be found in<br />

Fig. 18. The meaning of the variables is the following:<br />

NKVIEW<br />

IVIEW<br />

IGU<br />

MAXGU<br />

MORGU<br />

IGS<br />

MAXGS<br />

MORGS<br />

ITU<br />

MAXTU<br />

MORTU<br />

ITS<br />

MAXTS<br />

MORTS<br />

LENGU<br />

ADDGU<br />

ADDTU<br />

X<br />

Y<br />

ICUT<br />

LINWID<br />

number of views stored in the structure;<br />

current view selected;<br />

current graphic unit pointer;<br />

number of units in graphic unit bank;<br />

number of words to push the graphic unit bank;<br />

current graphic segment pointer;<br />

number of segments in graphic segment bank;<br />

number of words to push the graphic segment bank;<br />

current text unit pointer;<br />

number of units in text unit bank;<br />

number of words to push the text unit bank;<br />

current text segment pointer;<br />

number of segments in text segment bank;<br />

number of words to push in text segment bank<br />

array of lengths for each graphic unit and of line attributes (LINATT);<br />

array of addresses for each graphic unit;<br />

array of addresses for each text unit;<br />

array of u coordinates of graphic segments;<br />

array v coordinates of graphic segments;<br />

cut axis (1, 2, 3 or 0 if no cut) of the view;<br />

text line width and text attributes (ITXATT);<br />

GTHETA, GPHI, GPSI, GU0, GV0, GSCU, GSCV, are the viewing parameters stored in /GCDRAW/.<br />

U0, V0, SIZE, ANGLE, IOPT, ITEXT have the same meaning of those given as arguments to GDRAWT<br />

(or HPLSOF [7]).<br />

A control word is stored in Q(JDRAW+IVIEW), with the following meaning:<br />

1 empty bank (created by internal routines to avoid gaps) or for deleted banks;<br />

2 bank created by the user;<br />

3 protected bank reserved for internal use: it cannot be deleted by the user.<br />

94 DRAW399 – 1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!