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

NAME

6       Tdpack - A set of routines allowing one to draw representations of
7       three-dimensional objects.
8

SYNOPSIS

10       TDPACK (which stands for "Three Dimensional PACKage") is a collection
11       of routines for projecting objects from a 3-dimensional coordinate
12       system having U, V, and W axes to a 2-dimensional projection plane
13       having X and Y axes and/or for drawing the projections of those
14       objects.  This can be referred to somewhat loosely as "drawing objects
15       in three dimensions".
16
17       Tdpack consists of the following routines:
18
19       Initialization Routines:
20
21         TDINIT - Define eye position, line of sight, up direction, and stereo
22                  flag.
23
24         TDPARA - Define the reference parallelogram.
25
26         TDCLRS - Define colors for TDPACK.
27
28       Parameter-Access Routines:
29
30         TDGETI - Get the integer value of an internal parameter.
31
32         TDGETR - Get the real value of an internal parameter.
33
34         TDGTRS - Get the definition of a specified rendering style.
35
36         TDSETI - Set the integer value of an internal parameter.
37
38         TDSETR - Set the real value of an internal parameter.
39
40         TDSTRS - Define a specified rendering style.
41
42       Point-Transforming Routines:
43
44         TDPRPT - Project from 3-space to the projection plane.
45
46         TDPRPA - Project from 3-space to the plane of the reference
47                  parallelogram.
48
49         TDPRPI - Project from the plane of the reference parallelogram to
50                  3-space.
51
52       Line-Drawing Routines:
53
54         TDLINE - Draw the projection of a line in 3-space.
55
56         TDLNPA - Draw the projection of a line in the plane of the reference
57                  parallelogram.
58
59       Grid-Drawing Routines:
60
61         TDGRDS - Draw the grids on all the faces of a box in 3-space.
62
63         TDGRID - Draw the grid on a particular face of a box in 3-space.
64
65       Label-Drawing Routines:
66
67         TDLBLS - Draw labels for all faces of a box in 3-space.
68
69         TDLBLA - Draw labels for a particular face of a box in 3-space.
70
71         TDPLCH - Draw characters in the plane of the reference parallelogram.
72
73       Surface-Drawing Routines:
74
75         TDDTRI - Draw triangles defined by a triangle list.
76
77         TDSTRI - Add triangles defining a simple surface to a triangle list.
78
79         TDITRI - Add triangles defining an isosurface to a triangle list.
80
81         TDMTRI - Add triangles defining a 3D marker to a triangle list.
82
83         TDCTRI - Order the triangles in a triangle list for proper rendering.
84
85         TDSORT - Cut triangles with a plane perpendicular to one of the axes.
86
87         TDOTRI - Generic sorting routine
88

C-BINDING SYNOPSIS

90       #include <ncarg/ncargC.h>
91
92       c_tdinit
93       c_tdpara
94       c_tdclrs
95       c_tdgeti
96       c_tdgetr
97       c_tdgtrs
98       c_tdseti
99       c_tdsetr
100       c_tdstrs
101       c_tdprpt
102       c_tdprpa
103       c_tdprpi
104       c_tdline
105       c_tdlnpa
106       c_tdgrds
107       c_tdgrid
108       c_tdlbls
109       c_tdlbla
110       c_tdplch
111       c_tddtri
112       c_tdstri
113       c_tditri
114       c_tdmtri
115       c_tdotri
116       c_tdctri
117       c_tdsort
118

ACCESS

120       To use Tdpack, load the NCAR Graphics libraries ncarg, ncarg_gks, and
121       ncarg_c, preferably in that order.
122

MESSAGES

124       When error conditions are detected, the support routine SETER is
125       called. By default, SETER writes a message to the standard error file
126       (as defined by I1MACH(4)) and then terminates execution.  It is
127       possible to put SETER into recovery mode and regain control after a
128       recoverable error (which includes all of the possible errors).
129
130       The possible error messages are listed below.  All errors are
131       recoverable in the sense that a user program which has called ENTSR to
132       set recovery mode will get control back after one of these errors
133       occurs.
134
135            TDGETI - UNCLEARED PRIOR ERROR
136            TDGETR - UNCLEARED PRIOR ERROR
137            TDGETR - UNRECOGNIZED PARAMETER NAME
138            TDINIT - UNCLEARED PRIOR ERROR
139            TDPARA - UNCLEARED PRIOR ERROR
140            TDPRPA - UNCLEARED PRIOR ERROR
141            TDPRPI - UNCLEARED PRIOR ERROR
142            TDPRPT - UNCLEARED PRIOR ERROR
143            TDSETI - UNCLEARED PRIOR ERROR
144            TDSETR - UNCLEARED PRIOR ERROR
145            TDSETR - UNRECOGNIZED PARAMETER NAME
146
147

SEE ALSO

149       Online: tdclrs, tddtri, tdgeti, tdgetr, tdgrds, tdgrid, tdgtrs, tdinit,
150       tditri, tdlbla, tdlbls, tdline, tdlnpa, tdmtri, tdotri, tdpack_params,
151       tdpara, tdplch, tdprpa, tdprpi, tdprpt, tdseti, tdsetr, tdsort, tdstri,
152       tdstrs
153
155       Copyright (C) 1987-2009
156       University Corporation for Atmospheric Research
157       The use of this Software is governed by a License Agreement.
158
159
160
161UNIX                               July 1997                    Tdpack(3NCARG)
Impressum