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 #ifndef _OSGSFVECTYPES_H_
00040 #define _OSGSFVECTYPES_H_
00041 #ifdef __sgi
00042 #pragma once
00043 #endif
00044
00045
00046
00047
00048
00049 #include <OSGBase.h>
00050 #include <OSGSField.h>
00051 #include <OSGVecFieldDataType.h>
00052
00053 #ifdef OSG_DOC_FILES_IN_MODULE
00054
00058 #endif
00059
00060 OSG_BEGIN_NAMESPACE
00061
00062
00063
00064 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00065
00067 typedef SField<Vec2ub> SFVec2ub;
00068 #endif
00069
00070 #ifndef OSG_COMPILEFIELDINST
00071 OSG_DLLEXPORT_DECL1(SField, Vec2ub, OSG_BASE_DLLTMPLMAPPING)
00072 #endif
00073
00074 #ifndef OSG_NO_INT8_PNT
00075 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00076
00078 typedef SField<Vec2b> SFVec2b;
00079 #endif
00080
00081 #ifndef OSG_COMPILEFIELDINST
00082 OSG_DLLEXPORT_DECL1(SField, Vec2b, OSG_BASE_DLLTMPLMAPPING)
00083 #endif
00084 #endif
00085
00086 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00087
00089 typedef SField<Vec2us> SFVec2us;
00090 #endif
00091
00092 #ifndef OSG_COMPILEFIELDINST
00093 OSG_DLLEXPORT_DECL1(SField, Vec2us, OSG_BASE_DLLTMPLMAPPING)
00094 #endif
00095
00096 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00097
00099 typedef SField<Vec2s> SFVec2s;
00100 #endif
00101
00102 #ifndef OSG_COMPILEFIELDINST
00103 OSG_DLLEXPORT_DECL1(SField, Vec2s, OSG_BASE_DLLTMPLMAPPING)
00104 #endif
00105
00106 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00107
00109 typedef SField<Vec2f> SFVec2f;
00110 #endif
00111
00112 #ifndef OSG_COMPILEFIELDINST
00113 OSG_DLLEXPORT_DECL1(SField, Vec2f, OSG_BASE_DLLTMPLMAPPING)
00114 #endif
00115
00116 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00117
00119 typedef SField<Vec2d> SFVec2d;
00120 #endif
00121
00122 #ifndef OSG_COMPILEFIELDINST
00123 OSG_DLLEXPORT_DECL1(SField, Vec2d, OSG_BASE_DLLTMPLMAPPING)
00124 #endif
00125
00126 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00127
00129 typedef SField<Vec2ld> SFVec2ld;
00130 #endif
00131
00132 #ifndef OSG_COMPILEFIELDINST
00133 OSG_DLLEXPORT_DECL1(SField, Vec2ld, OSG_BASE_DLLTMPLMAPPING)
00134 #endif
00135
00136
00137
00138
00139 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00140
00142 typedef SField<Vec3ub> SFVec3ub;
00143 #endif
00144
00145 #ifndef OSG_COMPILEFIELDINST
00146 OSG_DLLEXPORT_DECL1(SField, Vec3ub, OSG_BASE_DLLTMPLMAPPING)
00147 #endif
00148
00149 #ifndef OSG_NO_INT8_PNT
00150 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00151
00153 typedef SField<Vec3b> SFVec3b;
00154 #endif
00155
00156 #ifndef OSG_COMPILEFIELDINST
00157 OSG_DLLEXPORT_DECL1(SField, Vec3b, OSG_BASE_DLLTMPLMAPPING)
00158 #endif
00159 #endif
00160
00161 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00162
00164 typedef SField<Vec3us> SFVec3us;
00165 #endif
00166
00167 #ifndef OSG_COMPILEFIELDINST
00168 OSG_DLLEXPORT_DECL1(SField, Vec3us, OSG_BASE_DLLTMPLMAPPING)
00169 #endif
00170
00171 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00172
00174 typedef SField<Vec3s> SFVec3s;
00175 #endif
00176
00177 #ifndef OSG_COMPILEFIELDINST
00178 OSG_DLLEXPORT_DECL1(SField, Vec3s, OSG_BASE_DLLTMPLMAPPING)
00179 #endif
00180
00181 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00182
00184 typedef SField<Vec3f> SFVec3f;
00185 #endif
00186
00187 #ifndef OSG_COMPILEFIELDINST
00188 OSG_DLLEXPORT_DECL1(SField, Vec3f, OSG_BASE_DLLTMPLMAPPING)
00189 #endif
00190
00191 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00192
00194 typedef SField<Vec3d> SFVec3d;
00195 #endif
00196
00197 #ifndef OSG_COMPILEFIELDINST
00198 OSG_DLLEXPORT_DECL1(SField, Vec3d, OSG_BASE_DLLTMPLMAPPING)
00199 #endif
00200
00201 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00202
00204 typedef SField<Vec3ld> SFVec3ld;
00205 #endif
00206
00207 #ifndef OSG_COMPILEFIELDINST
00208 OSG_DLLEXPORT_DECL1(SField, Vec3ld, OSG_BASE_DLLTMPLMAPPING)
00209 #endif
00210
00211
00212
00213
00214 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00215
00217 typedef SField<Vec4ub> SFVec4ub;
00218 #endif
00219
00220 #ifndef OSG_COMPILEFIELDINST
00221 OSG_DLLEXPORT_DECL1(SField, Vec4ub, OSG_BASE_DLLTMPLMAPPING)
00222 #endif
00223
00224 #ifndef OSG_NO_INT8_PNT
00225 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00226
00228 typedef SField<Vec4b> SFVec4b;
00229 #endif
00230
00231 #ifndef OSG_COMPILEFIELDINST
00232 OSG_DLLEXPORT_DECL1(SField, Vec4b, OSG_BASE_DLLTMPLMAPPING)
00233 #endif
00234 #endif
00235
00236 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00237
00239 typedef SField<Vec4us> SFVec4us;
00240 #endif
00241
00242 #ifndef OSG_COMPILEFIELDINST
00243 OSG_DLLEXPORT_DECL1(SField, Vec4us, OSG_BASE_DLLTMPLMAPPING)
00244 #endif
00245
00246 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00247
00249 typedef SField<Vec4s> SFVec4s;
00250 #endif
00251
00252 #ifndef OSG_COMPILEFIELDINST
00253 OSG_DLLEXPORT_DECL1(SField, Vec4s, OSG_BASE_DLLTMPLMAPPING)
00254 #endif
00255
00256 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00257
00259 typedef SField<Vec4f> SFVec4f;
00260 #endif
00261
00262 #ifndef OSG_COMPILEFIELDINST
00263 OSG_DLLEXPORT_DECL1(SField, Vec4f, OSG_BASE_DLLTMPLMAPPING)
00264 #endif
00265
00266 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00267
00269 typedef SField<Vec4d> SFVec4d;
00270 #endif
00271
00272 #ifndef OSG_COMPILEFIELDINST
00273 OSG_DLLEXPORT_DECL1(SField, Vec4d, OSG_BASE_DLLTMPLMAPPING)
00274 #endif
00275
00276 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00277
00279 typedef SField<Vec4ld> SFVec4ld;
00280 #endif
00281
00282 #ifndef OSG_COMPILEFIELDINST
00283 OSG_DLLEXPORT_DECL1(SField, Vec4ld, OSG_BASE_DLLTMPLMAPPING)
00284 #endif
00285
00286
00287
00288
00289 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00290
00292 typedef SField<Pnt2ub> SFPnt2ub;
00293 #endif
00294
00295 #ifndef OSG_COMPILEFIELDINST
00296 OSG_DLLEXPORT_DECL1(SField, Pnt2ub, OSG_BASE_DLLTMPLMAPPING)
00297 #endif
00298
00299 #ifndef OSG_NO_INT8_PNT
00300 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00301
00303 typedef SField<Pnt2b> SFPnt2b;
00304 #endif
00305
00306 #ifndef OSG_COMPILEFIELDINST
00307 OSG_DLLEXPORT_DECL1(SField, Pnt2b, OSG_BASE_DLLTMPLMAPPING)
00308 #endif
00309 #endif
00310
00311 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00312
00314 typedef SField<Pnt2us> SFPnt2us;
00315 #endif
00316
00317 #ifndef OSG_COMPILEFIELDINST
00318 OSG_DLLEXPORT_DECL1(SField, Pnt2us, OSG_BASE_DLLTMPLMAPPING)
00319 #endif
00320
00321 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00322
00324 typedef SField<Pnt2s> SFPnt2s;
00325 #endif
00326
00327 #ifndef OSG_COMPILEFIELDINST
00328 OSG_DLLEXPORT_DECL1(SField, Pnt2s, OSG_BASE_DLLTMPLMAPPING)
00329 #endif
00330
00331 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00332
00334 typedef SField<Pnt2f> SFPnt2f;
00335 #endif
00336
00337 #ifndef OSG_COMPILEFIELDINST
00338 OSG_DLLEXPORT_DECL1(SField, Pnt2f, OSG_BASE_DLLTMPLMAPPING)
00339 #endif
00340
00341 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00342
00344 typedef SField<Pnt2d> SFPnt2d;
00345 #endif
00346
00347 #ifndef OSG_COMPILEFIELDINST
00348 OSG_DLLEXPORT_DECL1(SField, Pnt2d, OSG_BASE_DLLTMPLMAPPING)
00349 #endif
00350
00351 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00352
00354 typedef SField<Pnt2ld> SFPnt2ld;
00355 #endif
00356
00357 #ifndef OSG_COMPILEFIELDINST
00358 OSG_DLLEXPORT_DECL1(SField, Pnt2ld, OSG_BASE_DLLTMPLMAPPING)
00359 #endif
00360
00361
00362
00363
00364 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00365
00367 typedef SField<Pnt3ub> SFPnt3ub;
00368 #endif
00369
00370 #ifndef OSG_COMPILEFIELDINST
00371 OSG_DLLEXPORT_DECL1(SField, Pnt3ub, OSG_BASE_DLLTMPLMAPPING)
00372 #endif
00373
00374 #ifndef OSG_NO_INT8_PNT
00375 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00376
00378 typedef SField<Pnt3b> SFPnt3b;
00379 #endif
00380
00381 #ifndef OSG_COMPILEFIELDINST
00382 OSG_DLLEXPORT_DECL1(SField, Pnt3b, OSG_BASE_DLLTMPLMAPPING)
00383 #endif
00384 #endif
00385
00386 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00387
00389 typedef SField<Pnt3us> SFPnt3us;
00390 #endif
00391
00392 #ifndef OSG_COMPILEFIELDINST
00393 OSG_DLLEXPORT_DECL1(SField, Pnt3us, OSG_BASE_DLLTMPLMAPPING)
00394 #endif
00395
00396 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00397
00399 typedef SField<Pnt3s> SFPnt3s;
00400 #endif
00401
00402 #ifndef OSG_COMPILEFIELDINST
00403 OSG_DLLEXPORT_DECL1(SField, Pnt3s, OSG_BASE_DLLTMPLMAPPING)
00404 #endif
00405
00406 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00407
00409 typedef SField<Pnt3f> SFPnt3f;
00410 #endif
00411
00412 #ifndef OSG_COMPILEFIELDINST
00413 OSG_DLLEXPORT_DECL1(SField, Pnt3f, OSG_BASE_DLLTMPLMAPPING)
00414 #endif
00415
00416 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00417
00419 typedef SField<Pnt3d> SFPnt3d;
00420 #endif
00421
00422 #ifndef OSG_COMPILEFIELDINST
00423 OSG_DLLEXPORT_DECL1(SField, Pnt3d, OSG_BASE_DLLTMPLMAPPING)
00424 #endif
00425
00426 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00427
00429 typedef SField<Pnt3ld> SFPnt3ld;
00430 #endif
00431
00432 #ifndef OSG_COMPILEFIELDINST
00433 OSG_DLLEXPORT_DECL1(SField, Pnt3ld, OSG_BASE_DLLTMPLMAPPING)
00434 #endif
00435
00436
00437
00438
00439 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00440
00442 typedef SField<Pnt4ub> SFPnt4ub;
00443 #endif
00444
00445 #ifndef OSG_COMPILEFIELDINST
00446 OSG_DLLEXPORT_DECL1(SField, Pnt4ub, OSG_BASE_DLLTMPLMAPPING)
00447 #endif
00448
00449 #ifndef OSG_NO_INT8_PNT
00450 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00451
00453 typedef SField<Pnt4b> SFPnt4b;
00454 #endif
00455
00456 #ifndef OSG_COMPILEFIELDINST
00457 OSG_DLLEXPORT_DECL1(SField, Pnt4b, OSG_BASE_DLLTMPLMAPPING)
00458 #endif
00459 #endif
00460
00461 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00462
00464 typedef SField<Pnt4us> SFPnt4us;
00465 #endif
00466
00467 #ifndef OSG_COMPILEFIELDINST
00468 OSG_DLLEXPORT_DECL1(SField, Pnt4us, OSG_BASE_DLLTMPLMAPPING)
00469 #endif
00470
00471 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00472
00474 typedef SField<Pnt4s> SFPnt4s;
00475 #endif
00476
00477 #ifndef OSG_COMPILEFIELDINST
00478 OSG_DLLEXPORT_DECL1(SField, Pnt4s, OSG_BASE_DLLTMPLMAPPING)
00479 #endif
00480
00481 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00482
00484 typedef SField<Pnt4f> SFPnt4f;
00485 #endif
00486
00487 #ifndef OSG_COMPILEFIELDINST
00488 OSG_DLLEXPORT_DECL1(SField, Pnt4f, OSG_BASE_DLLTMPLMAPPING)
00489 #endif
00490
00491 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00492
00494 typedef SField<Pnt4d> SFPnt4d;
00495 #endif
00496
00497 #ifndef OSG_COMPILEFIELDINST
00498 OSG_DLLEXPORT_DECL1(SField, Pnt4d, OSG_BASE_DLLTMPLMAPPING)
00499 #endif
00500
00501 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00502
00504 typedef SField<Pnt4ld> SFPnt4ld;
00505 #endif
00506
00507 #ifndef OSG_COMPILEFIELDINST
00508 OSG_DLLEXPORT_DECL1(SField, Pnt4ld, OSG_BASE_DLLTMPLMAPPING)
00509 #endif
00510
00511
00512 OSG_END_NAMESPACE
00513
00514 #define OSGSFVECTYPES_HEADER_CVSID "@(#)$Id: $"
00515
00516 #endif
00517