0022627: Change OCCT memory management defaults
[occt.git] / src / DNaming / ModelDefinitions.hxx
1 // File:        ModelDefinitions.hxx
2 // Created:     Thu Apr 30 12:07:06 2009
3 // Author:      Sergey ZARITCHNY <sergey.zaritchny@opencascade.com>
4 // Copyright:   Open  CasCade SA 2009 
5
6
7 #ifndef ModelDefinitions_HeaderFile
8 #define ModelDefinitions_HeaderFile
9
10 #define GEOMOBJECT_GUID    Standard_GUID("6c6915ab-775f-4475-859e-befd74d26a23")
11 #define ATTCH_GUID         Standard_GUID("12e94554-6dbc-11d4-b9c8-0060b0ee281b")
12 #define XTTCH_GUID         Standard_GUID("12e94555-6dbc-11d4-b9c8-0060b0ee281b")
13 #define PTXYZ_GUID         Standard_GUID("12e94556-6dbc-11d4-b9c8-0060b0ee281b")
14 #define PTALINE_GUID       Standard_GUID("12e94557-6dbc-11d4-b9c8-0060b0ee281b")
15 #define PRRLINE_GUID       Standard_GUID("12e94558-6dbc-11d4-b9c8-0060b0ee281b")
16 #define PMIRR_GUID         Standard_GUID("12e94559-6dbc-11d4-b9c8-0060b0ee281b")
17
18 #define BOX_GUID           Standard_GUID("12e94543-6dbc-11d4-b9c8-0060b0ee281b")
19 #define SPH_GUID           Standard_GUID("12e94544-6dbc-11d4-b9c8-0060b0ee281b")
20 #define CYL_GUID           Standard_GUID("12e94545-6dbc-11d4-b9c8-0060b0ee281b")
21 #define CONE_GUID          Standard_GUID("12e94546-6dbc-11d4-b9c8-0060b0ee281b")
22 #define TORUS_GUID         Standard_GUID("12e94547-6dbc-11d4-b9c8-0060b0ee281b")
23
24 #define CUT_GUID           Standard_GUID("12e94548-6dbc-11d4-b9c8-0060b0ee281b")
25 #define FUSE_GUID          Standard_GUID("12e94549-6dbc-11d4-b9c8-0060b0ee281b")
26 #define COMMON_GUID        Standard_GUID("12e9454a-6dbc-11d4-b9c8-0060b0ee281b")
27
28 #define PRISM_GUID         Standard_GUID("12e94550-6dbc-11d4-b9c8-0060b0ee281b")
29 #define FULREVOL_GUID      Standard_GUID("12e94551-6dbc-11d4-b9c8-0060b0ee281b")
30 #define SECREVOL_GUID      Standard_GUID("12e94552-6dbc-11d4-b9c8-0060b0ee281b")
31 #define FILLT_GUID         Standard_GUID("12e94553-6dbc-11d4-b9c8-0060b0ee281b")
32 #define CHAMF_GUID         Standard_GUID("12e9455a-6dbc-11d4-b9c8-0060b0ee281b")
33 #define OFFSET_GUID        Standard_GUID("12e9455b-6dbc-11d4-b9c8-0060b0ee281b")
34
35 #define PNTXYZ_GUID        Standard_GUID("12e9455c-6dbc-11d4-b9c8-0060b0ee281b")
36 #define PNTRLT_GUID        Standard_GUID("12e9455d-6dbc-11d4-b9c8-0060b0ee281b")
37 #define LINE3D_GUID        Standard_GUID("12e9455e-6dbc-11d4-b9c8-0060b0ee281b")
38 #define WIRE_GUID          Standard_GUID("12e9455f-6dbc-11d4-b9c8-0060b0ee281b")
39
40 //Function structure definitions
41 #define FUNCTION_ARGUMENTS_LABEL 1
42 #define FUNCTION_RESULT_LABEL    2
43 #define POSITION(Function,theA) Function->Label().FindChild(FUNCTION_ARGUMENTS_LABEL).FindChild(theA)
44 #define RESPOSITION(Function) Function->Label().FindChild(FUNCTION_RESULT_LABEL)
45 #define BOX_DX 1
46 #define BOX_DY 2
47 #define BOX_DZ 3
48 #define CYL_RADIUS 1
49 #define CYL_HEIGHT 2
50 #define CYL_AXIS   3
51 #define ATTACH_ARG 1
52 #define BOOL_TOOL  1
53 #define FILLET_RADIUS 1
54 #define FILLET_SURFTYPE 2
55 #define FILLET_PATH   3
56 #define PTRANSF_DX 1
57 #define PTRANSF_DY 2
58 #define PTRANSF_DZ 3
59 #define PTRANSF_OFF 1
60 #define PTRANSF_ANG 1
61 #define PTRANSF_LINE 2
62 #define PTRANSF_PLANE 1
63 #define PRISM_BASIS  1 
64 #define PRISM_HEIGHT 2
65 #define PRISM_DIR    3
66 #define REVOL_BASIS  1 
67 #define REVOL_AXIS   2
68 #define REVOL_ANGLE  3
69 #define REVOL_REV    4
70 #define SPHERE_CENTER 1
71 #define SPHERE_RADIUS 2
72 #define PNT_DX 1
73 #define PNT_DY 2
74 #define PNT_DZ 3
75 #define PNTRLT_REF 4
76 #define LINE3D_TYPE  1
77 #define LINE3D_PNTNB 2
78 #define DONE 0
79 #define NOTDONE 9999
80 #define ALGO_FAILED 11
81 #define RESULT_NOT_VALID 12
82 #define WRONG_AXIS       13
83 #define WRONG_ARGUMENT   14
84 #define UNSUPPORTED_FUNCTION 15
85 #define NULL_RESULT      16
86 #define WRONG_CONTEXT    14
87 #define NAMING_FAILED    15
88
89 #endif