00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef __vtkX3D_h
00016 #define __vtkX3D_h
00017
00018 extern const char* x3dElementString[];
00019 extern const char* x3dAttributeString[];
00020
00021 namespace vtkX3D
00022 {
00023 enum X3DTypes
00024 {
00025 SFVEC3F, SFVEC2F,
00026 MFVEC3F, MFVEC2F,
00027 SFCOLOR, MFCOLOR,
00028 SFROTATION, MFROTATION,
00029 SFSTRING, MFSTRING,
00030 MFINT32, SFIMAGE
00031 };
00032
00033
00034 enum X3DElement
00035 {
00036 Shape = 0,
00037 Appearance = 1,
00038 Material = 2,
00039 IndexedFaceSet = 3,
00040 ProtoInstance = 4,
00041 Transform = 5,
00042 ImageTexture = 6,
00043 TextureTransform = 7,
00044 Coordinate = 8,
00045 Normal = 9,
00046 Color = 10,
00047 ColorRGBA = 11,
00048 TextureCoordinate = 12,
00049 ROUTE = 13,
00050 fieldValue = 14,
00051 Group = 15,
00052 LOD = 16,
00053 Switch = 17,
00054 Script = 18,
00055 IndexedTriangleFanSet = 19,
00056 IndexedTriangleSet = 20,
00057 IndexedTriangleStripSet = 21,
00058 MultiTexture = 22,
00059 MultiTextureCoordinate = 23,
00060 MultiTextureTransform = 24,
00061 IndexedLineSet = 25,
00062 PointSet = 26,
00063 StaticGroup = 27,
00064 Sphere = 28,
00065 Box = 29,
00066 Cone = 30,
00067 Anchor = 31,
00068 Arc2D = 32,
00069 ArcClose2D = 33,
00070 AudioClip = 34,
00071 Background = 35,
00072 Billboard = 36,
00073 BooleanFilter = 37,
00074 BooleanSequencer = 38,
00075 BooleanToggle = 39,
00076 BooleanTrigger = 40,
00077 Circle2D = 41,
00078 Collision = 42,
00079 ColorInterpolator = 43,
00080 Contour2D = 44,
00081 ContourPolyline2D = 45,
00082 CoordinateDouble = 46,
00083 CoordinateInterpolator = 47,
00084 CoordinateInterpolator2D = 48,
00085 Cylinder = 49,
00086 CylinderSensor = 50,
00087 DirectionalLight = 51,
00088 Disk2D = 52,
00089 EXPORT = 53,
00090 ElevationGrid = 54,
00091 EspduTransform = 55,
00092 ExternProtoDeclare = 56,
00093 Extrusion = 57,
00094 FillProperties = 58,
00095 Fog = 59,
00096 FontStyle = 60,
00097 GeoCoordinate = 61,
00098 GeoElevationGrid = 62,
00099 GeoLOD = 63,
00100 GeoLocation = 64,
00101 GeoMetadata = 65,
00102 GeoOrigin = 66,
00103 GeoPositionInterpolator = 67,
00104 GeoTouchSensor = 68,
00105 GeoViewpoint = 69,
00106 HAnimDisplacer = 70,
00107 HAnimHumanoid = 71,
00108 HAnimJoint = 72,
00109 HAnimSegment = 73,
00110 HAnimSite = 74,
00111 IMPORT = 75,
00112 IS = 76,
00113 Inline = 77,
00114 IntegerSequencer = 78,
00115 IntegerTrigger = 79,
00116 KeySensor = 80,
00117 LineProperties = 81,
00118 LineSet = 82,
00119 LoadSensor = 83,
00120 MetadataDouble = 84,
00121 MetadataFloat = 85,
00122 MetadataInteger = 86,
00123 MetadataSet = 87,
00124 MetadataString = 88,
00125 MovieTexture = 89,
00126 NavigationInfo = 90,
00127 NormalInterpolator = 91,
00128 NurbsCurve = 92,
00129 NurbsCurve2D = 93,
00130 NurbsOrientationInterpolator = 94,
00131 NurbsPatchSurface = 95,
00132 NurbsPositionInterpolator = 96,
00133 NurbsSet = 97,
00134 NurbsSurfaceInterpolator = 98,
00135 NurbsSweptSurface = 99,
00136 NurbsSwungSurface = 100,
00137 NurbsTextureCoordinate = 101,
00138 NurbsTrimmedSurface = 102,
00139 OrientationInterpolator = 103,
00140 PixelTexture = 104,
00141 PlaneSensor = 105,
00142 PointLight = 106,
00143 Polyline2D = 107,
00144 Polypoint2D = 108,
00145 PositionInterpolator = 109,
00146 PositionInterpolator2D = 110,
00147 ProtoBody = 111,
00148 ProtoDeclare = 112,
00149 ProtoInterface = 113,
00150 ProximitySensor = 114,
00151 ReceiverPdu = 115,
00152 Rectangle2D = 116,
00153 ScalarInterpolator = 117,
00154 Scene = 118,
00155 SignalPdu = 119,
00156 Sound = 120,
00157 SphereSensor = 121,
00158 SpotLight = 122,
00159 StringSensor = 123,
00160 Text = 124,
00161 TextureBackground = 125,
00162 TextureCoordinateGenerator = 126,
00163 TimeSensor = 127,
00164 TimeTrigger = 128,
00165 TouchSensor = 129,
00166 TransmitterPdu = 130,
00167 TriangleFanSet = 131,
00168 TriangleSet = 132,
00169 TriangleSet2D = 133,
00170 TriangleStripSet = 134,
00171 Viewpoint = 135,
00172 VisibilitySensor = 136,
00173 WorldInfo = 137,
00174 X3D = 138,
00175 component = 139,
00176 connect = 140,
00177 field = 141,
00178 head = 142,
00179 humanoidBodyType = 143,
00180 meta = 144,
00181 CADAssembly,
00182 CADFace,
00183 CADLayer,
00184 CADPart,
00185 ComposedCubeMapTexture,
00186 ComposedShader,
00187 ComposedTexture3D,
00188 FloatVertexAttribute,
00189 FogCoordinate,
00190 GeneratedCubeMapTexture,
00191 ImageCubeMapTexture,
00192 ImageTexture3D,
00193 IndexedQuadSet,
00194 LocalFog,
00195 Matrix3VertexAttribute,
00196 Matrix4VertexAttribute,
00197 PackagedShader,
00198 PixelTexture3D,
00199 ProgramShader,
00200 QuadSet,
00201 ShaderPart,
00202 ShaderProgram,
00203 TextureCoordinate3D,
00204 TextureCoordinate4D,
00205 TextureTransform3D,
00206 TextureTransformMatrix3D
00207 };
00208
00209
00210 enum X3DAttribute
00211 {
00212 DEF = 0,
00213 USE = 1,
00214 containerField = 2,
00215 fromNode = 3,
00216 fromField = 4,
00217 toNode = 5,
00218 toField = 6,
00219 name = 7,
00220 value = 8,
00221 color = 9,
00222 colorIndex = 10,
00223 coordIndex = 11,
00224 texCoordIndex = 12,
00225 normalIndex = 13,
00226 colorPerVertex = 14,
00227 normalPerVertex = 15,
00228 rotation = 16,
00229 scale = 17,
00230 center = 18,
00231 scaleOrientation = 19,
00232 translation = 20,
00233 url = 21,
00234 repeatS = 22,
00235 repeatT = 23,
00236 point = 24,
00237 vector = 25,
00238 range = 26,
00239 ambientIntensity = 27,
00240 diffuseColor = 28,
00241 emissiveColor = 29,
00242 shininess = 30,
00243 specularColor = 31,
00244 transparency = 32,
00245 whichChoice = 33,
00246 index = 34,
00247 mode = 35,
00248 source = 36,
00249 function = 37,
00250 alpha = 38,
00251 vertexCount = 39,
00252 radius = 40,
00253 size = 41,
00254 height = 42,
00255 solid = 43,
00256 ccw = 44,
00257 key = 45,
00258 keyValue = 46,
00259 enabled = 47,
00260 direction = 48,
00261 position = 49,
00262 orientation = 50,
00263 bboxCenter = 51,
00264 bboxSize = 52,
00265 AS = 53,
00266 InlineDEF = 54,
00267 accessType = 55,
00268 actionKeyPress = 56,
00269 actionKeyRelease = 57,
00270 address = 58,
00271 altKey = 59,
00272 antennaLocation = 60,
00273 antennaPatternLength = 61,
00274 antennaPatternType = 62,
00275 applicationID = 63,
00276 articulationParameterArray = 64,
00277 articulationParameterChangeIndicatorArray = 65,
00278 articulationParameterCount = 66,
00279 articulationParameterDesignatorArray = 67,
00280 articulationParameterIdPartAttachedArray = 68,
00281 articulationParameterTypeArray = 69,
00282 attenuation = 70,
00283 autoOffset = 71,
00284 avatarSize = 72,
00285 axisOfRotation = 73,
00286 backUrl = 74,
00287 beamWidth = 75,
00288 beginCap = 76,
00289 bindTime = 77,
00290 bottom = 78,
00291 bottomRadius = 79,
00292 bottomUrl = 80,
00293 centerOfMass = 81,
00294 centerOfRotation = 82,
00295 child1Url = 83,
00296 child2Url = 84,
00297 child3Url = 85,
00298 child4Url = 86,
00299 _class = 87,
00300 closureType = 88,
00301 collideTime = 89,
00302 content = 90,
00303 controlKey = 91,
00304 controlPoint = 92,
00305 convex = 93,
00306 coordinateSystem = 94,
00307 copyright = 95,
00308 creaseAngle = 96,
00309 crossSection = 97,
00310 cryptoKeyID = 98,
00311 cryptoSystem = 99,
00312 cutOffAngle = 100,
00313 cycleInterval = 101,
00314 cycleTime = 102,
00315 data = 103,
00316 dataFormat = 104,
00317 dataLength = 105,
00318 dataUrl = 106,
00319 date = 107,
00320 deadReckoning = 108,
00321 deletionAllowed = 109,
00322 description = 110,
00323 detonateTime = 111,
00324 dir = 112,
00325 directOutput = 113,
00326 diskAngle = 114,
00327 displacements = 115,
00328 documentation = 116,
00329 elapsedTime = 117,
00330 ellipsoid = 118,
00331 encodingScheme = 119,
00332 endAngle = 120,
00333 endCap = 121,
00334 enterTime = 122,
00335 enteredText = 123,
00336 entityCategory = 124,
00337 entityCountry = 125,
00338 entityDomain = 126,
00339 entityExtra = 127,
00340 entityID = 128,
00341 entityKind = 129,
00342 entitySpecific = 130,
00343 entitySubCategory = 131,
00344 exitTime = 132,
00345 extent = 133,
00346 family = 134,
00347 fanCount = 135,
00348 fieldOfView = 136,
00349 filled = 137,
00350 finalText = 138,
00351 fireMissionIndex = 139,
00352 fired1 = 140,
00353 fired2 = 141,
00354 firedTime = 142,
00355 firingRange = 143,
00356 firingRate = 144,
00357 fogType = 145,
00358 forceID = 146,
00359 frequency = 147,
00360 frontUrl = 148,
00361 fuse = 149,
00362 geoCoords = 150,
00363 geoGridOrigin = 151,
00364 geoSystem = 152,
00365 groundAngle = 153,
00366 groundColor = 154,
00367 hatchColor = 155,
00368 hatchStyle = 156,
00369 hatched = 157,
00370 headlight = 158,
00371 horizontal = 159,
00372 horizontalDatum = 160,
00373 http_equiv = 161,
00374 image = 162,
00375 importedDEF = 163,
00376 info = 164,
00377 innerRadius = 165,
00378 inputFalse = 166,
00379 inputNegate = 167,
00380 inputSource = 168,
00381 inputTrue = 169,
00382 integerKey = 170,
00383 intensity = 171,
00384 jump = 172,
00385 justify = 173,
00386 keyPress = 174,
00387 keyRelease = 175,
00388 knot = 176,
00389 lang = 177,
00390 language = 178,
00391 leftToRight = 179,
00392 leftUrl = 180,
00393 length = 181,
00394 lengthOfModulationParameters = 182,
00395 level = 183,
00396 limitOrientation = 184,
00397 lineSegments = 185,
00398 linearAcceleration = 186,
00399 linearVelocity = 187,
00400 linetype = 188,
00401 linewidthScaleFactor = 189,
00402 llimit = 190,
00403 load = 191,
00404 loadTime = 192,
00405 localDEF = 193,
00406 location = 194,
00407 loop = 195,
00408 marking = 196,
00409 mass = 197,
00410 maxAngle = 198,
00411 maxBack = 199,
00412 maxExtent = 200,
00413 maxFront = 201,
00414 maxPosition = 202,
00415 metadataFormat = 203,
00416 minAngle = 204,
00417 minBack = 205,
00418 minFront = 206,
00419 minPosition = 207,
00420 modulationTypeDetail = 208,
00421 modulationTypeMajor = 209,
00422 modulationTypeSpreadSpectrum = 210,
00423 modulationTypeSystem = 211,
00424 momentsOfInertia = 212,
00425 multicastRelayHost = 213,
00426 multicastRelayPort = 214,
00427 munitionApplicationID = 215,
00428 munitionEndPoint = 216,
00429 munitionEntityID = 217,
00430 munitionQuantity = 218,
00431 munitionSiteID = 219,
00432 munitionStartPoint = 220,
00433 mustEvaluate = 221,
00434 navType = 222,
00435 networkMode = 223,
00436 next = 224,
00437 nodeField = 225,
00438 offset = 226,
00439 on = 227,
00440 order = 228,
00441 originator = 229,
00442 outerRadius = 230,
00443 parameter = 231,
00444 pauseTime = 232,
00445 pitch = 233,
00446 points = 234,
00447 port = 235,
00448 power = 236,
00449 previous = 237,
00450 priority = 238,
00451 profile = 239,
00452 progress = 240,
00453 protoField = 241,
00454 radioEntityTypeCategory = 242,
00455 radioEntityTypeCountry = 243,
00456 radioEntityTypeDomain = 244,
00457 radioEntityTypeKind = 245,
00458 radioEntityTypeNomenclature = 246,
00459 radioEntityTypeNomenclatureVersion = 247,
00460 radioID = 248,
00461 readInterval = 249,
00462 receivedPower = 250,
00463 receiverState = 251,
00464 reference = 252,
00465 relativeAntennaLocation = 253,
00466 resolution = 254,
00467 resumeTime = 255,
00468 rightUrl = 256,
00469 rootUrl = 257,
00470 rotateYUp = 258,
00471 rtpHeaderExpected = 259,
00472 sampleRate = 260,
00473 samples = 261,
00474 shiftKey = 262,
00475 side = 263,
00476 siteID = 264,
00477 skinCoordIndex = 265,
00478 skinCoordWeight = 266,
00479 skyAngle = 267,
00480 skyColor = 268,
00481 spacing = 269,
00482 spatialize = 270,
00483 speed = 271,
00484 speedFactor = 272,
00485 spine = 273,
00486 startAngle = 274,
00487 startTime = 275,
00488 stiffness = 276,
00489 stopTime = 277,
00490 string = 278,
00491 stripCount = 279,
00492 style = 280,
00493 summary = 281,
00494 tdlType = 282,
00495 tessellation = 283,
00496 tessellationScale = 284,
00497 time = 285,
00498 timeOut = 286,
00499 timestamp = 287,
00500 title = 288,
00501 toggle = 289,
00502 top = 290,
00503 topToBottom = 291,
00504 topUrl = 292,
00505 touchTime = 293,
00506 transmitFrequencyBandwidth = 294,
00507 transmitState = 295,
00508 transmitterApplicationID = 296,
00509 transmitterEntityID = 297,
00510 transmitterRadioID = 298,
00511 transmitterSiteID = 299,
00512 transparent = 300,
00513 triggerTime = 301,
00514 triggerTrue = 302,
00515 triggerValue = 303,
00516 type = 304,
00517 uDimension = 305,
00518 uKnot = 306,
00519 uOrder = 307,
00520 uTessellation = 308,
00521 ulimit = 309,
00522 vDimension = 310,
00523 vKnot = 311,
00524 vOrder = 312,
00525 vTessellation = 313,
00526 version = 314,
00527 verticalDatum = 315,
00528 vertices = 316,
00529 visibilityLimit = 317,
00530 visibilityRange = 318,
00531 warhead = 319,
00532 weight = 320,
00533 whichGeometry = 321,
00534 writeInterval = 322,
00535 xDimension = 323,
00536 xSpacing = 324,
00537 yScale = 325,
00538 zDimension = 326,
00539 zSpacing = 327
00540 };
00541 };
00542
00543 #endif
00544