Go to the source code of this file.
Data Structures | |
| struct | node_ |
| A generic node. More... | |
| struct | sfcolor_ |
| SFColor vrml field type. More... | |
| struct | mfcolor_ |
| MFColor vrml field type. More... | |
| struct | sfvec3f_ |
| SFVec3f vrml field type. More... | |
| struct | sfrotation_ |
| SFRotation vrml field type. More... | |
| struct | mffloat_ |
| MFFloat vrml field type. More... | |
| struct | mfvec3f_ |
| MFVec3f vrml field type. More... | |
| struct | mfstring_ |
| MFString vrml field type. More... | |
| struct | group_fields_ |
| Internal rapresentation of the fields of vrml Group node. More... | |
| struct | billboard_fields_ |
| Internal rapresentation of the fields of vrml Billboard node. More... | |
| struct | inline_fields_ |
| Internal rapresentation of the fields of vrml Inline node. More... | |
| struct | transform_fields_ |
| Internal rapresentation of the fields of vrml Transform node. More... | |
| struct | material_fields_ |
| Internal representation of Material VRML97 node. More... | |
| struct | anchor_fields_ |
| Internal rapresentation of the fields of vrml Anchor node. More... | |
| struct | appearance_fields_ |
| Internal rapresentation of the fields of vrml Appearance node. More... | |
| struct | sphere_fields_ |
| Internal rapresentation of the fields of vrml Sphere node. More... | |
| struct | box_fields_ |
| Internal rapresentation of the fields of vrml Box node. More... | |
| struct | cone_fields_ |
| Internal rapresentation of the fields of vrml Cone node. More... | |
| struct | cylinder_fields_ |
| Internal rapresentation of the fields of vrml Cylinder node. More... | |
| struct | shape_fields_ |
| Internal rapresentation of the fields of vrml Shape node. More... | |
| struct | coord_fields_ |
| Internal rapresentation of the fields of vrml Coordinate node. More... | |
| struct | navigation_fields_ |
| Internal rapresentation of the fields of vrml Navigation node. More... | |
| struct | elevation_fields_ |
| Internal rapresentation of the fields of vrml ElevationGrid node. More... | |
| struct | line_fields_ |
| Internal rapresentation of the fields of vrml IndexedLineSet node. More... | |
| struct | faceset_fields_ |
| Internal rapresentation of the fields of vrml IndexedFaceSet node. More... | |
| struct | pontset_fields_ |
| Internal rapresentation of the fields of vrml PointSet node. More... | |
| struct | sound_fields_ |
| Internal rapresentation of the fields of vrml Sound node. More... | |
| struct | text_fields_ |
| Internal rapresentation of the fields of vrml Text node. More... | |
Defines | |
| #define | VRMLTYPES_H 1 /**< protect from reinclusion.*/ |
| protect from reinclusion. | |
Typedefs | |
| typedef node_ | node |
| A generic node. | |
| typedef sfcolor_ | sfcolor |
| SFColor vrml field type. | |
| typedef mfcolor_ | mfcolor |
| MFColor vrml field type. | |
| typedef sfvec3f_ | sfvec3f |
| SFVec3f vrml field type. | |
| typedef sfrotation_ | sfrotation |
| SFRotation vrml field type. | |
| typedef mffloat_ | mffloat |
| MFFloat vrml field type. | |
| typedef mfvec3f_ | mfvec3f |
| MFVec3f vrml field type. | |
| typedef mfstring_ | mfstring |
| MFString vrml field type. | |
| typedef group_fields_ | group_fields |
| Internal rapresentation of the fields of vrml Group node. | |
| typedef billboard_fields_ | billboard_fields |
| Internal rapresentation of the fields of vrml Billboard node. | |
| typedef inline_fields_ | inline_fields |
| Internal rapresentation of the fields of vrml Inline node. | |
| typedef transform_fields_ | transform_fields |
| Internal rapresentation of the fields of vrml Transform node. | |
| typedef material_fields_ | material_fields |
| Internal representation of Material VRML97 node. | |
| typedef anchor_fields_ | anchor_fields |
| Internal rapresentation of the fields of vrml Anchor node. | |
| typedef appearance_fields_ | appearance_fields |
| Internal rapresentation of the fields of vrml Appearance node. | |
| typedef sphere_fields_ | sphere_fields |
| Internal rapresentation of the fields of vrml Sphere node. | |
| typedef box_fields_ | box_fields |
| Internal rapresentation of the fields of vrml Box node. | |
| typedef cone_fields_ | cone_fields |
| Internal rapresentation of the fields of vrml Cone node. | |
| typedef cylinder_fields_ | cylinder_fields |
| Internal rapresentation of the fields of vrml Cylinder node. | |
| typedef shape_fields_ | shape_fields |
| Internal rapresentation of the fields of vrml Shape node. | |
| typedef coord_fields_ | coord_fields |
| Internal rapresentation of the fields of vrml Coordinate node. | |
| typedef navigation_fields_ | navigation_fields |
| Internal rapresentation of the fields of vrml Navigation node. | |
| typedef elevation_fields_ | elevation_fields |
| Internal rapresentation of the fields of vrml ElevationGrid node. | |
| typedef line_fields_ | line_fields |
| Internal rapresentation of the fields of vrml IndexedLineSet node. | |
| typedef faceset_fields_ | faceset_fields |
| Internal rapresentation of the fields of vrml IndexedFaceSet node. | |
| typedef pontset_fields_ | pointset_fields |
| Internal rapresentation of the fields of vrml PointSet node. | |
| typedef sound_fields_ | sound_fields |
| Internal rapresentation of the fields of vrml Sound node. | |
| typedef text_fields_ | text_fields |
| Internal rapresentation of the fields of vrml Text node. | |
Enumerations | |
| enum | node_type { Body, ShapeGeometry, ShapeAppearance, Anchor, Appearance, MaterialHeader, TextureHeader, TextureTransformHeader, AudioClip, Background, Billboard, Box, Collision, Color, Empty, ColorInterpolator, Cone, Coordinate, CoordinateInterpolator, Cylinder, CylinderSensor, DirectionalLight, ElevationGrid, Extrusion, Fog, FontStyle, Children, Group, ImageTexture, IndexedFaceSet, IndexedLineSet, Inline, InlineUrl, LOD, Material, MovieTexture, NavigationInfo, AvatarNav, Normal, NormalInterpolator, OrientationInterpolator, PixelTexture, PlaneSensor, PointLight, PointSet, PositionInterpolator, ProximitySensor, ScalarInterpolator, Script, Shape, Sound, SoundSource, Sphere, SphereSensor, SpotLight, Switch, Text, TextStyle, TextureCoordinate, TextureTransform, TimeSensor, TouchSensor, Transform, Viewpoint, VisibilitySensor, WorldInfo, Coordinate_Get, Color_Fetch, Normal_Fetch } |
| Node types. More... | |
|
|
protect from reinclusion.
|
|
|
Internal rapresentation of the fields of vrml Anchor node. The Anchor node is formally defined as:
Anchor {
eventIn MFNode addChildren
eventIn MFNode removeChildren
exposedField MFNode children []
exposedField SFString description ""
exposedField MFString parameter []
exposedField MFString url []
field SFVec3f bboxCenter 0 0 0 # (-,)
field SFVec3f bboxSize -1 -1 -1 # (0,) or -1,-1,-1
}
|
|
|
Internal rapresentation of the fields of vrml Appearance node. The Appearance node is formally defined as:
Appearance {
exposedField SFNode material NULL
exposedField SFNode texture NULL
exposedField SFNode textureTransform NULL
}
|
|
|
Internal rapresentation of the fields of vrml Billboard node. The Billboard node is formally defined as:
Billboard {
eventIn MFNode addChildren
eventIn MFNode removeChildren
exposedField SFVec3f axisOfRotation 0 1 0 # (-,)
exposedField MFNode children []
field SFVec3f bboxCenter 0 0 0 # (-,)
field SFVec3f bboxSize -1 -1 -1 # (0,) or -1,-1,-1
}
We use the node child field for storing children data, so the children field in this struct is omitted.
|
|
|
Internal rapresentation of the fields of vrml Box node. The Box node is formally defined as:
Box {
field SFVec3f size 2 2 2 # (0, )
}
|
|
|
Internal rapresentation of the fields of vrml Cone node. The Cone node is formally defined as:
Cone {
field SFFloat bottomRadius 1 # (0,)
field SFFloat height 2 # (0,)
field SFBool side TRUE
field SFBool bottom TRUE
}
|
|
|
Internal rapresentation of the fields of vrml Coordinate node. The Coordinate node is formally defined as:
Coordinate {
exposedField MFVec3f point [] # (-,)
}
|
|
|
Internal rapresentation of the fields of vrml Cylinder node. The Cylinder node is formally defined as:
Cylinder {
field SFBool bottom TRUE
field SFFloat height 2 # (0,)
field SFFloat radius 1 # (0,)
field SFBool side TRUE
field SFBool top TRUE
}
|
|
|
Internal rapresentation of the fields of vrml ElevationGrid node. The ElevationGrid node is formally defined as:
ElevationGrid {
eventIn MFFloat set_height
exposedField SFNode color NULL
exposedField SFNode normal NULL
exposedField SFNode texCoord NULL
field MFFloat height [] # (-,)
field SFBool ccw TRUE
field SFBool colorPerVertex TRUE
field SFFloat creaseAngle 0 # [0,]
field SFBool normalPerVertex TRUE
field SFBool solid TRUE
field SFInt32 xDimension 0 # [0,)
field SFFloat xSpacing 1.0 # (0,)
field SFInt32 zDimension 0 # [0,)
field SFFloat zSpacing 1.0 # (0,)
}
|
|
|
Internal rapresentation of the fields of vrml IndexedFaceSet node. The IndexedFaceSet node is formally defined as:
IndexedFaceSet {
eventIn MFInt32 set_colorIndex
eventIn MFInt32 set_coordIndex
eventIn MFInt32 set_normalIndex
eventIn MFInt32 set_texCoordIndex
exposedField SFNode color NULL
exposedField SFNode coord NULL
exposedField SFNode normal NULL
exposedField SFNode texCoord NULL
field SFBool ccw TRUE
field MFInt32 colorIndex [] # [-1,)
field SFBool colorPerVertex TRUE
field SFBool convex TRUE
field MFInt32 coordIndex [] # [-1,)
field SFFloat creaseAngle 0 # [0,)
field MFInt32 normalIndex [] # [-1,)
field SFBool normalPerVertex TRUE
field SFBool solid TRUE
field MFInt32 texCoordIndex [] # [-1,)
}
|
|
|
Internal rapresentation of the fields of vrml Group node. The Group node is formally defined as:
Group {
eventIn MFNode addChildren
eventIn MFNode removeChildren
exposedField MFNode children []
field SFVec3f bboxCenter 0 0 0 # (-infinite, infinite)
field SFVec3f bboxSize -1 -1 -1 # (0,infinite) or -1,-1,-1
}
We use the node.child field for storing children data, so the children field in this struct is omitted.
|
|
|
Internal rapresentation of the fields of vrml Inline node. The Inline node is formally defined as:
Inline {
exposedField MFString url []
field SFVec3f bboxCenter 0 0 0 # (-infinite, infinite)
field SFVec3f bboxSize -1 -1 -1 # (0,infinite) or -1,-1,-1
}
|
|
|
Internal rapresentation of the fields of vrml IndexedLineSet node. The IndexedLineSet node is formally defined as:
IndexedLineSet {
eventIn MFInt32 set_colorIndex
eventIn MFInt32 set_coordIndex
exposedField SFNode color NULL
exposedField SFNode coord NULL
field MFInt32 colorIndex [] # [-1,)
field SFBool colorPerVertex TRUE
field MFInt32 coordIndex [] # [-1,)
}
|
|
|
Internal representation of Material VRML97 node. The Material node is formally defined as:
Material {
exposedField SFFloat ambientIntensity 0.2 # [0,1]
exposedField SFColor diffuseColor 0.8 0.8 0.8 # [0,1]
exposedField SFColor emissiveColor 0 0 0 # [0,1]
exposedField SFFloat shininess 0.2 # [0,1]
exposedField SFColor specularColor 0 0 0 # [0,1]
exposedField SFFloat transparency 0 # [0,1]
}
|
|
|
MFColor vrml field type. The presence of two int fields, size and top, is intended for allowing a growth of the values array.
|
|
|
MFFloat vrml field type.
|
|
|
MFString vrml field type.
|
|
|
MFVec3f vrml field type. The presence of two int fields, size and top, is intended for allowing a growth of the values array.
|
|
|
Internal rapresentation of the fields of vrml Navigation node. The Navigation node is formally defined as:
NavigationInfo {
eventIn SFBool set_bind
exposedField MFFloat avatarSize [0.25, 1.6, 0.75] # [0,)
exposedField SFBool headlight TRUE
exposedField SFFloat speed 1.0 # [0,)
exposedField MFString type ["WALK", "ANY"]
exposedField SFFloat visibilityLimit 0.0 # [0,)
eventOut SFBool isBound
}
|
|
|
A generic node. Each node should have some fields, a parent and a type. It may have some children, successors, and an identifier. This struct allow the storing of the needed data, in an independent way from the node type. |
|
|
Internal rapresentation of the fields of vrml PointSet node. The PointSet node is formally defined as:
PointSet {
exposedField SFNode color NULL
exposedField SFNode coord NULL
}
|
|
|
SFColor vrml field type.
|
|
|
SFRotation vrml field type.
|
|
|
SFVec3f vrml field type.
|
|
|
Internal rapresentation of the fields of vrml Shape node. The Shape node is formally defined as:
Shape {
exposedField SFNode appearance NULL
exposedField SFNode geometry NULL
}
|
|
|
Internal rapresentation of the fields of vrml Sound node. The Sound node is formally defined as:
Sound {
exposedField SFVec3f direction 0 0 1 # (-,)
exposedField SFFloat intensity 1 # [0,1]
exposedField SFVec3f location 0 0 0 # (-,)
exposedField SFFloat maxBack 10 # [0,)
exposedField SFFloat maxFront 10 # [0,)
exposedField SFFloat minBack 1 # [0,)
exposedField SFFloat minFront 1 # [0,)
exposedField SFFloat priority 0 # [0,1]
exposedField SFNode source NULL
field SFBool spatialize TRUE
}
|
|
|
Internal rapresentation of the fields of vrml Sphere node. The Sphere node is formally defined as:
Sphere {
field SFFloat radius 1 # (0,)
}
|
|
|
Internal rapresentation of the fields of vrml Text node.
|
|
|
Internal rapresentation of the fields of vrml Transform node. The Transform node is formally defined as:
Transform {
eventIn MFNode addChildren
eventIn MFNode removeChildren
exposedField SFVec3f center 0 0 0 # (-infinite, infinite)
exposedField MFNode children []
exposedField SFRotation rotation 0 0 1 0 # [-1,1],(-infinite, infinite)
exposedField SFVec3f scale 1 1 1 # (0,infinite)
exposedField SFRotation scaleOrientation 0 0 1 0 # [-1,1],(-infinite, infinite)
exposedField SFVec3f translation 0 0 0 # (-infinite, infinite)
field SFVec3f bboxCenter 0 0 0 # (-infinite, infinite)
field SFVec3f bboxSize -1 -1 -1 # (0,infinite) or -1,-1,-1
}
We use the node.child field for storing children data, so the children field in this struct is omitted. Note that the following Transform node:
Transform {
center C
rotation R
scale S
scaleOrientation SR
translation T
children [...]
}
is equivalent to the nested sequence of:
Transform {
translation T
children Transform {
translation C
children Transform {
rotation R
children Transform {
rotation SR
children Transform {
scale S
children Transform {
rotation -SR
children Transform {
translation -C
children [...]
}}}}}}}
|
|