29 struct MicroStationAppIdRootsCallback;
39 #define ELMBITMSK(elmNum) (1<<((elmNum-1)%16))
40 #define TMSK0_CELL_LIB ELMBITMSK (CELL_LIB_ELM)
41 #define TMSK0_CELL_HEADER ELMBITMSK (CELL_HEADER_ELM)
42 #define TMSK0_LINE ELMBITMSK (LINE_ELM)
43 #define TMSK0_LINE_STRING ELMBITMSK (LINE_STRING_ELM)
44 #define TMSK0_GROUP_DATA ELMBITMSK (GROUP_DATA_ELM)
45 #define TMSK0_SHAPE ELMBITMSK (SHAPE_ELM)
46 #define TMSK0_TEXT_NODE ELMBITMSK (TEXT_NODE_ELM)
47 #define TMSK0_DIG_SETDATA ELMBITMSK (DIG_SETDATA_ELM)
48 #define TMSK0_DGNFIL_HEADER ELMBITMSK (DGNFIL_HEADER_ELM)
49 #define TMSK0_LEV_SYM ELMBITMSK (LEV_SYM_ELM)
50 #define TMSK0_CURVE ELMBITMSK (CURVE_ELM)
51 #define TMSK0_CMPLX_STRING ELMBITMSK (CMPLX_STRING_ELM)
52 #define TMSK0_CONIC ELMBITMSK (CONIC_ELM)
53 #define TMSK0_CMPLX_SHAPE ELMBITMSK (CMPLX_SHAPE_ELM)
54 #define TMSK0_ELLIPSE ELMBITMSK (ELLIPSE_ELM)
55 #define TMSK0_ARC ELMBITMSK (ARC_ELM)
58 #define TMSK1_TEXT ELMBITMSK (TEXT_ELM)
59 #define TMSK1_SURFACE ELMBITMSK (SURFACE_ELM)
60 #define TMSK1_SOLID ELMBITMSK (SOLID_ELM)
61 #define TMSK1_BSPLINE_POLE ELMBITMSK (BSPLINE_POLE_ELM)
62 #define TMSK1_POINT_STRING ELMBITMSK (POINT_STRING_ELM)
63 #define TMSK1_CONE ELMBITMSK (CONE_ELM)
64 #define TMSK1_BSPLINE_SURFACE ELMBITMSK (BSPLINE_SURFACE_ELM)
65 #define TMSK1_BSURF_BOUNDARY ELMBITMSK (BSURF_BOUNDARY_ELM)
66 #define TMSK1_BSPLINE_KNOT ELMBITMSK (BSPLINE_KNOT_ELM)
67 #define TMSK1_BSPLINE_CURVE ELMBITMSK (BSPLINE_CURVE_ELM)
68 #define TMSK1_BSPLINE_WEIGHT ELMBITMSK (BSPLINE_WEIGHT_ELM)
71 #define TMSK2_DIMENSION ELMBITMSK (DIMENSION_ELM)
72 #define TMSK2_SHAREDCELL_DEF ELMBITMSK (SHAREDCELL_DEF_ELM)
73 #define TMSK2_SHARED_CELL ELMBITMSK (SHARED_CELL_ELM)
74 #define TMSK2_MULTILINE ELMBITMSK (MULTILINE_ELM)
75 #define TMSK2_ATTRIBUTE ELMBITMSK (ATTRIBUTE_ELM)
76 #define TMSK2_TYPE44 ELMBITMSK (TYPE44_ELM)
77 #define TMSK2_DGNSTORE_HDR ELMBITMSK (DGNSTORE_HDR)
80 #define TMSK4_MICROSTATION_ELM ELMBITMSK (MICROSTATION_ELM)
83 #define TMSK5_RASTER_HDR ELMBITMSK (RASTER_HDR)
84 #define TMSK5_RASTER_COMP ELMBITMSK (RASTER_COMP)
85 #define TMSK5_RASTER_LINK ELMBITMSK (RASTER_REFERENCE_ELM)
86 #define TMSK5_RASTER_REFCMPN ELMBITMSK (RASTER_REFERENCE_COMP)
87 #define TMSK5_RASTER_HIERARCHY ELMBITMSK (RASTER_HIERARCHY_ELM)
88 #define TMSK5_RASTER_HIERARCHYCMPN ELMBITMSK (RASTER_HIERARCHY_COMP)
89 #define TMSK5_RASTER_FRAME ELMBITMSK (RASTER_FRAME_ELM)
90 #define TMSK5_TABLE_ENTRY ELMBITMSK (TABLE_ENTRY_ELM)
91 #define TMSK5_TABLE ELMBITMSK (TABLE_ELM)
94 #define TMSK6_MATRIX_HEADER ELMBITMSK (MATRIX_HEADER_ELM)
95 #define TMSK6_MATRIX_INT_DATA ELMBITMSK (MATRIX_INT_DATA_ELM)
96 #define TMSK6_MATRIX_DOUBLE_DATA ELMBITMSK (MATRIX_DOUBLE_DATA_ELM)
97 #define TMSK6_MESH_HEADER ELMBITMSK (MESH_HEADER_ELM)
98 #define TMSK6_EXTENDED ELMBITMSK (EXTENDED_ELM)
99 #define TMSK6_EXTENDED_NONGRAPHIC_ELM ELMBITMSK (EXTENDED_NONGRAPHIC_ELM)
100 #define TMSK6_VIEW_GROUP ELMBITMSK (VIEW_GROUP_ELM)
101 #define TMSK6_VIEW ELMBITMSK (VIEW_ELM)
102 #define TMSK6_LEVEL_MASK ELMBITMSK (LEVEL_MASK_ELM)
103 #define TMSK6_REFERENCE_ATTACH ELMBITMSK (REFERENCE_ATTACH_ELM)
104 #define TMSK6_NAMED_GROUP_HDR ELMBITMSK (NAMED_GROUP_HDR_ELM)
105 #define TMSK6_DGNCOMPONENT_INSTANCE ELMBITMSK (DGNCOMPONENT_INSTANCE_ELM)
113 #define MDLELMDSCR_OPERATION_SKIP_MY_CHILDREN (-10)
119 #define MSSTARTAPP_LEVEL 10
121 #define MSXBASE_LEVEL 10 // Xbase
122 #define MSDB_LEVEL 10 // exists for backwards compatibility to XBASE
123 #define MSIX_LEVEL 11 // Informix
124 #define MSRIS_LEVEL 12 // RIS
125 #define MSORACLE_LEVEL 13 // Oracle
126 #define MSINGRES_LEVEL 14 // INGRES
127 #define MSSYBASE_LEVEL 15 // Sybase
128 #define MSODBC_LEVEL 16 // ODBC
129 #define MSCTMORCL_LEVEL 17 // Continuum Oracle
130 #define MSOLEDB_LEVEL 18 // OLEDB
131 #define MSBUDBC_LEVEL 19 // Bentley Universal Database Connection
133 #define MSAPPINFO_LEVEL 20
134 #define MSSTARTMDL_LEVEL 21
135 #define MSATTRDATA_LEVEL 24
136 #define MSTCBEXT_LEVEL 25
137 #define MSMAP_LEVEL 26
138 #define MSBREP_LEVEL 28
139 #define MSPROJECTBANK_LEVEL 29
140 #define MSMODELELEMENT_LEVEL 32
141 #define MSUPDATESEQUENCE_LEVEL 33
144 #define MS_LEVEL_TABLE_LEVEL 1
145 #define MS_FONT_TABLE_LEVEL 2
146 #define MS_TEXTSTYLE_TABLE_LEVEL 3
147 #define MS_FILTER_TABLE_LEVEL 4
148 #define MS_DIMSTYLE_TABLE_LEVEL 5
149 #define MS_MLINESTYLE_TABLE_LEVEL 6
150 #define MS_LSTYLE_NAME_LEVEL 7
151 #define MS_LSTYLE_DEF_LEVEL 8
152 #define MS_DICTIONARY_TABLE_LEVEL 9
153 #define MS_REGAPP_TABLE_LEVEL 10
154 #define MS_COLORBOOK_TABLE_LEVEL 11
155 #define MS_CUSTOM_RENDERMODE_LEVEL 12 // Deprecated (never used in production).
156 #define MS_SYMBOLSTYLE_TABLE_LEVEL 16
157 #define MS_COLORBOOK_LEVEL 17
158 #define MS_MATERIAL_PALETTE_LEVEL 18
159 #define MS_LEVEL_NAME_DICTIONARY_TABLE_LEVEL 19
160 #define MS_ANIMATION_PARAMETER_TABLE_LEVEL 20
161 #define MS_ANIMATION_SCHEDULEINFO_TABLE_LEVEL 21
162 #define MS_RENDERSETUP_LEVEL 22
163 #define MS_LIGHTSETUP_LEVEL 23
164 #define MS_NAMED_PRESENTATION_TABLE_LEVEL 24
165 #define MS_MAX_VALID_TABLE_LEVEL MS_NAMED_PRESENTATION_TABLE_LEVEL
166 #define MS_NUM_VALID_TABLE_LEVELS (MS_MAX_VALID_TABLE_LEVEL+1)
170 #define VIEW_GROUP_HDR_LEVEL 1
173 #define VIEW_HDR_LEVEL 1
180 #define MSEXACTCOLOR_SIGNATURE 140
181 #define MSDIGITAL_SIGNATURE 22145
182 #define MSMODELER_SIGNATURE 20286
183 #define MSIMAGEMANAGER_SIGNATURE 22082
184 #define MSFARREFELM_SIGNATURE 22246
185 #define MSDESIGNLINKS_SIGNATURE 22594
186 #define MSCONFLICTS_SIGNATURE 22275
187 #define MSAPPLICATIONSETTINGS_SIGNATURE 22276
188 #define MSRELATIONSHIPS_SIGNATURE 22277
189 #define MSGEOCOORD_SIGNATURE 182 // 0x00b6
196 enum MSRasterElemTypes
199 BYTE_DATA_RASTER = 2,
200 BINARY_RLE_RASTER = 9,
201 BYTE_RLE_RASTER = 24,
209 #define SURFTYPE_PROJECTION 0
210 #define SURFTYPE_REVOLUTION 8
211 #define SOLIDTYPE_REVOLUTION 1
218 #define BSPLINE_CONSTRUCTION_POLE 0
219 #define BSPLINE_CONSTRUCTION_INTERPOLATION 1
220 #define BSPLINE_CONSTRUCTION_LEASTSQUARE 2
227 #define ELM_HDR_ARCHIVE_NEW 2
228 #define ELM_HDR_ARCHIVE_MODIFIED 1
230 #if !defined (__midl) // During MIDL compile, all we care about are the values of the #define constants.
272 T_Adouble lastModified;
280 struct DispHdrProperties
332 typedef struct cell_2d
341 UInt16 matchSourceAnnotationSize:1;
342 UInt16 matchSourceDimValue:1;
343 UInt16 matchSourceMultilineOffset:1;
348 T_Adouble transform[2][2];
357 typedef struct cell_3d
366 UInt16 matchSourceAnnotationSize:1;
367 UInt16 matchSourceDimValue:1;
368 UInt16 matchSourceMultilineOffset:1;
373 T_Adouble transform[3][3];
382 typedef struct line_2d
395 typedef struct line_3d
414 typedef struct line_string_2d
430 typedef struct line_string_3d
445 typedef struct colorTable
457 typedef struct text_node_2d
469 T_Adouble rotationAngle;
479 typedef struct text_node_3d
500 typedef struct dgn_header
511 typedef struct complex_string
524 typedef struct ellipse_2d
530 T_Adouble rotationAngle;
539 typedef struct ellipse_3d
554 typedef struct arc_2d
558 T_Adouble startAngle;
559 T_Adouble sweepAngle;
562 T_Adouble rotationAngle;
571 typedef struct arc_3d
575 T_Adouble startAngle;
576 T_Adouble sweepAngle;
588 typedef struct text_2d
599 T_Adouble rotationAngle;
610 typedef struct text_3d
632 typedef struct surface_type18
647 typedef struct bspline_pole_2d
661 typedef struct bspline_pole_3d
675 typedef struct point_string_2d
689 typedef struct point_string_3d
703 typedef struct cone_3d
726 typedef struct bspline_flags
735 UInt32 isNaturalTangents:1;
736 UInt32 isChordLenTangents:1;
737 UInt32 isColinearTangents:1;
739 UInt32 isZeroStartTangent:1;
740 UInt32 isZeroEndTangent:1;
750 typedef struct bsurf_flags
764 typedef struct bspline_surface
773 Bsurf_flags bsurf_flags;
785 typedef struct bsurf_boundary
790 DPoint2d vertices[1];
798 typedef struct bspline_weight
801 T_Adouble weights[1];
809 typedef struct bspline_curve
824 typedef struct bspline_knot
835 typedef struct scOverride
844 UInt16 scaleDimsWysiwyg:1;
853 typedef union raster_flags
859 unsigned horizontal:1;
862 unsigned transparent:1;
874 typedef struct raster_hdr
885 T_Adouble resolution;
902 typedef struct raster_comp
921 typedef struct applicationElm
935 typedef struct referenceFileElm
942 T_AUInt64 parentAttachmentId;
946 ViewFlags displayFlags[8];
950 DPoint3d masterOrigin;
953 T_Adouble reservedScale[2];
956 DPoint3d cameraPosition;
957 T_Adouble cameraFocalLength;
960 Int16 foreignUnitMode;
962 DPoint2d clipPoints[1];
999 MODELELEMENT_VERSION = 7,
1000 MIN_MODELFLAG_Properties = 0,
1001 MAX_MODELFLAG_Properties = 31,
1002 MIN_MODELFLAG_Settings = 32,
1003 MAX_MODELFLAG_Settings = 63,
1004 MODELFLAG_UseBackgroundColor = 4,
1007 enum IsoPlaneValues {IsoPlaneTop = 0, IsoPlaneLeft, IsoPlaneRight, IsoPlaneAll};
1008 #define MAX_RGB_TRANSPARENTCOLOR 32
1009 #define MAX_CONTTONE_TRANSPARENTCOLOR 256
1010 #define MAXMASKNAMELENGTH 255 //see also MAX_MASK_NAMELENGTH in IRasterAttachment.h
1012 typedef struct _rgbColorCube
1014 RgbColorDef colorMin;
1015 RgbColorDef colorMax;
1018 typedef struct _rgbTransparentColorDef
1020 _RGBColorCube colorCube;
1022 } _RGBTransparentColorDef;
1025 typedef struct _rasterTransparentColorDef
1029 } _RasterTransparentColorDef;
1031 typedef struct _rasterRgbColorCube
1033 RgbaColorDef colorMin;
1034 RgbaColorDef colorMax;
1035 } _RasterRGBColorCube;
1037 typedef struct _rasterRgbTransparentColorDef
1039 _RasterRGBColorCube colorCube;
1042 } _RasterRGBTransparentColorDef;
1044 typedef union _transparentColors
1048 } RasterTransparentColors;
1063 Line_String_2d line_string_2d;
1064 Line_String_3d line_string_3d;
1065 Text_node_2d text_node_2d;
1066 Text_node_3d text_node_3d;
1067 Complex_string complex_string;
1068 Ellipse_2d ellipse_2d;
1069 Ellipse_3d ellipse_3d;
1074 Point_string_2d point_string_2d;
1075 Point_string_3d point_string_3d;
1078 Bspline_pole_2d bspline_pole_2d;
1079 Bspline_pole_3d bspline_pole_3d;
1080 Bspline_curve bspline_curve;
1081 Bspline_surface bspline_surface;
1082 Bspline_weight bspline_weight;
1083 Bspline_knot bspline_knot;
1084 Bsurf_boundary bsurf_boundary;
1085 Raster_hdr raster_hdr;
1086 Raster_comp raster_comp;
1087 ApplicationElm applicationElm;
1089 ReferenceFileElm referenceFileElm;
1122 #endif // !defined (__midl)
The viewport is resized to match the exact size specifed in viewPortInfo.
#define MAX_CONTTONE_TRANSPARENTCOLOR
Definition: rastref.h:32
uint16_t UInt16
Definition: Bentley.r.h:118
union DgnPlatform::MSElement & MSElementR
Definition: DgnPlatform.h:531
struct Bentley::DgnPlatform::ScanRange ScanRange
The scan range used for mdlScanCriteria.
char VariChar
Definition: DgnElements.h:23
iterator end()
Definition: stdcxx/bstdmap.h:186
int16_t Int16
Definition: Bentley.r.h:117
uint32_t UInt32
Definition: Bentley.r.h:128
VariChar * VariCharP
Definition: DgnElements.h:25
int32_t Int32
Definition: Bentley.r.h:119
Defines typedefs and constants that can be used across other namespaces. All Bentley-authored C++ sou...
unsigned char byte
Definition: Bentley.r.h:144
#define MAX_RGB_TRANSPARENTCOLOR
Definition: rastref.h:31
VariChar const * VariCharCP
Definition: DgnElements.h:24
patternParams.rMatrix present
unsigned char Byte
Definition: Bentley.r.h:143
Provides a list of language code page value settings (Bentley/CodePages.h).