CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
ModelerDefs.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2022, Open Design Alliance (the "Alliance").
3// All rights reserved.
4//
5// This software and its documentation and related materials are owned by
6// the Alliance. The software may only be incorporated into application
7// programs owned by members of the Alliance, subject to a signed
8// Membership Agreement and Supplemental Software License Agreement with the
9// Alliance. The structure and organization of this software are the valuable
10// trade secrets of the Alliance and its suppliers. The software is also
11// protected by copyright law and international treaty provisions. Application
12// programs incorporating this software must include the following statement
13// with their copyright notices:
14//
15// This application incorporates Open Design Alliance software pursuant to a license
16// agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2022 by Open Design Alliance.
18// All rights reserved.
19//
20// By use of this software, its documentation or related materials, you
21// acknowledge and accept the above terms.
23
24#ifndef TYPEVER_H
25#define TYPEVER_H
29typedef int AfTypeVer;
30
32{
33 kAfVerMask = 0x00FFFFFF,
35 kAfVerAny = 0x00000000,
37
38 kAfVer105 = 105,
39 kAfVer106 = 106,
40 kAfVer107 = 107,
41 kAfVer200 = 200,
42 kAfVer201 = 201,
43 kAfVer400 = 400,
44 kAfVer500 = 500,
45 kAfVer600 = 600,
46 kAfVer700 = 700,
47 kAfVer1000 = 1000,
48 kAfVer1100 = 1100,
49 kAfVer20800 = 20800,
50 kAfVer21200 = 21200,
51 kAfVer21500 = 21500,
52 kAfVer21600 = 21600,
53 kAfVer21700 = 21700,
54 kAfVer21800 = 21800,
55 kAfVer22300 = 22300,
57#if defined(OD_SWIGCSHARP)
58 kAfTypeMask = (uint)0xFF000000,
59#elif defined(OD_SWIGJAVA)
60 kAfTypeMask = (long)0xFF000000,
61#else
62 kAfTypeMask = (OdInt32)0xFF000000,
63#endif
65 kAfTypeAny = 0x00000000,
67
68 kAfTypeASCII = 0x01000000,
69 kAfTypeBinary = 0x02000000,
70#if defined(OD_SWIGCSHARP)
71 kAfTypeIndexed = (uint)0x80000000, // used only with kAfTypeASCII
72#elif defined(OD_SWIGJAVA)
73 kAfTypeIndexed = (long)0x80000000, // used only with kAfTypeASCII
74#else
75 kAfTypeIndexed = (OdInt32)0x80000000, // used only with kAfTypeASCII
76#endif
77
78
82
84
94
105
107{
124};
125
126
128{
136 kArrExtrudeSurface_CLine = 13, // 16 for plane surface. See EXTEND_2CL.dwg
137 //kExtrudeSurface_Side_CLine = 13
138};
139//static std::map <int, int> mapAcisDataType = //TODO Not all AcisDataType added to map
140//{
141// { kSurfaceExtrude_CMark, 5 },
142// { kPlaneSurface_CLine, 11 },
143// { kPlaneSurface_CLine56, 12 },
144// { kSolidExtrude_CLCM, 11 },
145// { kSolidBox_CLine, 14 },
146// { kExtendCL, 15 },
147// { kExtrudeSurface_TopOrBottom_CLine, 13 }, // 16 for plane surface. See EXTEND_2CL.dwg
148// { kExtrudeSurface_Side_CLine, 13 }
149//};
150
155namespace OdDb
156{
158 {
161 kBoolSubtract = 2
162 };
163}
164
171{
179
180#define ABSTREAM_BINARY "ACIS BinaryFile"
181#define ABSTREAM_BINARY_ASM "ASM BinaryFile4"
182#define AB_TYPE_LENGTH 15
183
184#define AB_IS_BINARY(sBin) ((::strncmp( ABSTREAM_BINARY, sBin, AB_TYPE_LENGTH ) == 0) || (::strncmp( ABSTREAM_BINARY_ASM, sBin, AB_TYPE_LENGTH ) == 0))
185#endif //TYPEVER_H
unsigned int uint
Definition: FxQtCore.h:73
AcisDataTypeArrFirst
Definition: ModelerDefs.h:128
@ kArrPlaneSurface_CLine56
Definition: ModelerDefs.h:132
@ kArrFirstSolidExtrude_CMark
Definition: ModelerDefs.h:131
@ kArrExtrudeSurface_CLine
Definition: ModelerDefs.h:136
@ kArrSolidExtrude_CLCM
Definition: ModelerDefs.h:133
@ kArrFirstSurfaceExtrude_CMark
Definition: ModelerDefs.h:130
@ kUndefinedDataTypeArrFirst
Definition: ModelerDefs.h:129
@ kArrSolidBox_CLine
Definition: ModelerDefs.h:134
@ kArrExtendCL
Definition: ModelerDefs.h:135
ColorConversionType
Definition: ModelerDefs.h:171
@ kConvAcisColors
Definition: ModelerDefs.h:175
@ kConvNone
Definition: ModelerDefs.h:173
@ kConvAndReplaceColors
Definition: ModelerDefs.h:177
AfTypeVerEnum
Definition: ModelerDefs.h:32
@ kAf_ASCII_106
Definition: ModelerDefs.h:86
@ kAfVer22300
Definition: ModelerDefs.h:55
@ kAfVerMask
Definition: ModelerDefs.h:33
@ kAfVer21500
Definition: ModelerDefs.h:51
@ kAfVer21600
Definition: ModelerDefs.h:52
@ kAf_Binary_400
Definition: ModelerDefs.h:97
@ kAfVer400
Definition: ModelerDefs.h:43
@ kAfTypeIndexed
Definition: ModelerDefs.h:75
@ kAfTypeVerInvalid
Definition: ModelerDefs.h:79
@ kAfVer500
Definition: ModelerDefs.h:44
@ kAf_Binary_21200
Definition: ModelerDefs.h:102
@ kAfVerAny
Definition: ModelerDefs.h:35
@ kAf_Binary_Any
Definition: ModelerDefs.h:95
@ kAfVer1000
Definition: ModelerDefs.h:47
@ kAfVerInvalid
Definition: ModelerDefs.h:34
@ kAfTypeUnknown
Definition: ModelerDefs.h:66
@ kAfVer600
Definition: ModelerDefs.h:45
@ kAfVer21700
Definition: ModelerDefs.h:53
@ kAf_Binary_21500
Definition: ModelerDefs.h:103
@ kAfVer21800
Definition: ModelerDefs.h:54
@ kAfVer107
Definition: ModelerDefs.h:40
@ kAf_Binary_600
Definition: ModelerDefs.h:99
@ kAfTypeVerUnknown
Definition: ModelerDefs.h:81
@ kAfTypeAny
Definition: ModelerDefs.h:65
@ kAf_Binary_106
Definition: ModelerDefs.h:96
@ kAfTypeVerAny
Definition: ModelerDefs.h:80
@ kAfVer1100
Definition: ModelerDefs.h:48
@ kAf_Binary_20800
Definition: ModelerDefs.h:101
@ kAfLastVersion
Definition: ModelerDefs.h:56
@ kAf_ASCII_400
Definition: ModelerDefs.h:87
@ kAfVer106
Definition: ModelerDefs.h:39
@ kAf_ASCII_21500
Definition: ModelerDefs.h:93
@ kAf_ASCII_500
Definition: ModelerDefs.h:88
@ kAfVer201
Definition: ModelerDefs.h:42
@ kAfVerUnknown
Definition: ModelerDefs.h:36
@ kAfVer20800
Definition: ModelerDefs.h:49
@ kAf_Binary_700
Definition: ModelerDefs.h:100
@ kAfTypeMask
Definition: ModelerDefs.h:62
@ kAfTypeASCII
Definition: ModelerDefs.h:68
@ kAf_ASCII_700
Definition: ModelerDefs.h:90
@ kAfTypeBinary
Definition: ModelerDefs.h:69
@ kAf_Binary_500
Definition: ModelerDefs.h:98
@ kAf_ASCII_21200
Definition: ModelerDefs.h:92
@ kAfVer21200
Definition: ModelerDefs.h:50
@ kAfVer700
Definition: ModelerDefs.h:46
@ kAfVer200
Definition: ModelerDefs.h:41
@ kAf_ASCII_20800
Definition: ModelerDefs.h:91
@ kAfTypeInvalid
Definition: ModelerDefs.h:64
@ kAf_ASCII_600
Definition: ModelerDefs.h:89
@ kAf_ASCII_Any
Definition: ModelerDefs.h:85
@ kAfVer105
Definition: ModelerDefs.h:38
AcisDataType
Definition: ModelerDefs.h:107
@ kPlaneSurface_CLine
Definition: ModelerDefs.h:115
@ kSphere_CMark
Definition: ModelerDefs.h:110
@ kSolidBox_CLine
Definition: ModelerDefs.h:120
@ kRevolvedSurface_CMark_Any
Definition: ModelerDefs.h:114
@ kLoftedSurface_CLine58
Definition: ModelerDefs.h:118
@ kRevolvedSurface_CMark
Definition: ModelerDefs.h:111
@ kPlaneSurface_CLine56
Definition: ModelerDefs.h:117
@ kSolidExtrude_CMark
Definition: ModelerDefs.h:112
@ kExtrudeSurface_Side_CLine
Definition: ModelerDefs.h:123
@ kLoftedSurface_CLine60
Definition: ModelerDefs.h:119
@ kUndefinedDataType
Definition: ModelerDefs.h:108
@ kSurfaceExtrude_CMark
Definition: ModelerDefs.h:109
@ kSolidExtrude_CLCM
Definition: ModelerDefs.h:116
@ kExtendCL
Definition: ModelerDefs.h:121
@ kExtrudeSurface_TopOrBottom_CLine
Definition: ModelerDefs.h:122
@ kSphereSlice_CMark
Definition: ModelerDefs.h:113
int AfTypeVer
Definition: ModelerDefs.h:29
int OdInt32
BoolOperType
Definition: ModelerDefs.h:158
@ kBoolUnite
Definition: ModelerDefs.h:159
@ kBoolSubtract
Definition: ModelerDefs.h:161
@ kBoolIntersect
Definition: ModelerDefs.h:160