41#if !defined( _GLS_GLO_FILE_H_ )
42# define _GLS_GLO_FILE_H_
51# if( defined( GLS_EXPORT_GENERATED ) || defined( GLS_IMPORT_GENERATED ) ) \
52 && defined( _MSC_VER )
53# if defined( GLS_EXPORT_GENERATED )
54# define GLSGEN_GlsGloFile_EXPORT __declspec( dllexport )
56# define GLSGEN_GlsGloFile_EXPORT __declspec( dllimport )
59# define GLSGEN_GlsGloFile_EXPORT
66class GlsGloFileAttribute;
119 GLS_GLO_INSTANCE_NAME = 1,
121 GLS_GLO_ROTATION_POINT,
122 GLS_GLO_ACTION_CALLBACK,
124 GLS_GLO_ATTRIBUTE_NAME,
125 GLS_GLO_TEXTURE_INDEX,
126 GLS_GLO_TEXTURE_REPEAT,
127 GLS_GLO_TEXTURE_MAP_MODE,
128 GLS_GLO_TEXTURE_MIN_FILTER,
129 GLS_GLO_TEXTURE_MAG_FILTER,
130 GLS_GLO_TEXTURE_BLEND_COLOR,
131 GLS_GLO_TEXTURE_ROTATION,
132 GLS_GLO_TEXTURE_SCALE_H,
133 GLS_GLO_TEXTURE_SCALE_V,
134 GLS_GLO_TEXTURE_OFFSET_X,
135 GLS_GLO_TEXTURE_OFFSET_Y,
136 GLS_GLO_POLYGON_MODE,
138 GLS_GLO_POLYGON_OFFSET,
140 GLS_GLO_COLOR_MATERIAL_MODE,
142 GLS_GLO_LINE_STIPPLE_PATTERN,
143 GLS_GLO_LINE_STIPPLE_MULTIPLIER,
145 GLS_GLO_CULLBACKFACE,
153 GLS_GLO_LIGHTING_ENABLED,
154 GLS_GLO_MATERIAL_INDEX,
155 GLS_GLO_MATERIAL_INDICES,
157 GLS_GLO_COMPONENT_ABSOLUTE_PLACEMENT,
158 GLS_GLO_COMPONENT_EDITOR_TRANSFORM,
159 GLS_GLO_TEXTURE_POINTS,
162 GLS_GLO_COMPONENT_USE_PARENT_LIGHTING,
165 GLS_GLO_NEED_CALCULATE,
166 GLS_GLO_NEED_PREDRAW,
167 GLS_GLO_NUMBER_OF_VERTICES,
170 GLS_GLO_TEXTURE_COORDINATES,
173 GLS_GLO_CYLINDER_COLOR,
174 GLS_GLO_CYLINDER_SEGMENTS,
175 GLS_GLO_CYLINDER_FACES,
176 GLS_GLO_CYLINDER_FACE_START,
177 GLS_GLO_CYLINDER_FACE_END,
178 GLS_GLO_CYLINDER_TOP_SIZE,
179 GLS_GLO_CYLINDER_BOTTOM_SIZE,
180 GLS_GLO_CYLINDER_TOP_FACE,
181 GLS_GLO_CYLINDER_BOTTOM_FACE,
182 GLS_GLO_CYLINDER_RADII,
185 GLS_GLO_EYEPOINT_FOV,
186 GLS_GLO_EYEPOINT_ORTHOGRAPHIC,
187 GLS_GLO_EYEPOINT_ORTHO_SIZE,
188 GLS_GLO_EYEPOINT_FOV_IS_HORIZONTAL,
189 GLS_GLO_EYEPOINT_ASPECT,
190 GLS_GLO_EYEPOINT_NEAR_CLIP,
191 GLS_GLO_EYEPOINT_FAR_CLIP,
192 GLS_GLO_EYEPOINT_MAINTAIN_ASPECT,
193 GLS_GLO_EYEPOINT_VIEW_VECTORS,
194 GLS_GLO_EYEPOINT_OTHER_FOV,
195 GLS_GLO_EYEPOINT_OTHER_ORTHO_SIZE,
196 GLS_GLO_EYEPOINT_HORIZONTAL_CONSTRAINT,
197 GLS_GLO_EYEPOINT_VERTICAL_CONSTRAINT,
200 GLS_GLO_LIGHT_SOURCE_AMBIENT,
201 GLS_GLO_LIGHT_SOURCE_DIFFUSE,
202 GLS_GLO_LIGHT_SOURCE_SPECULAR,
203 GLS_GLO_LIGHT_SOURCE_SPOT_CUTOFF,
204 GLS_GLO_LIGHT_SOURCE_SPOT_EXPONENT,
205 GLS_GLO_LIGHT_SOURCE_CONSTANT_ATTENUATION,
206 GLS_GLO_LIGHT_SOURCE_LINEAR_ATTENUATION,
207 GLS_GLO_LIGHT_SOURCE_QUADRATIC_ATTENUATION,
208 GLS_GLO_LIGHT_SOURCE_LIGHT_TYPE,
211 GLS_GLO_SPHERE_MAPPING,
212 GLS_GLO_SPHERE_COLOR,
213 GLS_GLO_SPHERE_STACKS,
214 GLS_GLO_SPHERE_SLICES,
215 GLS_GLO_SPHERE_SLICE_START,
216 GLS_GLO_SPHERE_SLICE_END,
217 GLS_GLO_SPHERE_STACK_START,
218 GLS_GLO_SPHERE_STACK_END,
219 GLS_GLO_SPHERE_RADII,
223 GLS_GLO_TEXT_CELL_HEIGHT,
224 GLS_GLO_TEXT_CELL_WIDTH,
225 GLS_GLO_TEXT_CONSTRAIN_CELL_RATIO,
226 GLS_GLO_TEXT_CONTROL_CELL_SIZE,
229 GLS_GLO_TEXT_LINESPACING,
230 GLS_GLO_TEXT_LOCK_CELL_SIZE,
231 GLS_GLO_TEXT_JUSTIFY,
234 GLS_GLO_TEXT_UPPERCASE,
236 GLS_GLO_TEXT_HALO_COLOR,
237 GLS_GLO_TEXT_SHADOW_COLOR,
238 GLS_GLO_TEXT_SHADOW_DISTANCE,
239 GLS_GLO_TEXT_BASELINE,
240 GLS_GLO_TEXT_BG_COLOR,
241 GLS_GLO_TEXT_TEXT_COLOR,
242 GLS_GLO_TEXT_CHAR_SCALING,
243 GLS_GLO_TEXT_CHAR_SPACING,
244 GLS_GLO_TEXT_FAUX_BOLD,
245 GLS_GLO_TEXT_INVERSE,
246 GLS_GLO_TEXT_STRIKE_THRU,
247 GLS_GLO_TEXT_UNDERLINE,
250 GLS_GLO_TRIMESH_FIRST_VALUE,
251 GLS_GLO_TRIMESH_USE_DISPLAY_LIST,
252 GLS_GLO_TRIMESH_FACES,
255 GLS_GLO_3DCABLE_FIRST_VALUE,
256 GLS_GLO_3DCABLE_FLEXIBILITY,
257 GLS_GLO_3DCABLE_NUMBEROFSEGMENTS,
258 GLS_GLO_3DCABLE_NUMBEROFSIDES,
259 GLS_GLO_3DCABLE_RADIUS,
260 GLS_GLO_3DCABLE_LENGTH,
261 GLS_GLO_3DCABLE_GRAVITY,
262 GLS_GLO_3DCABLE_SECTIONSLACKPCT,
263 GLS_GLO_3DCABLE_SECTIONFLOORDIST,
264 GLS_GLO_3DCABLE_COLLISIONSTYLE,
265 GLS_GLO_3DCABLE_FILLCOLOR,
266 GLS_GLO_3DCABLE_LINECOLOR,
269 GLS_GLO_GLSBUTTON_CHANGE_CALLBACK,
270 GLS_GLO_GLSBUTTON_TOGGLE,
271 GLS_GLO_GLSBUTTON_WHICH_OBJ_POS_UP,
272 GLS_GLO_GLSBUTTON_WHICH_OBJ_POS_DOWN,
273 GLS_GLO_GLSBUTTON_STATE,
274 GLS_GLO_GLSBUTTON_EMIT_STATE_CHANGE_EVENT,
277 GLS_GLO_ANGULAR_SCALE_FIRST_VALUE,
278 GLS_GLO_ANGULAR_SCALE_RADII,
279 GLS_GLO_ANGULAR_SCALE_DECONFLICT_TICKS,
280 GLS_GLO_ANGULAR_SCALE_HALO_ENABLED,
281 GLS_GLO_ANGULAR_SCALE_HALO_WIDTH,
282 GLS_GLO_ANGULAR_SCALE_HALO_COLOR,
283 GLS_GLO_ANGULAR_SCALE_USE_SCALABLE_LINES,
284 GLS_GLO_ANGULAR_SCALE_RADIUS,
285 GLS_GLO_ANGULAR_SCALE_DATA,
288 GLS_GLO_CLIPPING_GROUP_STATE,
289 GLS_GLO_CLIPPING_GROUP_CLIPPING_ACTIVE,
290 GLS_GLO_CLIPPING_GROUP_BOTTOM_LEFT_CORNER,
291 GLS_GLO_CLIPPING_GROUP_TOP_RIGHT_CORNER,
292 GLS_GLO_CLIPPING_GROUP_SHOW_OUTLINE,
295 GLS_GLO_DYNAMICPATH_FIRST_VALUE,
296 GLS_GLO_DYNAMICPATH_AFFECTS_LOCATION_X,
297 GLS_GLO_DYNAMICPATH_AFFECTS_LOCATION_Y,
298 GLS_GLO_DYNAMICPATH_AFFECTS_LOCATION_Z,
299 GLS_GLO_DYNAMICPATH_AFFECTS_ROTATION_X,
300 GLS_GLO_DYNAMICPATH_AFFECTS_ROTATION_Y,
301 GLS_GLO_DYNAMICPATH_AFFECTS_ROTATION_Z,
302 GLS_GLO_DYNAMICPATH_AFFECTS_SCALE_X,
303 GLS_GLO_DYNAMICPATH_AFFECTS_SCALE_Y,
304 GLS_GLO_DYNAMICPATH_AFFECTS_SCALE_Z,
305 GLS_GLO_DYNAMICPATH_USE_SHORT_ROTATION_PATHS,
306 GLS_GLO_DYNAMICPATH_STATE_COUNT,
307 GLS_GLO_DYNAMICPATH_STATE,
310 GLS_GLO_MUTEX_GROUP_STATE,
311 GLS_GLO_MUTEX_GROUP_CALC_INVISIBLE_STATES,
312 GLS_GLO_MUTEX_GROUP_PICK_INVISIBLE_STATES,
313 GLS_GLO_MUTEX_GROUP_PREDRAW_INVISIBLE_STATES,
314 GLS_GLO_MUTEX_GROUP_INPUT_DEVICE_BEHAVIOR,
317 GLS_GLO_GLSMULTIVIEW_FIRST_VALUE,
318 GLS_GLO_GLSMULTIVIEW_VIEW_DATA,
319 GLS_GLO_GLSMULTIVIEW_VIEW_DRAWING_STATE,
322 GLS_GLO_LINEAR_SCALE_FIRST_VALUE,
323 GLS_GLO_LINEAR_SCALE_RADII,
324 GLS_GLO_LINEAR_SCALE_DECONFLICT_TICKS,
325 GLS_GLO_LINEAR_SCALE_HALO_ENABLED,
326 GLS_GLO_LINEAR_SCALE_HALO_WIDTH,
327 GLS_GLO_LINEAR_SCALE_HALO_COLOR,
328 GLS_GLO_LINEAR_SCALE_TICK_ANCHOR,
329 GLS_GLO_LINEAR_SCALE_USE_SCALABLE_LINES,
330 GLS_GLO_LINEAR_SCALE_DATA,
333 GLS_GLO_GLSKNOB_CHANGE_CALLBACK,
334 GLS_GLO_GLSKNOB_ANGLERANGE,
335 GLS_GLO_GLSKNOB_CONTINUOUS,
336 GLS_GLO_GLSKNOB_POSITIONVAL,
337 GLS_GLO_GLSKNOB_DETENTPOSITIONS,
338 GLS_GLO_GLSKNOB_WHICHOBJECT,
339 GLS_GLO_GLSKNOB_STARTANGLE,
340 GLS_GLO_GLSKNOB_EMITDETENTVALEVENT,
341 GLS_GLO_GLSKNOB_EMITPOSITIONVALEVENT,
342 GLS_GLO_GLSKNOB_EMITLIMITEVENT,
343 GLS_GLO_GLSKNOB_EMITRELEASEEVENT,
344 GLS_GLO_GLSKNOB_SHOWDETENTSONLY,
345 GLS_GLO_GLSKNOB_CLICKSELECTSDETENT,
348 GLS_GLO_ELLIPSE_FIRST_VALUE,
349 GLS_GLO_ELLIPSE_RADII,
350 GLS_GLO_ELLIPSE_THICKNESS,
351 GLS_GLO_ELLIPSE_SOLID,
352 GLS_GLO_ELLIPSE_INTERVAL,
353 GLS_GLO_ELLIPSE_START_ANGLE,
354 GLS_GLO_ELLIPSE_END_ANGLE,
355 GLS_GLO_ELLIPSE_COLOR,
358 GLS_GLO_GLSSWITCH_INITIAL_DETENT_VAL,
359 GLS_GLO_GLSSWITCH_WHICH_OBJECT_BACKGROUND,
360 GLS_GLO_GLSSWITCH_FIRST_DETENT_SNAPBACK,
361 GLS_GLO_GLSSWITCH_LAST_DETENT_SNAPBACK,
362 GLS_GLO_GLSSWITCH_EMIT_DETENT_VAL_EVENT,
363 GLS_GLO_GLSSWITCH_EMIT_LIMIT_EVENT,
364 GLS_GLO_GLSSWITCH_EMIT_RELEASE_EVENT,
367 GLS_GLO_GLSTHUMBWHEEL_INITIAL_VAL,
368 GLS_GLO_GLSTHUMBWHEEL_EMIT_DETENT_VAL_EVENT,
369 GLS_GLO_GLSTHUMBWHEEL_EMIT_LIMIT_EVENT,
370 GLS_GLO_GLSTHUMBWHEEL_EMIT_RELEASE_EVENT,
371 GLS_GLO_GLSTHUMBWHEEL_NUMBER_OF_DETENTS,
372 GLS_GLO_GLSTHUMBWHEEL_CONTINUOUS_DRAG,
373 GLS_GLO_GLSTHUMBWHEEL_DETENT_VAL,
374 GLS_GLO_GLSTHUMBWHEEL_WHICH_OBJECT_THUMBWHEEL,
375 GLS_GLO_GLSTHUMBWHEEL_WHICH_OBJECT_ODOMETER,
376 GLS_GLO_GLSTHUMBWHEEL_SOUND_INDEX,
379 GLS_GLO_TEXT_GRID_SIZE,
380 GLS_GLO_TEXT_GRID_LEFT_TO_RIGHT,
383 GLS_GLO_SCHEMATICTEEINTERCONNECT_FIRST_VALUE,
384 GLS_GLO_SCHEMATICTEEINTERCONNECT_LEFT_LINE_THICKNESS,
385 GLS_GLO_SCHEMATICTEEINTERCONNECT_RIGHT_LINE_THICKNESS,
386 GLS_GLO_SCHEMATICTEEINTERCONNECT_BASE_LINE_THICKNESS,
387 GLS_GLO_SCHEMATICTEEINTERCONNECT_LEFT_INTERCONNECT_TEXTURE_INDEX,
388 GLS_GLO_SCHEMATICTEEINTERCONNECT_RIGHT_INTERCONNECT_TEXTURE_INDEX,
389 GLS_GLO_SCHEMATICTEEINTERCONNECT_BASE_INTERCONNECT_TEXTURE_INDEX,
390 GLS_GLO_SCHEMATICTEEINTERCONNECT_LEFT_INTERCONNECT_TEXTURE_REPEAT_LENGTH,
391 GLS_GLO_SCHEMATICTEEINTERCONNECT_RIGHT_INTERCONNECT_TEXTURE_REPEAT_LENGTH,
392 GLS_GLO_SCHEMATICTEEINTERCONNECT_BASE_INTERCONNECT_TEXTURE_REPEAT_LENGTH,
393 GLS_GLO_SCHEMATICTEEINTERCONNECT_LEFT_FLOW_TEXTURE_INDEX,
394 GLS_GLO_SCHEMATICTEEINTERCONNECT_RIGHT_FLOW_TEXTURE_INDEX,
395 GLS_GLO_SCHEMATICTEEINTERCONNECT_BASE_FLOW_TEXTURE_INDEX,
396 GLS_GLO_SCHEMATICTEEINTERCONNECT_LEFT_FLOW_TEXTURE_REPEAT_LENGTH,
397 GLS_GLO_SCHEMATICTEEINTERCONNECT_RIGHT_FLOW_TEXTURE_REPEAT_LENGTH,
398 GLS_GLO_SCHEMATICTEEINTERCONNECT_BASE_FLOW_TEXTURE_REPEAT_LENGTH,
399 GLS_GLO_SCHEMATICTEEINTERCONNECT_LEFT_SHOW_FLOW,
400 GLS_GLO_SCHEMATICTEEINTERCONNECT_RIGHT_SHOW_FLOW,
401 GLS_GLO_SCHEMATICTEEINTERCONNECT_BASE_SHOW_FLOW,
402 GLS_GLO_SCHEMATICTEEINTERCONNECT_LEFT_FLOW_RATE,
403 GLS_GLO_SCHEMATICTEEINTERCONNECT_RIGHT_FLOW_RATE,
404 GLS_GLO_SCHEMATICTEEINTERCONNECT_BASE_FLOW_RATE,
405 GLS_GLO_SCHEMATICTEEINTERCONNECT_LEFT_SHOW_FLOW_BLINK,
406 GLS_GLO_SCHEMATICTEEINTERCONNECT_RIGHT_SHOW_FLOW_BLINK,
407 GLS_GLO_SCHEMATICTEEINTERCONNECT_BASE_SHOW_FLOW_BLINK,
408 GLS_GLO_SCHEMATICTEEINTERCONNECT_LEFT_FLOW_BLINK_RATE,
409 GLS_GLO_SCHEMATICTEEINTERCONNECT_RIGHT_FLOW_BLINK_RATE,
410 GLS_GLO_SCHEMATICTEEINTERCONNECT_BASE_FLOW_BLINK_RATE,
411 GLS_GLO_SCHEMATICTEEINTERCONNECT_LEFT_FLOW_BLINK_START_COLOR,
412 GLS_GLO_SCHEMATICTEEINTERCONNECT_RIGHT_FLOW_BLINK_START_COLOR,
413 GLS_GLO_SCHEMATICTEEINTERCONNECT_BASE_FLOW_BLINK_START_COLOR,
414 GLS_GLO_SCHEMATICTEEINTERCONNECT_LEFT_FLOW_BLINK_END_COLOR,
415 GLS_GLO_SCHEMATICTEEINTERCONNECT_RIGHT_FLOW_BLINK_END_COLOR,
416 GLS_GLO_SCHEMATICTEEINTERCONNECT_BASE_FLOW_BLINK_END_COLOR,
417 GLS_GLO_SCHEMATICTEEINTERCONNECT_USE_DISPLAY_LIST,
418 GLS_GLO_SCHEMATICTEEINTERCONNECT_TOP_VISIBLE,
419 GLS_GLO_SCHEMATICTEEINTERCONNECT_TOP_LINE_THICKNESS,
420 GLS_GLO_SCHEMATICTEEINTERCONNECT_TOP_INTERCONNECT_TEXTURE_INDEX,
421 GLS_GLO_SCHEMATICTEEINTERCONNECT_TOP_INTERCONNECT_TEXTURE_REPEAT_LENGTH,
422 GLS_GLO_SCHEMATICTEEINTERCONNECT_TOP_FLOW_TEXTURE_INDEX,
423 GLS_GLO_SCHEMATICTEEINTERCONNECT_TOP_FLOW_TEXTURE_REPEAT_LENGTH,
424 GLS_GLO_SCHEMATICTEEINTERCONNECT_TOP_SHOW_FLOW,
425 GLS_GLO_SCHEMATICTEEINTERCONNECT_TOP_FLOW_RATE,
426 GLS_GLO_SCHEMATICTEEINTERCONNECT_TOP_SHOW_FLOW_BLINK,
427 GLS_GLO_SCHEMATICTEEINTERCONNECT_TOP_FLOW_BLINK_RATE,
428 GLS_GLO_SCHEMATICTEEINTERCONNECT_TOP_FLOW_BLINK_START_COLOR,
429 GLS_GLO_SCHEMATICTEEINTERCONNECT_TOP_FLOW_BLINK_END_COLOR,
432 GLS_GLO_SCHEMATICPOLYLINEINTERCONNECT_FIRST_VALUE,
433 GLS_GLO_SCHEMATICPOLYLINEINTERCONNECT_ORIENTATION,
434 GLS_GLO_SCHEMATICPOLYLINEINTERCONNECT_LINE_THICKNESS,
435 GLS_GLO_SCHEMATICPOLYLINEINTERCONNECT_ROUNDED_CORNERS,
436 GLS_GLO_SCHEMATICPOLYLINEINTERCONNECT_CORNER_RADIUS,
437 GLS_GLO_SCHEMATICPOLYLINEINTERCONNECT_FORCE_EXACT_CORNER_RADIUS,
438 GLS_GLO_SCHEMATICPOLYLINEINTERCONNECT_CORNER_SEGMENTS,
439 GLS_GLO_SCHEMATICPOLYLINEINTERCONNECT_INTERCONNECT_TEXTURE_REPEAT_LENGTH,
440 GLS_GLO_SCHEMATICPOLYLINEINTERCONNECT_FLOW_TEXTURE_INDEX,
441 GLS_GLO_SCHEMATICPOLYLINEINTERCONNECT_FLOW_TEXTURE_REPEAT_LENGTH,
442 GLS_GLO_SCHEMATICPOLYLINEINTERCONNECT_SHOW_FLOW,
443 GLS_GLO_SCHEMATICPOLYLINEINTERCONNECT_FLOW_RATE,
444 GLS_GLO_SCHEMATICPOLYLINEINTERCONNECT_SHOW_FLOW_BLINK,
445 GLS_GLO_SCHEMATICPOLYLINEINTERCONNECT_FLOW_BLINK_RATE,
446 GLS_GLO_SCHEMATICPOLYLINEINTERCONNECT_FLOW_BLINK_START_COLOR,
447 GLS_GLO_SCHEMATICPOLYLINEINTERCONNECT_FLOW_BLINK_END_COLOR,
448 GLS_GLO_SCHEMATICPOLYLINEINTERCONNECT_USE_DISPLAY_LIST,
451 GLS_GLO_POLY_LINE_FIRST_VALUE,
452 GLS_GLO_POLY_LINE_THICKNESS,
453 GLS_GLO_POLY_LINE_HALO,
454 GLS_GLO_POLY_LINE_HALO_COLOR,
455 GLS_GLO_POLY_LINE_HALO_THICKNESS,
456 GLS_GLO_POLY_LINE_NORMAL,
459 GLS_GLO_PATHMANAGER_FIRST_VALUE,
460 GLS_GLO_PATHMANAGER_PATHOBJPAIR_COUNT,
461 GLS_GLO_PATHMANAGER_PATHOBJPAIR,
464 GLS_GLO_GLSODOMETER_VALUE,
465 GLS_GLO_GLSODOMETER_MIN_VALUE,
466 GLS_GLO_GLSODOMETER_MAX_VALUE,
467 GLS_GLO_GLSODOMETER_BASE_SYSTEM,
468 GLS_GLO_GLSODOMETER_BEHAVIOR_TYPE,
469 GLS_GLO_GLSODOMETER_GEOMETRY_TYPE,
470 GLS_GLO_GLSODOMETER_TEXTURE_SCALE,
471 GLS_GLO_GLSODOMETER_DEGREES_PER_DIGIT,
472 GLS_GLO_GLSODOMETER_ORDER_OF_MAGNITUDE,
473 GLS_GLO_GLSODOMETER_ROLLOVER_THRESHOLD,
476 GLS_GLO_GLSNURBCURVE_FIRST_VALUE,
477 GLS_GLO_GLSNURBCURVE_EMITEVENT,
480 GLS_GLO_NINE_PATCH_FIRST_VALUE,
481 GLS_GLO_NINE_PATCH_CENTER_VISIBLE,
482 GLS_GLO_NINE_PATCH_EDGES,
483 GLS_GLO_NINE_PATCH_TEXTURE_EDGES,
484 GLS_GLO_NINE_PATCH_RADII,
485 GLS_GLO_NINE_PATCH_TEXTURE_POINTS,
486 GLS_GLO_NINE_PATCH_COLOR,
489 GLS_GLO_SERIAL_MORPH_MESH_KEYFRAME_INDEX,
492 GLS_GLO_GEOMETRY_RESOURCE_MESH_DATA,
493 GLS_GLO_GEOMETRY_RESOURCE_MESH_TRANSFORM,
494 GLS_GLO_GEOMETRY_RESOURCE_MESH_REFERENCE,
495 GLS_GLO_GEOMETRY_RESOURCE_MESH_INDEX_BUF_EFFECTS,
498 GLS_GLO_LOD_GROUP_DISTANCE_RANGE,
499 GLS_GLO_LOD_GROUP_LOD_POSITIONS,
502 GLS_GLO_TEXT_BOX_VERTICAL_ALIGNMENT,
503 GLS_GLO_TEXT_BOX_LEFT_TO_RIGHT,
504 GLS_GLO_TEXT_BOX_RESIZE_MODE,
505 GLS_GLO_TEXT_BOX_MAX_WIDTH,
506 GLS_GLO_TEXT_BOX_MAX_HEIGHT,
509 GLS_GLO_CTL_TEXT_BOX_VERTICAL_ALIGNMENT,
510 GLS_GLO_CTL_TEXT_BOX_ELLIPSIZE_MODE,
511 GLS_GLO_CTL_TEXT_BOX_HORIZONTAL_SCALE,
512 GLS_GLO_CTL_TEXT_BOX_VERTICAL_SCALE,
513 GLS_GLO_CTL_TEXT_BOX_TEXT_DIRECTION,
514 GLS_GLO_CTL_TEXT_BOX_RESIZE_MODE,
515 GLS_GLO_CTL_TEXT_BOX_MAX_WIDTH,
516 GLS_GLO_CTL_TEXT_BOX_MAX_HEIGHT,
519 GLS_GLO_LINEAR_FLOAT_CONTROLLER_KEYARRAY,
522 GLS_GLO_MOVINGEYE_EMIT_EVENT,
523 GLS_GLO_MOVINGEYE_LOOK_AT_OBJECT,
524 GLS_GLO_MOVINGEYE_MAX_SPEED,
525 GLS_GLO_MOVINGEYE_MOVEMENT,
526 GLS_GLO_MOVINGEYE_ROUTE,
527 GLS_GLO_MOVINGEYE_DISABLE_HISTORY,
530 GLS_GLO_MIMIC_GROUP_MIMIC_ACTIVE,
531 GLS_GLO_MIMIC_GROUP_AUTO_REDRAW,
532 GLS_GLO_MIMIC_GROUP_BOTTOM_LEFT_CORNER,
533 GLS_GLO_MIMIC_GROUP_TOP_RIGHT_CORNER,
534 GLS_GLO_MIMIC_GROUP_SHOW_OUTLINE,
535 GLS_GLO_MIMIC_GROUP_TEXTURE_HEIGHT,
536 GLS_GLO_MIMIC_GROUP_TEXTURE_WIDTH,
537 GLS_GLO_MIMIC_GROUP_HAS_DEPTH_BUFFER,
538 GLS_GLO_MIMIC_GROUP_DEPTH_TEST,
539 GLS_GLO_MIMIC_GROUP_GENERATE_MIPMAPS,
540 GLS_GLO_MIMIC_GROUP_DRAW_MIMIC_POLYGON,
541 GLS_GLO_MIMIC_GROUP_ATTACHED_TEXTURE_INDEX,
542 GLS_GLO_MIMIC_GROUP_CLEAR_COLOR,
543 GLS_GLO_MIMIC_GROUP_USE_OPAQUE_TEXTURE,
545 GLS_GLO_TEXT_SHADOW_OFFSET
565 TEXTURE_PRESENT = 0x01,
566 MATERIAL_PRESENT = 0x02
675 Writer(
const std::string& filename,
const bool open,
const unsigned char* timestamp );
703 void AddObjectAttribute(
const unsigned int enumeration,
const unsigned int size,
const void* data );
710 void AddBoolean(
const unsigned int enumerator,
const bool value );
715 void AddU8(
const unsigned int enumerator,
const unsigned char value );
720 void AddU16(
const unsigned int enumerator,
const unsigned short value );
725 void AddS16(
const unsigned int enumerator,
const short value );
730 void AddU32(
const unsigned int enumerator,
const unsigned int value );
735 void AddS32(
const unsigned int enumerator,
const int value );
740 void AddString(
const unsigned int enumerator,
const std::string& value );
745 void AddCString(
const unsigned int enumerator,
const char* value );
750 void AddFloat(
const unsigned int enumerator,
const float value );
755 void AddDouble(
const unsigned int enumerator,
const double value );
788 void AddFloatArray(
const unsigned int enumerator,
const unsigned int nVertices,
const float verts[] );
794 void AddDoubleArray(
const unsigned int enumerator,
const unsigned int nVertices,
const double verts[] );
825 void AddBoolean(
const unsigned int enumerator,
const bool value,
const bool defVal );
832 void AddU8(
const unsigned int enumerator,
const unsigned char value,
const unsigned char defVal );
839 void AddU16(
const unsigned int enumerator,
const unsigned short value,
const unsigned short defVal );
846 void AddS16(
const unsigned int enumerator,
const short value,
const short defVal );
853 void AddU32(
const unsigned int enumerator,
const unsigned int value,
const unsigned int defVal );
860 void AddS32(
const unsigned int enumerator,
const int value,
const int defVal );
874 void AddFloat(
const unsigned int enumerator,
const float value,
const float defVal );
881 void AddDouble(
const unsigned int enumerator,
const double value,
const double defVal );
930 void WriteU8(
const unsigned char val,
const unsigned int offset );
937 void WriteU32(
const unsigned int val,
const unsigned int offset );
979 Reader(
const std::string& filename,
const bool open );
1037 unsigned char data = 0u;
1055 unsigned short data = 0u;
1073 unsigned int data = 0u;
1118 unsigned int count = (
unsigned int)
GetInt();
1120 for(
unsigned int i = 0; i < count; i++ )
1124 return materialIndices;
1159 void Resize(
const unsigned int minimumSize );
1163 void Enlarge(
const unsigned int incrementalSize );
1174 void WriteData(
const void* data,
const unsigned int size );
1180 void WriteData(
const void* data,
const unsigned int size,
const unsigned int offset );
1213 short _numAttributes;
1220 GLSGEN_GlsGloFile_EXPORT
GlsGloFile(
const std::string& filename,
const bool readMode =
true );
1231 GLSGEN_GlsGloFile_EXPORT
void VerifyTimestamp(
const unsigned char* timestamp,
const char* className );
1262 _enumeration = enumeration;
1275 return _enumeration;
1359 return _reader->
GetInt();
1383 char* rval =
new char[ _size ];
1399 _reader->
GetBytes( size, (
char**)&data );
1404 unsigned int _enumeration;
unsigned PushBack(const T &object)
Definition: dynamic_array.h:340
Definition: gls_color.h:54
unsigned char G() const
Definition: gls_color.h:214
unsigned char R() const
Definition: gls_color.h:211
unsigned char B() const
Definition: gls_color.h:217
unsigned char A() const
Definition: gls_color.h:220
Definition: gls_glo_file.h:1243
GlsGloFileAttribute(GlsGloFile::Reader *reader)
Definition: gls_glo_file.h:1247
void GetVertex(Vertex &rval)
Definition: gls_glo_file.h:1301
std::string GetString()
Definition: gls_glo_file.h:1285
void GetColor(glsColor &rval)
Definition: gls_glo_file.h:1320
short GetShort()
Definition: gls_glo_file.h:1345
bool GetBoolean()
Definition: gls_glo_file.h:1327
void SetSize(const unsigned int size)
Definition: gls_glo_file.h:1267
unsigned char GetUnsignedByte()
Definition: gls_glo_file.h:1339
double GetDouble()
Definition: gls_glo_file.h:1375
DynamicArray< int > GetMaterialIndices()
Definition: gls_glo_file.h:1389
int GetInt()
Definition: gls_glo_file.h:1357
void GetBytes(const unsigned int size, void *data)
Definition: gls_glo_file.h:1397
char GetByte()
Definition: gls_glo_file.h:1333
void GetVector(Vector &rval)
Definition: gls_glo_file.h:1292
unsigned int GetUnsignedInt()
Definition: gls_glo_file.h:1363
float GetFloat()
Definition: gls_glo_file.h:1369
unsigned int Enumeration()
Definition: gls_glo_file.h:1273
glsColor GetColor()
Definition: gls_glo_file.h:1313
char * GetBytes()
Definition: gls_glo_file.h:1381
void SetEnumeration(const unsigned int enumeration)
Definition: gls_glo_file.h:1260
unsigned short GetUnsignedShort()
Definition: gls_glo_file.h:1351
unsigned int Size()
Definition: gls_glo_file.h:1279
Definition: gls_glo_file.h:100
Definition: gls_glo_file.h:1193
ObjectData(Reader *reader)
bool HasAttributes()
Definition: gls_glo_file.h:1206
GlsGloFileAttribute * GetNextAttribute()
void SetNumAttributes(const short numAttributes)
Definition: gls_glo_file.h:1203
Definition: gls_glo_file.h:971
unsigned int GetGLStudioVersionMinor()
Definition: gls_glo_file.h:995
unsigned char * GetTimestamp()
Definition: gls_glo_file.h:1001
unsigned int _numberOfObjectRecords
The number of objects described by this GLO file.
Definition: gls_glo_file.h:1137
short GetShort()
Definition: gls_glo_file.h:1044
bool GetBoolean()
Definition: gls_glo_file.h:1017
unsigned int GetGLStudioBuildNumber()
Definition: gls_glo_file.h:998
unsigned int GetGLStudioVersionMajor()
Definition: gls_glo_file.h:992
const std::string & GetFilename()
Definition: gls_glo_file.h:1131
unsigned char GetUnsignedByte()
Definition: gls_glo_file.h:1035
double GetDouble()
Definition: gls_glo_file.h:1089
DynamicArray< int > GetMaterialIndices()
Definition: gls_glo_file.h:1116
int GetInt()
Definition: gls_glo_file.h:1062
bool _initialized
If true, the file is ready for reading.
Definition: gls_glo_file.h:1135
~Reader()
Destroy the reader.
std::string GetString(const unsigned int size)
Definition: gls_glo_file.h:1009
char GetByte()
Definition: gls_glo_file.h:1026
bool IsInitialized()
Definition: gls_glo_file.h:1128
char * _fileData
Pointer holding the all data read in.
Definition: gls_glo_file.h:1143
unsigned int _glsMajor
The major version of GL Studio that generated this GLO file.
Definition: gls_glo_file.h:1138
const char * _fileDataPointer
Current read position within the GLO data.
Definition: gls_glo_file.h:1144
unsigned char _timestamp[GLO_FILE_TIMESTAMP_SIZE]
The timestamp when this file was generated.
Definition: gls_glo_file.h:1141
unsigned int _glsMinor
The minor version of GL Studio that generated this GLO file.
Definition: gls_glo_file.h:1139
unsigned int _glsBuild
The build version of GL Studio that generated this GLO file.
Definition: gls_glo_file.h:1140
void Close()
Close the file.
unsigned int GetUnsignedInt()
Definition: gls_glo_file.h:1071
std::string _filename
The file name of this GLO file.
Definition: gls_glo_file.h:1134
float GetFloat()
Definition: gls_glo_file.h:1080
static const unsigned int GLO_SIZE_CACHING_LIMIT
Definition: gls_glo_file.h:974
glsColor GetColor()
Definition: gls_glo_file.h:1107
GloFileHeader _header
The parsed file header data.
Definition: gls_glo_file.h:1142
unsigned short GetUnsignedShort()
Definition: gls_glo_file.h:1053
FILE * _in
The OS file handle for this GLO file.
Definition: gls_glo_file.h:1136
Reader(const std::string &filename, const bool open)
unsigned int GetNumberOfObjectRecords()
Definition: gls_glo_file.h:989
void GetBytes(const unsigned int size, char **data)
Definition: gls_glo_file.h:1100
Definition: gls_glo_file.h:1149
void Enlarge(const unsigned int incrementalSize)
void WriteData(const void *data, const unsigned int size)
void Rewind()
Rewind to beginning of buffer.
unsigned char * _buf
Buffer containing the params for the current object.
Definition: gls_glo_file.h:1188
void WriteData(const void *data, const unsigned int size, const unsigned int offset)
WriteBuffer(const unsigned int initialSize)
unsigned int _current
Total size of the params for the current object.
Definition: gls_glo_file.h:1186
unsigned int _bufSize
Size of the param buffer.
Definition: gls_glo_file.h:1187
void Resize(const unsigned int minimumSize)
Definition: gls_glo_file.h:666
void WriteFloat(const float val)
unsigned int _numObjects
Current count of the number of objects in the file.
Definition: gls_glo_file.h:961
void AddVector(const unsigned int enumerator, const Vector &value)
void AddString(const unsigned int enumerator, const std::string &value)
void Flush()
Flush the current buffer to disk and rewind.
short _numParams
Current count of the number of params in the current object.
Definition: gls_glo_file.h:962
void AddGlsColor(const unsigned int enumerator, const glsColor &value)
static const unsigned int ATTR_SIZE_EXTENDED
Value to indicate that a size is extended.
Definition: gls_glo_file.h:669
void AddS32(const unsigned int enumerator, const int value, const int defVal)
void AddU16(const unsigned int enumerator, const unsigned short value)
void AddS16(const unsigned int enumerator, const short value)
void WriteU8(const unsigned char val, const unsigned int offset)
void AddVector2DArray(const unsigned int enumerator, const unsigned int nVertices, const Vector verts[])
void AddVertexArray(const unsigned int enumerator, const unsigned int nVertices, const Vertex verts[])
bool _initialized
If true, the file is ready for writing.
Definition: gls_glo_file.h:956
void AddU32(const unsigned int enumerator, const unsigned int value, const unsigned int defVal)
Writer(const std::string &filename, const bool open, const unsigned char *timestamp)
void AddU16(const unsigned int enumerator, const unsigned short value, const unsigned short defVal)
void StartObjectRecord()
Start writing an object record.
void AddMatrix(const unsigned int enumerator, const GlsMatrixAffineD &value, const bool checkForIdentity)
void AddObjectAttribute(const unsigned int enumeration, const unsigned int size, const void *data)
void WriteU16(const unsigned short val)
unsigned int AddExtendedAttributeHeader(unsigned int enumerator, unsigned int size=0)
void EndObjectRecord()
End the current object record.
unsigned char _timestamp[GLO_FILE_TIMESTAMP_SIZE]
Storage for the file generation timestamp.
Definition: gls_glo_file.h:959
void Close()
Close the file.
void WriteS32(const int val)
void AddDoubleArray(const unsigned int enumerator, const unsigned int nVertices, const double verts[])
std::string _filename
The file name of the GLO file to write.
Definition: gls_glo_file.h:955
FILE * _out
The OS file handle to the file to be written.
Definition: gls_glo_file.h:957
void AddDouble(const unsigned int enumerator, const double value)
void AddBoolean(const unsigned int enumerator, const bool value, const bool defVal)
unsigned int AddAttributeHeader(unsigned int enumerator, unsigned char size=0)
void AddMatrix(const unsigned int enumerator, const GlsMatrixAffineD &value)
void WriteU32(const unsigned int val)
void AddGlsColor(const unsigned int enumerator, const glsColor &value, const glsColor &defVal)
void AddU32(const unsigned int enumerator, const unsigned int value)
void AddMaterialIndices(const unsigned int enumerator, DynamicArray< int > &values)
void AddS32(const unsigned int enumerator, const int value)
GloFileHeader _header
File header information to be written to the file.
Definition: gls_glo_file.h:960
std::string BaseFilename()
void OpenForWriting()
Open file and prepare to write.
void DefaultChecking(bool val)
Definition: gls_glo_file.h:694
void WriteU32(const unsigned int val, const unsigned int offset)
static const unsigned int MAX_STANDARD_ATTR_SIZE
Maximum size for a standard attribute, extended attributes beyond this size.
Definition: gls_glo_file.h:668
void WriteDouble(const double val)
void AddFloat(const unsigned int enumerator, const float value, const float defVal)
void AddVectorArray(const unsigned int enumerator, const unsigned int nVertices, const Vector verts[])
void AddS16(const unsigned int enumerator, const short value, const short defVal)
void WriteGlsColor(const glsColor &value)
void AddFloat(const unsigned int enumerator, const float value)
WriteBuffer * _buffer
Byte buffer to store params in.
Definition: gls_glo_file.h:963
void AddCString(const unsigned int enumerator, const char *value)
void AddDouble(const unsigned int enumerator, const double value, const double defVal)
unsigned char * Timestamp()
Definition: gls_glo_file.h:687
void AddU8(const unsigned int enumerator, const unsigned char value, const unsigned char defVal)
bool _defaultChecking
If true, will not write values to file that match default values.
Definition: gls_glo_file.h:958
void AddBoolean(const unsigned int enumerator, const bool value)
void WriteFileHeader()
Writes the file header data to the GLO file.
void WriteS16(const short val)
void AddFloatArray(const unsigned int enumerator, const unsigned int nVertices, const float verts[])
void AddU8(const unsigned int enumerator, const unsigned char value)
void WriteU8(const unsigned char val)
void WriteS8(const char val)
Definition: gls_glo_file.h:105
ObjectData * _objectData
Observing pointer to the current data.
Definition: gls_glo_file.h:1236
int _numObjectsRemaining
Number of objects remaining to read.
Definition: gls_glo_file.h:1235
static const unsigned int ATTR_SIZE_EXTENDED
Value to indicate that a size is extended.
Definition: gls_glo_file.h:549
GlsGloFile(const std::string &filename, const bool readMode=true)
void VerifyTimestamp(const unsigned char *timestamp, const char *className)
static const int GlsGeometryResourceMeshIndexBufEffects_Version
The current version of the GlsGeometryResourceMeshIndexBufEffects.
Definition: gls_glo_file.h:614
static const int GlsGeometryResourceData_Version
Definition: gls_glo_file.h:582
ObjectData * GetNextObject()
std::string _filename
Stores the name of the file that we're reading; currently only used to make the error messages more i...
Definition: gls_glo_file.h:1238
static const unsigned int NUM_OBJECTS_OFFSET
The size of the GLO file header in bytes.
Definition: gls_glo_file.h:110
static const unsigned int MAX_STANDARD_ATTR_SIZE
Maximum size for a standard attribute, extended attributes beyond this size.
Definition: gls_glo_file.h:548
static const unsigned int GLO_FILE_TIMESTAMP_SIZE
Definition: gls_glo_file.h:113
Reader * _reader
Observing pointer to the file reader.
Definition: gls_glo_file.h:1234
float y
The Y component.
Definition: vertex.h:88
float x
The X component.
Definition: vertex.h:87
float z
The Z component.
Definition: vertex.h:89
GlsColor color
The RGBA color component.
Definition: vertex.h:422
The disti::DisplayFrame class.
The disti::DynamicArray class. A templated array of objects capable of dynamically growing.
A file for all GL Studio files to include.
The GlsMatrixAffine class.
Force inclusion of the DirectShow library.
Definition: bmpimage.h:47
unsigned int SwapSignedLongToNet(int val)
unsigned int SwapLongToNet(unsigned int val)
float SwapFloatToNet(float val)
short SwapSignedShortToNet(short val)
GlsColor glsColor
Alias for backwards compatibility.
Definition: gls_color.h:286
unsigned short SwapShortToNet(unsigned short val)
double SwapDoubleToNet(double val)
Definition: gls_glo_file.h:571
unsigned int defaultMaterial
Default materia for faces if none present in file.
Definition: gls_glo_file.h:574
unsigned char textureSize
Size of texture index in bytes.
Definition: gls_glo_file.h:576
unsigned char indexSize
Size of each index in bytes (a,b,c).
Definition: gls_glo_file.h:575
unsigned char materialSize
Size of material index in bytes.
Definition: gls_glo_file.h:577
int defaultTexture
Default texture for faces if none present in file.
Definition: gls_glo_file.h:573
unsigned int numberOfFaces
Number of faces in the array.
Definition: gls_glo_file.h:572
unsigned char componentsPresent
bitfield (0x01: Textures present in file) (0x02: Materials present in file)
Definition: gls_glo_file.h:578
Definition: gls_glo_file.h:627
unsigned int specularTextureIndex
Texture index for specular map.
Definition: gls_glo_file.h:631
float reflectionAmount
Intensity of reflection map from 0.0 to 1.0.
Definition: gls_glo_file.h:638
float diffuseAmount
Intensity of diffuse color from 0.0 to 1.0.
Definition: gls_glo_file.h:635
float specular_vTiling
Specular texture V coordinate offset.
Definition: gls_glo_file.h:660
float normalAmount
Intensity of normal map from 0.0 to 1.0.
Definition: gls_glo_file.h:636
float specular_angle
Specular texture rotation angle in degrees.
Definition: gls_glo_file.h:661
float diffuse_angle
Diffuse texture rotation angle in degrees.
Definition: gls_glo_file.h:649
unsigned short padding
Padding.
Definition: gls_glo_file.h:642
float normal_uOffset
Normal texture U coordinate offset.
Definition: gls_glo_file.h:651
bool useVertexColors
If true, will use vertex colors rather than material color.
Definition: gls_glo_file.h:640
float specularAmount
Intensity of specular map from 0.0 to 1.0.
Definition: gls_glo_file.h:637
float normal_vOffset
Normal texture V coordinate offset.
Definition: gls_glo_file.h:652
float diffuse_uTiling
Diffuse texture U coordinate scale.
Definition: gls_glo_file.h:647
unsigned int materialIndex
Material index to be used.
Definition: gls_glo_file.h:628
float normal_uTiling
Normal texture U coordinate scale.
Definition: gls_glo_file.h:653
float diffuse_uOffset
Diffuse texture U coordinate offset.
Definition: gls_glo_file.h:645
bool normalMapFlipGreen
If true will flip the green channel for normals (DirectX versus OpenGL style normals).
Definition: gls_glo_file.h:641
float specular_vOffset
Specular texture V coordinate offset.
Definition: gls_glo_file.h:658
unsigned int normalTextureIndex
Texture index for normal map.
Definition: gls_glo_file.h:630
float specular_uOffset
Specular texture U coordinate offset.
Definition: gls_glo_file.h:657
float diffuse_vTiling
Diffuse texture V coordinate offset.
Definition: gls_glo_file.h:648
float normal_vTiling
Normal texture V coordinate offset.
Definition: gls_glo_file.h:654
float diffuse_vOffset
Diffuse texture V coordinate offset.
Definition: gls_glo_file.h:646
unsigned int diffuseTextureIndex
Texture index for diffuse color.
Definition: gls_glo_file.h:629
unsigned int reflectionTextureIndex
Texture index for reflection map.
Definition: gls_glo_file.h:632
float specular_uTiling
Specular texture U coordinate scale.
Definition: gls_glo_file.h:659
float normal_angle
Normal texture rotation angle in degrees.
Definition: gls_glo_file.h:655
The disti::Vertex class. A class for manipulating 3D vertices.