1EZISOS(3NCARG) NCAR GRAPHICS EZISOS(3NCARG)
2
3
4
6 EZISOS - Draws an isosurface.
7
9 CALL EZISOS (F,MU,MV,MW,EYE,SLAB,FISO)
10
12 #include <ncarg/ncargC.h>
13
14 void c_ezisos (float *f, int mu, int mv, int mw,
15 float eye[3], float *slab, float fiso)
16
18 F (an input array of type REAL, dimensioned MU x MV x MW) is
19 a three-dimensional array of data defining the function
20 f(u,v,w). The entire array (elements F(IU,IV,IW), for IU =
21 1 to MU, IV = 1 to MV, and IW = 1 to MW) is to be used. The
22 data are considered to lie in a box in 3-space with
23 opposite corners (in the UVW coordinate system) (1.,1.,1.)
24 and (REAL(MU),REAL(MV),REAL(MW)). The element F(IU,IV,IW)
25 is considered to be the value of the function f at the
26 point (REAL(IU),REAL(IV),REAL(IW)).
27
28 MU (an input expression of type INTEGER) is the first
29 dimension of the array F.
30
31 MV (an input expression of type INTEGER) is the second
32 dimension of the array F.
33
34 MW (an input expression of type INTEGER) is the third
35 dimension of the array F.
36
37 EYE (an input array of type REAL, dimensioned 3) is the
38 position of the eye in the UVW coordinate system. The eye
39 position, at (EYE(1),EYE(2),EYE(3)), must be outside the
40 box containing the data. The point being looked at is at
41 the center of the data box and the projection plane is
42 perpendicular to the line of sight. While gaining
43 experience with the routine, a good choice for EYE is
44 (5.*REAL(MU),3.5*REAL(MV),2.*REAL(MW)).
45
46 SLAB (a scratch array of type REAL, dimensioned at least n x n,
47 where "n" is defined to be MAX[MU,MV,MW]+2) is a workspace
48 for ISOSRF.
49
50 FISO (an input expression of type REAL) is the value of fiso in
51 the equation f(u,v,w)=fiso, which defines the isosurface to
52 be drawn.
53
55 The C-binding argument descriptions are the same as the Fortran
56 argument descriptions, with the following exceptions:
57
58 f t is dimensioned mw by mv by mu
59
60 mu The third dimension of the array f
61
62 mw The first dimension of the array f
63
65 EZISOS is called to draw an isosurface if all of the input array is to
66 be used (rather than a subset of it), if ISOSRF's argument IFLAG is to
67 be chosen internally, and if a frame advance is to be done after the
68 isosurface is drawn. If any of these conditions is not met, use ISOSRF
69 instead.
70
72 Use the ncargex command to see the following relevant example: tisosr,
73 fisissrf.
74
76 To use EZISOS or c_ezisos, load the NCAR Graphics libraries ncarg,
77 ncarg_gks, and ncarg_c, preferably in that order.
78
80 Online: isosurface, isosurface_params, isgeti, isgetr, isosrf, isseti,
81 issetr, pwrzi, ncarg_cbind
82
83 Hardcopy: NCAR Graphics Fundamentals, UNIX Version
84
86 Copyright (C) 1987-2009
87 University Corporation for Atmospheric Research
88 The use of this Software is governed by a License Agreement.
89
90
91
92UNIX March 1993 EZISOS(3NCARG)