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

NAME

6       TDSTRS - Set 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 TDSTRS (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_tdstrs(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 TDSTRS 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               (output variables of type INTEGER) - color indices specifying a
28               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               (output variables of type INTEGER) - color indices specifying a
44               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 output variable 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 output variable 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 output variable 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               (output variables 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 TDSTRS or c_tdstrs, 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, tdgtrs,
87       tdinit, tditri, tdlbla, tdlbls, tdline, tdlnpa, tdmtri, tdotri, tdpack,
88       tdpack_params, tdpara, tdplch, tdprpa, tdprpi, tdprpt, tdseti, tdsetr,
89       tdsort, tdstri
90
92       Copyright (C) 1987-2009
93       University Corporation for Atmospheric Research
94       The use of this Software is governed by a License Agreement.
95
96
97
98UNIX                               July 1997                    TDSTRS(3NCARG)
Impressum