00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040 #ifndef _OSGGEOPROPPOSITIONS_H_
00041 #define _OSGGEOPROPPOSITIONS_H_
00042 #ifdef __sgi
00043 #pragma once
00044 #endif
00045
00046 #include <OSGGeoPropertyBase.h>
00047
00048 OSG_BEGIN_NAMESPACE
00049
00054 struct GeoPositions2fPropertyDesc : public GeoPositionsPropertyDesc
00055 {
00056 static FieldDescription *_desc[];
00057
00058
00062 static const Char8 *getTypeName (void) { return "GeoPositions2f"; }
00063 static const Char8 *getClassName(void) { return "GeoPositions2fProperty"; }
00064 static const Char8 *getFieldName(void) { return "positions"; }
00065 static const Char8 *getGroupName(void) { return "GeoPositions"; }
00066
00067 static InitContainerF getInitMethod(void) { return NULL; }
00068
00069 static UInt32 getFormat (void) { return GL_FLOAT; }
00070 static UInt32 getFormatSize(void) { return sizeof(GLfloat); }
00071 static UInt32 getDimension (void) { return 2; }
00072 static UInt32 getStride (void) { return 0; }
00073
00074 static FieldDescription **getDesc (void) { return _desc; }
00075
00077
00081 typedef GeoPositions Inherited;
00082 typedef GeoPositions::PtrType InheritedPtr;
00083
00084 typedef GeoPositionsPropertyDesc InheritedDesc;
00085
00086 typedef MFPnt2f StoredFieldType;
00087 typedef InheritedDesc::GenericType GenericType;
00088
00089 #ifndef OSG_SUPPORT_NO_GEO_INTERFACE
00090 typedef GeoPropertyInterface<GeoPositionsPropertyDesc> Interface;
00091 #endif
00092
00094 };
00095
00096 #if !defined(OSG_DO_DOC) // created as a dummy class, remove to prevent doubles
00097 typedef GeoProperty<GeoPositions2fPropertyDesc> GeoPositions2f;
00098 #endif
00099
00100 #if !defined(OSG_COMPILEGEOPROPPOSITIONINST) && !defined(OSG_DO_DOC)
00101 OSG_FC_DLLEXPORT_DECL(GeoProperty,
00102 GeoPositions2fPropertyDesc,
00103 OSG_SYSTEMLIB_DLLTMPLMAPPING)
00104 #endif
00105
00106
00111 struct GeoPositions3fPropertyDesc : public GeoPositionsPropertyDesc
00112 {
00113 static FieldDescription *_desc[];
00114
00115
00119 static const Char8 *getTypeName (void) { return "GeoPositions3f"; }
00120 static const Char8 *getClassName(void) { return "GeoPositions3fProperty"; }
00121 static const Char8 *getFieldName(void) { return "positions"; }
00122 static const Char8 *getGroupName(void) { return "GeoPositions"; }
00123
00124 static InitContainerF getInitMethod(void) { return NULL; }
00125
00126 static UInt32 getFormat (void) { return GL_FLOAT; }
00127 static UInt32 getFormatSize(void) { return sizeof(GLfloat); }
00128 static UInt32 getDimension (void) { return 3; }
00129 static UInt32 getStride (void) { return 0; }
00130
00131 static FieldDescription **getDesc (void) { return _desc; }
00132
00134
00138 typedef GeoPositions Inherited;
00139 typedef GeoPositions::PtrType InheritedPtr;
00140
00141 typedef GeoPositionsPropertyDesc InheritedDesc;
00142
00143 typedef MFPnt3f StoredFieldType;
00144 typedef InheritedDesc::GenericType GenericType;
00145
00146 #ifndef OSG_SUPPORT_NO_GEO_INTERFACE
00147 typedef GeoPropertyInterface<GeoPositionsPropertyDesc> Interface;
00148 #endif
00149
00151 };
00152
00153 #if !defined(OSG_DO_DOC) // created as a dummy class, remove to prevent doubles
00154 typedef GeoProperty<GeoPositions3fPropertyDesc> GeoPositions3f;
00155 #endif
00156
00157 #if !defined(OSG_COMPILEGEOPROPPOSITIONINST) && !defined(OSG_DO_DOC)
00158 OSG_FC_DLLEXPORT_DECL(GeoProperty,
00159 GeoPositions3fPropertyDesc,
00160 OSG_SYSTEMLIB_DLLTMPLMAPPING)
00161 #endif
00162
00163
00168 struct GeoPositions4fPropertyDesc : public GeoPositionsPropertyDesc
00169 {
00170 static FieldDescription *_desc[];
00171
00172
00176 static const Char8 *getTypeName (void) { return "GeoPositions4f"; }
00177 static const Char8 *getClassName(void) { return "GeoPositions4fProperty"; }
00178 static const Char8 *getFieldName(void) { return "positions"; }
00179 static const Char8 *getGroupName(void) { return "GeoPositions"; }
00180
00181 static InitContainerF getInitMethod(void) { return NULL; }
00182
00183 static UInt32 getFormat (void) { return GL_FLOAT; }
00184 static UInt32 getFormatSize(void) { return sizeof(GLfloat); }
00185 static UInt32 getDimension (void) { return 4; }
00186 static UInt32 getStride (void) { return 0; }
00187
00188 static FieldDescription **getDesc (void) { return _desc; }
00189
00191
00195 typedef GeoPositions Inherited;
00196 typedef GeoPositions::PtrType InheritedPtr;
00197
00198 typedef GeoPositionsPropertyDesc InheritedDesc;
00199
00200 typedef MFPnt4f StoredFieldType;
00201 typedef InheritedDesc::GenericType GenericType;
00202
00203 #ifndef OSG_SUPPORT_NO_GEO_INTERFACE
00204 typedef GeoPropertyInterface<GeoPositionsPropertyDesc> Interface;
00205 #endif
00206
00208 };
00209
00210 #if !defined(OSG_DO_DOC) // created as a dummy class, remove to prevent doubles
00211 typedef GeoProperty<GeoPositions4fPropertyDesc> GeoPositions4f;
00212 #endif
00213
00214 #if !defined(OSG_COMPILEGEOPROPPOSITIONINST) && !defined(OSG_DO_DOC)
00215 OSG_FC_DLLEXPORT_DECL(GeoProperty,
00216 GeoPositions4fPropertyDesc,
00217 OSG_SYSTEMLIB_DLLTMPLMAPPING)
00218 #endif
00219
00220
00225 struct GeoPositions2dPropertyDesc : public GeoPositionsPropertyDesc
00226 {
00227 static FieldDescription *_desc[];
00228
00229
00233 static const Char8 *getTypeName (void) { return "GeoPositions2d"; }
00234 static const Char8 *getClassName(void) { return "GeoPositions2dProperty"; }
00235 static const Char8 *getFieldName(void) { return "positions"; }
00236 static const Char8 *getGroupName(void) { return "GeoPositions"; }
00237
00238 static InitContainerF getInitMethod(void) { return NULL; }
00239
00240 static UInt32 getFormat (void) { return GL_DOUBLE; }
00241 static UInt32 getFormatSize(void) { return sizeof(GLdouble); }
00242 static UInt32 getDimension (void) { return 2; }
00243 static UInt32 getStride (void) { return 0; }
00244
00245 static FieldDescription **getDesc (void) { return _desc; }
00246
00248
00252 typedef GeoPositions Inherited;
00253 typedef GeoPositions::PtrType InheritedPtr;
00254
00255 typedef GeoPositionsPropertyDesc InheritedDesc;
00256
00257 typedef MFPnt2d StoredFieldType;
00258 typedef InheritedDesc::GenericType GenericType;
00259
00260 #ifndef OSG_SUPPORT_NO_GEO_INTERFACE
00261 typedef GeoPropertyInterface<GeoPositionsPropertyDesc> Interface;
00262 #endif
00263
00265 };
00266
00267 #if !defined(OSG_DO_DOC) // created as a dummy class, remove to prevent doubles
00268 typedef GeoProperty<GeoPositions2dPropertyDesc> GeoPositions2d;
00269 #endif
00270
00271 #if !defined(OSG_COMPILEGEOPROPPOSITIONINST) && !defined(OSG_DO_DOC)
00272 OSG_FC_DLLEXPORT_DECL(GeoProperty,
00273 GeoPositions2dPropertyDesc,
00274 OSG_SYSTEMLIB_DLLTMPLMAPPING)
00275 #endif
00276
00277
00282 struct GeoPositions3dPropertyDesc : public GeoPositionsPropertyDesc
00283 {
00284 static FieldDescription *_desc[];
00285
00286
00290 static const Char8 *getTypeName (void) { return "GeoPositions3d"; }
00291 static const Char8 *getClassName(void) { return "GeoPositions3dProperty"; }
00292 static const Char8 *getFieldName(void) { return "positions"; }
00293 static const Char8 *getGroupName(void) { return "GeoPositions"; }
00294
00295 static InitContainerF getInitMethod(void) { return NULL; }
00296
00297 static UInt32 getFormat (void) { return GL_DOUBLE; }
00298 static UInt32 getFormatSize(void) { return sizeof(GLdouble); }
00299 static UInt32 getDimension (void) { return 3; }
00300 static UInt32 getStride (void) { return 0; }
00301
00302 static FieldDescription **getDesc (void) { return _desc; }
00303
00305
00309 typedef GeoPositions Inherited;
00310 typedef GeoPositions::PtrType InheritedPtr;
00311
00312 typedef GeoPositionsPropertyDesc InheritedDesc;
00313
00314 typedef MFPnt3d StoredFieldType;
00315 typedef InheritedDesc::GenericType GenericType;
00316
00317 #ifndef OSG_SUPPORT_NO_GEO_INTERFACE
00318 typedef GeoPropertyInterface<GeoPositionsPropertyDesc> Interface;
00319 #endif
00320
00322 };
00323
00324 #if !defined(OSG_DO_DOC) // created as a dummy class, remove to prevent doubles
00325 typedef GeoProperty<GeoPositions3dPropertyDesc> GeoPositions3d;
00326 #endif
00327
00328 #if !defined(OSG_COMPILEGEOPROPPOSITIONINST) && !defined(OSG_DO_DOC)
00329 OSG_FC_DLLEXPORT_DECL(GeoProperty,
00330 GeoPositions3dPropertyDesc,
00331 OSG_SYSTEMLIB_DLLTMPLMAPPING)
00332 #endif
00333
00334
00339 struct GeoPositions4dPropertyDesc : public GeoPositionsPropertyDesc
00340 {
00341 static FieldDescription *_desc[];
00342
00343
00347 static const Char8 *getTypeName (void) { return "GeoPositions4d"; }
00348 static const Char8 *getClassName(void) { return "GeoPositions4dProperty"; }
00349 static const Char8 *getFieldName(void) { return "positions"; }
00350 static const Char8 *getGroupName(void) { return "GeoPositions"; }
00351
00352 static InitContainerF getInitMethod(void) { return NULL; }
00353
00354 static UInt32 getFormat (void) { return GL_DOUBLE; }
00355 static UInt32 getFormatSize(void) { return sizeof(GLdouble); }
00356 static UInt32 getDimension (void) { return 4; }
00357 static UInt32 getStride (void) { return 0; }
00358
00359 static FieldDescription **getDesc (void) { return _desc; }
00360
00362
00366 typedef GeoPositions Inherited;
00367 typedef GeoPositions::PtrType InheritedPtr;
00368
00369 typedef GeoPositionsPropertyDesc InheritedDesc;
00370
00371 typedef MFPnt4d StoredFieldType;
00372 typedef InheritedDesc::GenericType GenericType;
00373
00374 #ifndef OSG_SUPPORT_NO_GEO_INTERFACE
00375 typedef GeoPropertyInterface<GeoPositionsPropertyDesc> Interface;
00376 #endif
00377
00379 };
00380
00381 #if !defined(OSG_DO_DOC) // created as a dummy class, remove to prevent doubles
00382 typedef GeoProperty<GeoPositions4dPropertyDesc> GeoPositions4d;
00383 #endif
00384
00385 #if !defined(OSG_COMPILEGEOPROPPOSITIONINST) && !defined(OSG_DO_DOC)
00386 OSG_FC_DLLEXPORT_DECL(GeoProperty,
00387 GeoPositions4dPropertyDesc,
00388 OSG_SYSTEMLIB_DLLTMPLMAPPING)
00389 #endif
00390
00391
00392
00397 struct GeoPositions2sPropertyDesc : public GeoPositionsPropertyDesc
00398 {
00399 static FieldDescription *_desc[];
00400
00401
00405 static const Char8 *getTypeName (void) { return "GeoPositions2s"; }
00406 static const Char8 *getClassName(void) { return "GeoPositions2sProperty"; }
00407 static const Char8 *getFieldName(void) { return "positions"; }
00408 static const Char8 *getGroupName(void) { return "GeoPositions"; }
00409
00410 static InitContainerF getInitMethod(void) { return NULL; }
00411
00412 static UInt32 getFormat (void) { return GL_SHORT; }
00413 static UInt32 getFormatSize(void) { return sizeof(GLshort); }
00414 static UInt32 getDimension (void) { return 2; }
00415 static UInt32 getStride (void) { return 0; }
00416
00417 static FieldDescription **getDesc (void) { return _desc; }
00418
00420
00424 typedef GeoPositions Inherited;
00425 typedef GeoPositions::PtrType InheritedPtr;
00426
00427 typedef GeoPositionsPropertyDesc InheritedDesc;
00428
00429 typedef MFPnt2s StoredFieldType;
00430 typedef InheritedDesc::GenericType GenericType;
00431
00432 #ifndef OSG_SUPPORT_NO_GEO_INTERFACE
00433 typedef GeoPropertyInterface<GeoPositionsPropertyDesc> Interface;
00434 #endif
00435
00437 };
00438
00439 #if !defined(OSG_DO_DOC) // created as a dummy class, remove to prevent shorts
00440 typedef GeoProperty<GeoPositions2sPropertyDesc> GeoPositions2s;
00441 #endif
00442
00443 #if !defined(OSG_COMPILEGEOPROPPOSITIONINST) && !defined(OSG_DO_DOC)
00444 OSG_FC_DLLEXPORT_DECL(GeoProperty,
00445 GeoPositions2sPropertyDesc,
00446 OSG_SYSTEMLIB_DLLTMPLMAPPING)
00447 #endif
00448
00449
00454 struct GeoPositions3sPropertyDesc : public GeoPositionsPropertyDesc
00455 {
00456 static FieldDescription *_desc[];
00457
00458
00462 static const Char8 *getTypeName (void) { return "GeoPositions3s"; }
00463 static const Char8 *getClassName(void) { return "GeoPositions3sProperty"; }
00464 static const Char8 *getFieldName(void) { return "positions"; }
00465 static const Char8 *getGroupName(void) { return "GeoPositions"; }
00466
00467 static InitContainerF getInitMethod(void) { return NULL; }
00468
00469 static UInt32 getFormat (void) { return GL_SHORT; }
00470 static UInt32 getFormatSize(void) { return sizeof(GLshort); }
00471 static UInt32 getDimension (void) { return 3; }
00472 static UInt32 getStride (void) { return 0; }
00473
00474 static FieldDescription **getDesc (void) { return _desc; }
00475
00477
00481 typedef GeoPositions Inherited;
00482 typedef GeoPositions::PtrType InheritedPtr;
00483
00484 typedef GeoPositionsPropertyDesc InheritedDesc;
00485
00486 typedef MFPnt3s StoredFieldType;
00487 typedef InheritedDesc::GenericType GenericType;
00488
00489 #ifndef OSG_SUPPORT_NO_GEO_INTERFACE
00490 typedef GeoPropertyInterface<GeoPositionsPropertyDesc> Interface;
00491 #endif
00492
00494 };
00495
00496 #if !defined(OSG_DO_DOC) // created as a dummy class, remove to prevent shorts
00497 typedef GeoProperty<GeoPositions3sPropertyDesc> GeoPositions3s;
00498 #endif
00499
00500 #if !defined(OSG_COMPILEGEOPROPPOSITIONINST) && !defined(OSG_DO_DOC)
00501 OSG_FC_DLLEXPORT_DECL(GeoProperty,
00502 GeoPositions3sPropertyDesc,
00503 OSG_SYSTEMLIB_DLLTMPLMAPPING)
00504 #endif
00505
00506
00511 struct GeoPositions4sPropertyDesc : public GeoPositionsPropertyDesc
00512 {
00513 static FieldDescription *_desc[];
00514
00515
00519 static const Char8 *getTypeName (void) { return "GeoPositions4s"; }
00520 static const Char8 *getClassName(void) { return "GeoPositions4sProperty"; }
00521 static const Char8 *getFieldName(void) { return "positions"; }
00522 static const Char8 *getGroupName(void) { return "GeoPositions"; }
00523
00524 static InitContainerF getInitMethod(void) { return NULL; }
00525
00526 static UInt32 getFormat (void) { return GL_SHORT; }
00527 static UInt32 getFormatSize(void) { return sizeof(GLshort); }
00528 static UInt32 getDimension (void) { return 4; }
00529 static UInt32 getStride (void) { return 0; }
00530
00531 static FieldDescription **getDesc (void) { return _desc; }
00532
00534
00538 typedef GeoPositions Inherited;
00539 typedef GeoPositions::PtrType InheritedPtr;
00540
00541 typedef GeoPositionsPropertyDesc InheritedDesc;
00542
00543 typedef MFPnt4s StoredFieldType;
00544 typedef InheritedDesc::GenericType GenericType;
00545
00546 #ifndef OSG_SUPPORT_NO_GEO_INTERFACE
00547 typedef GeoPropertyInterface<GeoPositionsPropertyDesc> Interface;
00548 #endif
00549
00551 };
00552
00553 #if !defined(OSG_DO_DOC) // created as a dummy class, remove to prevent shorts
00554 typedef GeoProperty<GeoPositions4sPropertyDesc> GeoPositions4s;
00555 #endif
00556
00557 #if !defined(OSG_COMPILEGEOPROPPOSITIONINST) && !defined(OSG_DO_DOC)
00558 OSG_FC_DLLEXPORT_DECL(GeoProperty,
00559 GeoPositions4sPropertyDesc,
00560 OSG_SYSTEMLIB_DLLTMPLMAPPING)
00561 #endif
00562
00563 OSG_END_NAMESPACE
00564
00565 #include <OSGGeoPropPositions.inl>
00566
00567 #endif