VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Hybrid
vtkX3D.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkX3D.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
15
#ifndef __vtkX3D_h
16
#define __vtkX3D_h
17
18
extern
const
char
*
x3dElementString
[];
19
extern
const
char
*
x3dAttributeString
[];
20
21
namespace
vtkX3D
22
{
23
enum
X3DTypes
24
{
25
SFVEC3F
,
SFVEC2F
,
26
MFVEC3F
,
MFVEC2F
,
27
SFCOLOR
,
MFCOLOR
,
28
SFROTATION
,
MFROTATION
,
29
SFSTRING
,
MFSTRING
,
30
MFINT32
,
SFIMAGE
31
};
32
33
/* Elements */
34
enum
X3DElement
35
{
36
Shape
= 0,
37
Appearance
= 1,
38
Material
= 2,
39
IndexedFaceSet
= 3,
40
ProtoInstance
= 4,
41
Transform
= 5,
42
ImageTexture
= 6,
43
TextureTransform
= 7,
44
Coordinate
= 8,
45
Normal
= 9,
46
Color
= 10,
47
ColorRGBA
= 11,
48
TextureCoordinate
= 12,
49
ROUTE
= 13,
50
fieldValue
= 14,
51
Group
= 15,
52
LOD
= 16,
53
Switch
= 17,
54
Script
= 18,
55
IndexedTriangleFanSet
= 19,
56
IndexedTriangleSet
= 20,
57
IndexedTriangleStripSet
= 21,
58
MultiTexture
= 22,
59
MultiTextureCoordinate
= 23,
60
MultiTextureTransform
= 24,
61
IndexedLineSet
= 25,
62
PointSet
= 26,
63
StaticGroup
= 27,
64
Sphere
= 28,
65
Box
= 29,
66
Cone
= 30,
67
Anchor
= 31,
68
Arc2D
= 32,
69
ArcClose2D
= 33,
70
AudioClip
= 34,
71
Background
= 35,
72
Billboard
= 36,
73
BooleanFilter
= 37,
74
BooleanSequencer
= 38,
75
BooleanToggle
= 39,
76
BooleanTrigger
= 40,
77
Circle2D
= 41,
78
Collision
= 42,
79
ColorInterpolator
= 43,
80
Contour2D
= 44,
81
ContourPolyline2D
= 45,
82
CoordinateDouble
= 46,
83
CoordinateInterpolator
= 47,
84
CoordinateInterpolator2D
= 48,
85
Cylinder
= 49,
86
CylinderSensor
= 50,
87
DirectionalLight
= 51,
88
Disk2D
= 52,
89
EXPORT
= 53,
90
ElevationGrid
= 54,
91
EspduTransform
= 55,
92
ExternProtoDeclare
= 56,
93
Extrusion
= 57,
94
FillProperties
= 58,
95
Fog
= 59,
96
FontStyle
= 60,
97
GeoCoordinate
= 61,
98
GeoElevationGrid
= 62,
99
GeoLOD
= 63,
100
GeoLocation
= 64,
101
GeoMetadata
= 65,
102
GeoOrigin
= 66,
103
GeoPositionInterpolator
= 67,
104
GeoTouchSensor
= 68,
105
GeoViewpoint
= 69,
106
HAnimDisplacer
= 70,
107
HAnimHumanoid
= 71,
108
HAnimJoint
= 72,
109
HAnimSegment
= 73,
110
HAnimSite
= 74,
111
IMPORT
= 75,
112
IS
= 76,
113
Inline
= 77,
114
IntegerSequencer
= 78,
115
IntegerTrigger
= 79,
116
KeySensor
= 80,
117
LineProperties
= 81,
118
LineSet
= 82,
119
LoadSensor
= 83,
120
MetadataDouble
= 84,
121
MetadataFloat
= 85,
122
MetadataInteger
= 86,
123
MetadataSet
= 87,
124
MetadataString
= 88,
125
MovieTexture
= 89,
126
NavigationInfo
= 90,
127
NormalInterpolator
= 91,
128
NurbsCurve
= 92,
129
NurbsCurve2D
= 93,
130
NurbsOrientationInterpolator
= 94,
131
NurbsPatchSurface
= 95,
132
NurbsPositionInterpolator
= 96,
133
NurbsSet
= 97,
134
NurbsSurfaceInterpolator
= 98,
135
NurbsSweptSurface
= 99,
136
NurbsSwungSurface
= 100,
137
NurbsTextureCoordinate
= 101,
138
NurbsTrimmedSurface
= 102,
139
OrientationInterpolator
= 103,
140
PixelTexture
= 104,
141
PlaneSensor
= 105,
142
PointLight
= 106,
143
Polyline2D
= 107,
144
Polypoint2D
= 108,
145
PositionInterpolator
= 109,
146
PositionInterpolator2D
= 110,
147
ProtoBody
= 111,
148
ProtoDeclare
= 112,
149
ProtoInterface
= 113,
150
ProximitySensor
= 114,
151
ReceiverPdu
= 115,
152
Rectangle2D
= 116,
153
ScalarInterpolator
= 117,
154
Scene
= 118,
155
SignalPdu
= 119,
156
Sound
= 120,
157
SphereSensor
= 121,
158
SpotLight
= 122,
159
StringSensor
= 123,
160
Text
= 124,
161
TextureBackground
= 125,
162
TextureCoordinateGenerator
= 126,
163
TimeSensor
= 127,
164
TimeTrigger
= 128,
165
TouchSensor
= 129,
166
TransmitterPdu
= 130,
167
TriangleFanSet
= 131,
168
TriangleSet
= 132,
169
TriangleSet2D
= 133,
170
TriangleStripSet
= 134,
171
Viewpoint
= 135,
172
VisibilitySensor
= 136,
173
WorldInfo
= 137,
174
X3D
= 138,
175
component
= 139,
176
connect
= 140,
177
field
= 141,
178
head
= 142,
179
humanoidBodyType
= 143,
180
meta
= 144,
181
CADAssembly
,
182
CADFace
,
183
CADLayer
,
184
CADPart
,
185
ComposedCubeMapTexture
,
186
ComposedShader
,
187
ComposedTexture3D
,
188
FloatVertexAttribute
,
189
FogCoordinate
,
190
GeneratedCubeMapTexture
,
191
ImageCubeMapTexture
,
192
ImageTexture3D
,
193
IndexedQuadSet
,
194
LocalFog
,
195
Matrix3VertexAttribute
,
196
Matrix4VertexAttribute
,
197
PackagedShader
,
198
PixelTexture3D
,
199
ProgramShader
,
200
QuadSet
,
201
ShaderPart
,
202
ShaderProgram
,
203
TextureCoordinate3D
,
204
TextureCoordinate4D
,
205
TextureTransform3D
,
206
TextureTransformMatrix3D
207
};
208
209
/* Attributes */
210
enum
X3DAttribute
211
{
212
DEF
= 0,
213
USE
= 1,
214
containerField
= 2,
215
fromNode
= 3,
216
fromField
= 4,
217
toNode
= 5,
218
toField
= 6,
219
name
= 7,
220
value
= 8,
221
color
= 9,
222
colorIndex
= 10,
223
coordIndex
= 11,
224
texCoordIndex
= 12,
225
normalIndex
= 13,
226
colorPerVertex
= 14,
227
normalPerVertex
= 15,
228
rotation
= 16,
229
scale
= 17,
230
center
= 18,
231
scaleOrientation
= 19,
232
translation
= 20,
233
url
= 21,
234
repeatS
= 22,
235
repeatT
= 23,
236
point
= 24,
237
vector
= 25,
238
range
= 26,
239
ambientIntensity
= 27,
240
diffuseColor
= 28,
241
emissiveColor
= 29,
242
shininess
= 30,
243
specularColor
= 31,
244
transparency
= 32,
245
whichChoice
= 33,
246
index
= 34,
247
mode
= 35,
248
source
= 36,
249
function
= 37,
250
alpha
= 38,
251
vertexCount
= 39,
252
radius
= 40,
253
size
= 41,
254
height
= 42,
255
solid
= 43,
256
ccw
= 44,
257
key
= 45,
258
keyValue
= 46,
259
enabled
= 47,
260
direction
= 48,
261
position
= 49,
262
orientation
= 50,
263
bboxCenter
= 51,
264
bboxSize
= 52,
265
AS
= 53,
266
InlineDEF
= 54,
267
accessType
= 55,
268
actionKeyPress
= 56,
269
actionKeyRelease
= 57,
270
address
= 58,
271
altKey
= 59,
272
antennaLocation
= 60,
273
antennaPatternLength
= 61,
274
antennaPatternType
= 62,
275
applicationID
= 63,
276
articulationParameterArray
= 64,
277
articulationParameterChangeIndicatorArray
= 65,
278
articulationParameterCount
= 66,
279
articulationParameterDesignatorArray
= 67,
280
articulationParameterIdPartAttachedArray
= 68,
281
articulationParameterTypeArray
= 69,
282
attenuation
= 70,
283
autoOffset
= 71,
284
avatarSize
= 72,
285
axisOfRotation
= 73,
286
backUrl
= 74,
287
beamWidth
= 75,
288
beginCap
= 76,
289
bindTime
= 77,
290
bottom
= 78,
291
bottomRadius
= 79,
292
bottomUrl
= 80,
293
centerOfMass
= 81,
294
centerOfRotation
= 82,
295
child1Url
= 83,
296
child2Url
= 84,
297
child3Url
= 85,
298
child4Url
= 86,
299
_class
= 87,
300
closureType
= 88,
301
collideTime
= 89,
302
content
= 90,
303
controlKey
= 91,
304
controlPoint
= 92,
305
convex
= 93,
306
coordinateSystem
= 94,
307
copyright
= 95,
308
creaseAngle
= 96,
309
crossSection
= 97,
310
cryptoKeyID
= 98,
311
cryptoSystem
= 99,
312
cutOffAngle
= 100,
313
cycleInterval
= 101,
314
cycleTime
= 102,
315
data
= 103,
316
dataFormat
= 104,
317
dataLength
= 105,
318
dataUrl
= 106,
319
date
= 107,
320
deadReckoning
= 108,
321
deletionAllowed
= 109,
322
description
= 110,
323
detonateTime
= 111,
324
dir
= 112,
325
directOutput
= 113,
326
diskAngle
= 114,
327
displacements
= 115,
328
documentation
= 116,
329
elapsedTime
= 117,
330
ellipsoid
= 118,
331
encodingScheme
= 119,
332
endAngle
= 120,
333
endCap
= 121,
334
enterTime
= 122,
335
enteredText
= 123,
336
entityCategory
= 124,
337
entityCountry
= 125,
338
entityDomain
= 126,
339
entityExtra
= 127,
340
entityID
= 128,
341
entityKind
= 129,
342
entitySpecific
= 130,
343
entitySubCategory
= 131,
344
exitTime
= 132,
345
extent
= 133,
346
family
= 134,
347
fanCount
= 135,
348
fieldOfView
= 136,
349
filled
= 137,
350
finalText
= 138,
351
fireMissionIndex
= 139,
352
fired1
= 140,
353
fired2
= 141,
354
firedTime
= 142,
355
firingRange
= 143,
356
firingRate
= 144,
357
fogType
= 145,
358
forceID
= 146,
359
frequency
= 147,
360
frontUrl
= 148,
361
fuse
= 149,
362
geoCoords
= 150,
363
geoGridOrigin
= 151,
364
geoSystem
= 152,
365
groundAngle
= 153,
366
groundColor
= 154,
367
hatchColor
= 155,
368
hatchStyle
= 156,
369
hatched
= 157,
370
headlight
= 158,
371
horizontal
= 159,
372
horizontalDatum
= 160,
373
http_equiv
= 161,
374
image
= 162,
375
importedDEF
= 163,
376
info
= 164,
377
innerRadius
= 165,
378
inputFalse
= 166,
379
inputNegate
= 167,
380
inputSource
= 168,
381
inputTrue
= 169,
382
integerKey
= 170,
383
intensity
= 171,
384
jump
= 172,
385
justify
= 173,
386
keyPress
= 174,
387
keyRelease
= 175,
388
knot
= 176,
389
lang
= 177,
390
language
= 178,
391
leftToRight
= 179,
392
leftUrl
= 180,
393
length
= 181,
394
lengthOfModulationParameters
= 182,
395
level
= 183,
396
limitOrientation
= 184,
397
lineSegments
= 185,
398
linearAcceleration
= 186,
399
linearVelocity
= 187,
400
linetype
= 188,
401
linewidthScaleFactor
= 189,
402
llimit
= 190,
403
load
= 191,
404
loadTime
= 192,
405
localDEF
= 193,
406
location
= 194,
407
loop
= 195,
408
marking
= 196,
409
mass
= 197,
410
maxAngle
= 198,
411
maxBack
= 199,
412
maxExtent
= 200,
413
maxFront
= 201,
414
maxPosition
= 202,
415
metadataFormat
= 203,
416
minAngle
= 204,
417
minBack
= 205,
418
minFront
= 206,
419
minPosition
= 207,
420
modulationTypeDetail
= 208,
421
modulationTypeMajor
= 209,
422
modulationTypeSpreadSpectrum
= 210,
423
modulationTypeSystem
= 211,
424
momentsOfInertia
= 212,
425
multicastRelayHost
= 213,
426
multicastRelayPort
= 214,
427
munitionApplicationID
= 215,
428
munitionEndPoint
= 216,
429
munitionEntityID
= 217,
430
munitionQuantity
= 218,
431
munitionSiteID
= 219,
432
munitionStartPoint
= 220,
433
mustEvaluate
= 221,
434
navType
= 222,
435
networkMode
= 223,
436
next
= 224,
437
nodeField
= 225,
438
offset
= 226,
439
on
= 227,
440
order
= 228,
441
originator
= 229,
442
outerRadius
= 230,
443
parameter
= 231,
444
pauseTime
= 232,
445
pitch
= 233,
446
points
= 234,
447
port
= 235,
448
power
= 236,
449
previous
= 237,
450
priority
= 238,
451
profile
= 239,
452
progress
= 240,
453
protoField
= 241,
454
radioEntityTypeCategory
= 242,
455
radioEntityTypeCountry
= 243,
456
radioEntityTypeDomain
= 244,
457
radioEntityTypeKind
= 245,
458
radioEntityTypeNomenclature
= 246,
459
radioEntityTypeNomenclatureVersion
= 247,
460
radioID
= 248,
461
readInterval
= 249,
462
receivedPower
= 250,
463
receiverState
= 251,
464
reference
= 252,
465
relativeAntennaLocation
= 253,
466
resolution
= 254,
467
resumeTime
= 255,
468
rightUrl
= 256,
469
rootUrl
= 257,
470
rotateYUp
= 258,
471
rtpHeaderExpected
= 259,
472
sampleRate
= 260,
473
samples
= 261,
474
shiftKey
= 262,
475
side
= 263,
476
siteID
= 264,
477
skinCoordIndex
= 265,
478
skinCoordWeight
= 266,
479
skyAngle
= 267,
480
skyColor
= 268,
481
spacing
= 269,
482
spatialize
= 270,
483
speed
= 271,
484
speedFactor
= 272,
485
spine
= 273,
486
startAngle
= 274,
487
startTime
= 275,
488
stiffness
= 276,
489
stopTime
= 277,
490
string
= 278,
491
stripCount
= 279,
492
style
= 280,
493
summary
= 281,
494
tdlType
= 282,
495
tessellation
= 283,
496
tessellationScale
= 284,
497
time
= 285,
498
timeOut
= 286,
499
timestamp
= 287,
500
title
= 288,
501
toggle
= 289,
502
top
= 290,
503
topToBottom
= 291,
504
topUrl
= 292,
505
touchTime
= 293,
506
transmitFrequencyBandwidth
= 294,
507
transmitState
= 295,
508
transmitterApplicationID
= 296,
509
transmitterEntityID
= 297,
510
transmitterRadioID
= 298,
511
transmitterSiteID
= 299,
512
transparent
= 300,
513
triggerTime
= 301,
514
triggerTrue
= 302,
515
triggerValue
= 303,
516
type
= 304,
517
uDimension
= 305,
518
uKnot
= 306,
519
uOrder
= 307,
520
uTessellation
= 308,
521
ulimit
= 309,
522
vDimension
= 310,
523
vKnot
= 311,
524
vOrder
= 312,
525
vTessellation
= 313,
526
version
= 314,
527
verticalDatum
= 315,
528
vertices
= 316,
529
visibilityLimit
= 317,
530
visibilityRange
= 318,
531
warhead
= 319,
532
weight
= 320,
533
whichGeometry
= 321,
534
writeInterval
= 322,
535
xDimension
= 323,
536
xSpacing
= 324,
537
yScale
= 325,
538
zDimension
= 326,
539
zSpacing
= 327
540
};
541
};
542
543
#endif
544
Generated on Fri Aug 2 2013 12:19:58 for VTK by
1.8.4