Changeset 13041 for OpenSceneGraph/trunk/src/osgPlugins/geo/geoTypes.h
- Timestamp:
- 03/21/12 18:36:20 (14 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/geo/geoTypes.h
r4752 r13041 9 9 ------------------------------------------------------------------------- 10 10 11 PROPRIETARY RIGHTS NOTICE: 12 13 This software contains proprietary information and trade secrets of Carbon 14 Graphics LLC. No part or all of this software may be reproduced in any form, 15 without the written permission of Carbon Graphics LLC. 11 PROPRIETARY RIGHTS NOTICE: 12 13 This software contains proprietary information and trade secrets of Carbon 14 Graphics LLC. No part or all of this software may be reproduced in any form, 15 without the written permission of Carbon Graphics LLC. 16 16 17 17 Exception: 18 18 This Software file can be used by third-party software developers (without 19 using the Geo SDK libraries) for any purpose OTHER THAN loading Geo format 20 files into an application or executable (such as, though not limited to, 19 using the Geo SDK libraries) for any purpose OTHER THAN loading Geo format 20 files into an application or executable (such as, though not limited to, 21 21 geometry Modelers & animation systems) which is primarily intended to allow for 22 the CREATION or MODIFICATION of geometric or animation data. 23 24 Specifically,using this software (either all or part thereof) to aid in the 25 creation of a Geo format loader for a run-time system, game engine, toolkit 22 the CREATION or MODIFICATION of geometric or animation data. 23 24 Specifically,using this software (either all or part thereof) to aid in the 25 creation of a Geo format loader for a run-time system, game engine, toolkit 26 26 IG (Image Generation) System or any software where the PRIMARY purpose is 27 27 real-time image playback and interactivity and not Model Creation and/or 28 28 modification is permitted. 29 29 30 COPYRIGHT NOTICE: 31 30 COPYRIGHT NOTICE: 31 32 32 Copyright © 1998-2001 Carbon Graphics Llc, ALL RIGHTS RESERVED 33 33 … … 55 55 56 56 57 58 /** 59 * constants to identify the plugin type 57 58 /** 59 * constants to identify the plugin type 60 60 */ 61 61 const uint GEO_PLUGIN_TYPE_UNDEFINED = 1; … … 124 124 * 125 125 * GEO_DB_BASE 126 * GEO_DB_GROUP 126 * GEO_DB_GROUP 127 127 * GEO_DB_SEQUENCE 128 128 * GEO_DB_LOD … … 130 130 * GEO_DB_BASE_GROUP 131 131 * GEO_DB_RENDERGROUP 132 * GEO_DB_MULTI_TEX_SHADER 132 * GEO_DB_MULTI_TEX_SHADER 133 133 * GEO_DB_BASE_RENDERGROUP (*) 134 134 * GEO_DB_EXTERNAL … … 153 153 * GEO_DB_TEXT 154 154 * GEO_DB_VERTEX 155 * GEO_DB_FAT_VERTEX 156 * GEO_DB_SLIM_VERTEX 155 * GEO_DB_FAT_VERTEX 156 * GEO_DB_SLIM_VERTEX 157 157 * GEO_DB_HEADER 158 158 * … … 180 180 //------------ 181 181 const uint GEO_DB_MESH = (0x00001000 | GEO_DB_POLYGON); 182 const uint GEO_DB_CULL_GROUP = (0x00002000 | GEO_DB_GROUP); 183 const uint GEO_DB_MULTI_TEX_SHADER = (0x00004000 | GEO_DB_RENDERGROUP); 182 const uint GEO_DB_CULL_GROUP = (0x00002000 | GEO_DB_GROUP); 183 const uint GEO_DB_MULTI_TEX_SHADER = (0x00004000 | GEO_DB_RENDERGROUP); 184 184 const uint GEO_DB_PAGE = (0x00008000 | GEO_DB_GROUP); 185 185 //------------ 186 const uint GEO_DB_Z_OFFSET_GROUP = (0x00010000 | GEO_DB_GROUP); 187 const uint GEO_DB_MULTI_SAMPLE_AA_GROUP = (0x00020000 | GEO_DB_GROUP); 186 const uint GEO_DB_Z_OFFSET_GROUP = (0x00010000 | GEO_DB_GROUP); 187 const uint GEO_DB_MULTI_SAMPLE_AA_GROUP = (0x00020000 | GEO_DB_GROUP); 188 188 const uint GEO_DB_TEXT = (0x00040000 | GEO_DB_GEOMETRY); 189 189 const uint GEO_DB_VERTEX = (0x00080000 | GEO_DB_GEOMETRY); 190 190 //------------ 191 191 const uint GEO_DB_HEADER = (0x00100000 | GEO_DB_BASE); 192 const uint GEO_DB_LINE_AA_GROUP = (0x00200000 | GEO_DB_GROUP); 192 const uint GEO_DB_LINE_AA_GROUP = (0x00200000 | GEO_DB_GROUP); 193 193 const uint GEO_DB_BASE_GROUP = (0x00400000 | GEO_DB_GROUP); 194 194 const uint GEO_DB_BASE_SURFACE = (0x00800000 | GEO_DB_SURFACE); 195 195 //------------ 196 const uint GEO_DB_EXTERNAL = (0x01000000 | GEO_DB_GROUP); 196 const uint GEO_DB_EXTERNAL = (0x01000000 | GEO_DB_GROUP); 197 197 const uint GEO_DB_BASE_RENDERGROUP = (0x02000000 | GEO_DB_RENDERGROUP); 198 198 const uint GEO_DB_INSTANCE = (0x04000000 | GEO_DB_GROUP); 199 199 const uint GEO_DB_LIGHTPT = (0x08000000 | GEO_DB_POLYGON); 200 200 //------------ 201 const uint GEO_DB_FADE_GROUP = (0x10000000 | GEO_DB_GROUP); 202 const uint GEO_DB_DECAL_GROUP = (0x20000000 | GEO_DB_GROUP); 203 const uint GEO_DB_LIGHT_GROUP = (0x40000000 | GEO_DB_GROUP); 204 const uint GEO_DB_FAT_VERTEX = (0x80000000 | GEO_DB_VERTEX); 201 const uint GEO_DB_FADE_GROUP = (0x10000000 | GEO_DB_GROUP); 202 const uint GEO_DB_DECAL_GROUP = (0x20000000 | GEO_DB_GROUP); 203 const uint GEO_DB_LIGHT_GROUP = (0x40000000 | GEO_DB_GROUP); 204 const uint GEO_DB_FAT_VERTEX = (0x80000000 | GEO_DB_VERTEX); 205 205 //------------ 206 206 … … 216 216 // older version types for Compatability & convenience 217 217 // 218 const uint GEO_DB_ALL = GEO_DB_BASE; 219 const uint GEO_DB_ALL_GROUP_TYPES = GEO_DB_GROUP; 218 const uint GEO_DB_ALL = GEO_DB_BASE; 219 const uint GEO_DB_ALL_GROUP_TYPES = GEO_DB_GROUP; 220 220 const uint GEO_DB_ALL_GEOMETRY_TYPES = GEO_DB_GEOMETRY; 221 const uint GEO_DB_ALL_SURFACE_TYPES = GEO_DB_SURFACE; 222 223 224 225 226 /////////////////////////////////////////////////////////////////////////////// 221 const uint GEO_DB_ALL_SURFACE_TYPES = GEO_DB_SURFACE; 222 223 224 225 226 /////////////////////////////////////////////////////////////////////////////// 227 227 /** constants to identify the type of picking to be done */ 228 const uint GEO_PICK_GROUP = 0x00000001; 228 const uint GEO_PICK_GROUP = 0x00000001; 229 229 const uint GEO_PICK_PRIM = 0x00000002; 230 230 const uint GEO_PICK_VERTEX = 0x00000004; … … 237 237 238 238 239 /////////////////////////////////////////////////////////////////////////////// 239 /////////////////////////////////////////////////////////////////////////////// 240 240 /** constants to identify mouse button usage */ 241 241 const uint GEO_NO_MOUSE = 0x00000000; … … 251 251 /////////////////////////////////////////////////////////////////// 252 252 253 // Identifiers for Geo data types - Used in geoProperty & geoPropertyExtension Classes 253 // Identifiers for Geo data types - Used in geoProperty & geoPropertyExtension Classes 254 254 const unsigned char GEO_DB_DATATYPE_STRING = 1; 255 255 const unsigned char GEO_DB_DATATYPE_SHORT = 2; … … 302 302 303 303 304 /////////////////////////////////////////////////////////////////////////////// 305 /** Predefined model unit identifier. database model units can be modified 304 /////////////////////////////////////////////////////////////////////////////// 305 /** Predefined model unit identifier. database model units can be modified 306 306 * via set/getUnits 307 307 */ … … 316 316 317 317 318 319 /////////////////////////////////////////////////////////////////////////////// 320 /** Constants to define the modeler's intended "up" direction if that 321 * makes any sense 318 319 /////////////////////////////////////////////////////////////////////////////// 320 /** Constants to define the modeler's intended "up" direction if that 321 * makes any sense 322 322 */ 323 323 324 324 const int GEO_DB_UP_AXIS_X = 1; 325 325 const int GEO_DB_UP_AXIS_Y = 2; // the default … … 342 342 // DB_HDR_ELLIPSOID - defines 343 343 // Constants to define the ellipsoid model used for the projection 344 // 344 // 345 345 const short GEO_DB_ELLIPSOID_USER_DEFINED = -1; 346 346 const short GEO_DB_ELLIPSOID_WGS_1984 = 0; … … 354 354 355 355 356 /////////////////////////////////////////////////////////////////////////////// 356 /////////////////////////////////////////////////////////////////////////////// 357 357 /** Constants to control the drawing effect 358 * 359 * Constants to control the drawing of geometry primitives - usefull if user 358 * 359 * Constants to control the drawing of geometry primitives - usefull if user 360 360 * wants to call standard draw method in a tool postDraw callback 361 361 */ … … 400 400 401 401 402 403 /////////////////////////////////////////////////////////////////////////////// 404 /** constants to identify the different Group types 402 403 /////////////////////////////////////////////////////////////////////////////// 404 /** constants to identify the different Group types 405 405 */ 406 406 const uint GEO_GROUP_TYPE_CONTAINER = 1; … … 414 414 415 415 416 /////////////////////////////////////////////////////////////////////////////// 416 /////////////////////////////////////////////////////////////////////////////// 417 417 /** Constants to control the display of a Group based on time-of-day 418 * 418 * 419 419 */ 420 420 const uint GEO_DB_GROUP_TOD_DISPLAY_NIGHT = 0x00000001; … … 426 426 427 427 428 /////////////////////////////////////////////////////////////////////////////// 428 /////////////////////////////////////////////////////////////////////////////// 429 429 /** Constants to control the intersection testing of this Group at runtime 430 * 430 * 431 431 */ 432 432 const uint GEO_DB_GROUP_ISECT_IG_DEFINED = 0; … … 437 437 438 438 439 /////////////////////////////////////////////////////////////////////////////// 440 /** Constants to control the switch Node behavior 441 * 439 /////////////////////////////////////////////////////////////////////////////// 440 /** Constants to control the switch Node behavior 441 * 442 442 * Switch Nodes can either be addative (in which case the 443 443 * accumulate drawable children) or selective (in which case … … 453 453 454 454 455 /////////////////////////////////////////////////////////////////////////////// 455 /////////////////////////////////////////////////////////////////////////////// 456 456 /** Constants to identify special behavior int ZOffset GRoups 457 457 */ … … 462 462 463 463 464 /////////////////////////////////////////////////////////////////////////////// 465 /** Constants to control the Light Group behavior 466 * 464 /////////////////////////////////////////////////////////////////////////////// 465 /** Constants to control the Light Group behavior 466 * 467 467 * Light Groups are Groups with the Light-Group flag set. Any Light pt children 468 468 * are effected by these settings … … 473 473 474 474 475 /////////////////////////////////////////////////////////////////////////////// 476 /** Constants that specify the type of Light Group 477 * 475 /////////////////////////////////////////////////////////////////////////////// 476 /** Constants that specify the type of Light Group 477 * 478 478 * FIXED is for airfields etc. 479 479 * MOVING is for aircraft/ships etc. … … 484 484 485 485 /////////////////////////////////////////////////////////////////////////////// 486 /** Type Tokens for Node & Tool Gui Widgets 486 /** Type Tokens for Node & Tool Gui Widgets 487 487 */ 488 488 const int GUI_FLOAT = 1; … … 492 492 493 493 /////////////////////////////////////////////////////////////////////////////// 494 /** geoWidget Typedef - Used by Node & Tool Gui Widgets 494 /** geoWidget Typedef - Used by Node & Tool Gui Widgets 495 495 */ 496 496 typedef void geoWidget;
