1TDGTRS(3NCARG)                   NCAR GRAPHICS                  TDGTRS(3NCARG)
2
3
4

NAME

6       TDGTRS - Get the values defining a selected rendering style, which
7       affects the appearance of triangles drawn by a call to the routine
8       TDDTRI.
9

SYNOPSIS

11       CALL TDGTRS (IRST, IFC1, IFC2, IFC3, IFC4, ILC1, ILC2, ILTD, USTP,
12       VSTP, WSTP)
13

C-BINDING SYNOPSIS

15       #include <ncarg/ncargC.h>
16
17       void c_tdgtrs(int irst, int *ifc1, int *ifc2, int *ifc3, int *ifc4, int
18       *ilc1, int *ilc2, int *iltd, float *ustp, float *vstp, float *wstp)
19

DESCRIPTION

21       The arguments of TDGTRS are as follows:
22
23       IRST    (an input expression of type INTEGER) - the index of the
24               particular rendering style which is to be retrieved.
25
26       IFC1 and IFC2
27               (input expressions of type INTEGER) - color indices specifying
28               a range of colors to be used for the "bottom" side of a surface
29               (where function values are less than the value on the surface).
30               If IFC1 is negative, filling of triangles seen from the
31               "bottom" is turned off. If IFC1 is zero or greater, but IFC2 is
32               less than or equal to it, the color with index IFC1 is used. If
33               IFC1 is zero or greater and IFC2 is greater than IFC1, then a
34               range of color indices is specified; colors near the beginning
35               of that range are used for triangles that are nearly
36               perpendicular to the line of sight, while colors near the end
37               of that range are used for triangles more nearly parallel to
38               the line of sight. (Normally, one should make triangles
39               perpendicular to the line of sight lighter than those parallel
40               to the line of sight.)
41
42       IFC3 and IFC4
43               (input expressions of type INTEGER) - color indices specifying
44               a range of colors to be used for the "top" side of a surface
45               (where function values are greater than the value on the
46               surface). If IFC3 is negative, filling of triangles seen from
47               the "top" is turned off. If IFC3 is zero or greater, but IFC4
48               is less than or equal to it, the color with index IFC3 is used.
49               If IFC3 is zero or greater and IFC4 is greater than IFC3, then
50               a range of color indices is specified; colors near the
51               beginning of that range are used for triangles that are nearly
52               perpendicular to the line of sight, while colors near the end
53               of that range are used for triangles more nearly parallel to
54               the line of sight. (Normally, one should make triangles
55               perpendicular to the line of sight lighter than those parallel
56               to the line of sight.)
57
58       ILC1    (an input expression of type INTEGER) - the color index
59               specifying a color to be used for lines drawn on the "bottom"
60               side of a surface.  If ILC1 is negative, the drawing of these
61               lines is turned off.
62
63       ILC2    (an input expression of type INTEGER) - the color index
64               specifying a color to be used for lines drawn on the "top" side
65               of a surface.  If ILC2 is negative, the drawing of these lines
66               is turned off.
67
68       ILTD    (an input expression of type INTEGER) - a flag, which, if set
69               non-zero, turns on the drawing of the edges of the individual
70               triangles into which surfaces have been decomposed.
71
72       USTP, VSTP, and WSTP
73               (input expressions of type REAL) - the distances between slices
74               in the U, V, and W directions, respectively. If a given value
75               is zero, the associated slice lines are not drawn.
76

C-BINDING DESCRIPTION

78       The C-binding argument descriptions are the same as the FORTRAN
79       argument descriptions.
80

ACCESS

82       To use TDGTRS or c_tdgtrs, load the NCAR Graphics libraries ncarg,
83       ncarg_gks, and ncarg_c, preferably in that order.
84

SEE ALSO

86       Online: tdclrs, tdctri, tddtri, tdgeti, tdgetr, tdgrds, tdgrid, tdinit,
87       tditri, tdlbla, tdlbls, tdline, tdlnpa, tdmtri, tdotri, tdpack,
88       tdpack_params, tdpara, tdplch, tdprpa, tdprpi, tdprpt, tdseti, tdsetr,
89       tdsort, tdstri, tdstrs
90
92       Copyright (C) 1987-2007
93       University Corporation for Atmospheric Research
94
95       This documentation is free software; you can redistribute it and/or
96       modify it under the terms of the GNU General Public License as
97       published by the Free Software Foundation; either version 2 of the
98       License, or (at your option) any later version.
99
100       This software is distributed in the hope that it will be useful, but
101       WITHOUT ANY WARRANTY; without even the implied warranty of
102       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
103       General Public License for more details.
104
105       You should have received a copy of the GNU General Public License along
106       with this software; if not, write to the Free Software Foundation,
107       Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
108
109
110
111UNIX                               July 1997                    TDGTRS(3NCARG)
Impressum