UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ZBody.h
1 #if !defined(ZBODY_H_)
2 #define ZBODY_H_
3 
4 #include <Zgraph.h>
5 
6 #define CuX 0x01
7 #define CuX_ 0x02
8 #define CuY 0x04
9 #define CuY_ 0x08
10 #define CuZ 0x10
11 #define CuZ_ 0x20
12 #define CuA 0x1000
13 
14 typedef struct {
15  int nearC,i;
16  } BodyCube;
17 
18 typedef struct {
19  int n;
20  BodyCube* bc;
21  } BodyCubes;
22 typedef struct {
23  int n;
24  void* ptr;
25  } ZPntr;
26 typedef struct {
27  Vector3D v1,v2;
28  Vector3D n1,n2;
29  } Segment3D;
30 typedef struct {
31  int n;
32  Segment3D* s;
33  } Segment3Ds;
34 
35 GridData* AllocSurfBody(WIN3D* w,DVData* dv,ORool* o,int plz_,
36  ColorInd* dvCI,char* name);
37 extern int SetBodyPal(ColorInd* dvCI);
38 extern int DelSurfBody(int plz_,char* name);
39 extern int SetNBody(int n);
40 extern int DrawBody(WIN3D* w,DVData* dv,ORool* o,ColorInd* dvCI,
41  double vl,int plz_);
42 extern int TestBody(WIN3D* w,DVData* dv,ORool* o,ColorInd* dvCI,
43  double vl,int plz_);
44 int AllocBodyCubes(BodyCubes* b,int n);
45 
46 #endif
Definition: Zgraph.h:193
Definition: Zgraph.h:57
Definition: Zgraph.h:214
Definition: ZBody.h:22
Definition: ZBody.h:30
Definition: Zgraph.h:88
Definition: ZBody.h:26
Definition: ZBody.h:14
Definition: Zgraph.h:117
Definition: Zgraph.h:100
Definition: ZBody.h:18