Supported VRML97 nodes. More...
Classes | |
class | SoVRMLAnchor |
Group node with URL hyperlink. More... | |
class | SoVRMLAppearance |
Specifies the material, texture, textureTransform fillProperties, and lineProperties nodes. More... | |
class | SoVRMLAudioClip |
Audio data node [Windows only] . More... | |
class | SoVRMLBackground |
Color backdrop node. Action not implemented for this node. More... | |
class | SoVRMLBillboard |
Grouping node that modifies its coordinate system so that its local Z-axis always points at the viewer. More... | |
class | SoVRMLBox |
Box shape node. More... | |
class | SoVRMLCollision |
Grouping node that controls collision detection. Action partially implemented for this node. More... | |
class | SoVRMLColor |
Specifies RGB colors to be used in the fields of another node. More... | |
class | SoVRMLColorInterpolator |
Interpolates among a set of color values. More... | |
class | SoVRMLCone |
Cone shape node. More... | |
class | SoVRMLCoordinate |
Coordinate node. More... | |
class | SoVRMLCoordinateInterpolator |
Interpolates among a set of coordinate values. More... | |
class | SoVRMLCylinder |
Cylinder shape node. More... | |
class | SoVRMLCylinderSensor |
Maps pointing device motion onto a cylinder. Action not implemented for this node. More... | |
class | SoVRMLDirectionalLight |
Node representing a directional light source. More... | |
class | SoVRMLElevationGrid |
Specifies a uniform rectangular grid of varying height in the XZ plane. More... | |
class | SoVRMLExtrusion |
Specifies geometric shapes based on a 2D cross section along a 3D spine. More... | |
class | SoVRMLFog |
Simulates fog. Action not implemented for this node. More... | |
class | SoVRMLFontStyle |
Specifies font size, family, style, etc. More... | |
class | SoVRMLGeometry |
Abstract base class for all VRML97 and X3D geometry nodes. More... | |
class | SoVRMLGridShape |
Abstract base class for the SoVRMLElevationGrid node. More... | |
class | SoVRMLGroup |
Group node. More... | |
class | SoVRMLImageTexture |
Texture map node. More... | |
class | SoVRMLIndexedFaceSet |
Indexed polygonal face shape node. More... | |
class | SoVRMLIndexedLine |
Abstract base class for the SoVRMLIndexedLineSet node. More... | |
class | SoVRMLIndexedLineSet |
Indexed polyline shape node. More... | |
class | SoVRMLIndexedShape |
Abstract base class for SoVRMLIndexedFaceSet. More... | |
class | SoVRMLInline |
Grouping node that refers to children through a URL. More... | |
class | SoVRMLInterpolator |
Abstract base class for VRML interpolators. More... | |
class | SoVRMLInterpOutput |
Class for all VRML interpolator outputs. More... | |
class | SoVRMLLight |
Abstract base class for all VRML97 light nodes. More... | |
class | SoVRMLLOD |
Distance-based level-of-detail switching group node. More... | |
class | SoVRMLMaterial |
Surface material definition node. More... | |
class | SoVRMLMovieTexture |
Texture and sound node. More... | |
class | SoVRMLNavigationInfo |
Describes physical characteristics of viewer and viewing model. Action partially implemented for this node. More... | |
class | SoVRMLNormal |
Node that defines surface normals for shapes. More... | |
class | SoVRMLNormalInterpolator |
Interpolates among a set of normals. More... | |
class | SoVRMLOrientationInterpolator |
Interpolates among a set of rotation values. More... | |
class | SoVRMLParent |
Abstract base class for all VRML grouping nodes that have children. More... | |
class | SoVRMLPixelTexture |
Texture node. More... | |
class | SoVRMLPlaneSensor |
Maps pointing device motion onto a plane. More... | |
class | SoVRMLPointLight |
Node representing a point light source. More... | |
class | SoVRMLPointSet |
Point set shape node. More... | |
class | SoVRMLPositionInterpolator |
Interpolates among a set of position values. More... | |
class | SoVRMLProximitySensor |
Generates events when the user moves into, out of, or within a specified region of space. More... | |
class | SoVRMLScalarInterpolator |
Interpolates among a set of float values. More... | |
class | SoVRMLScript |
Used to program behavior in a scene. Action not implemented for this node. More... | |
class | SoVRMLShape |
Defines a shape by specifying its appearance and geometry. More... | |
class | SoVRMLSound |
Specifies position and spatial representation of a sound [Windows only] . More... | |
class | SoVRMLSphere |
Sphere shape node. More... | |
class | SoVRMLSphereSensor |
Maps pointing device motion onto a sphere. Action not implemented for this node. More... | |
class | SoVRMLSpotLight |
Node representing a spotlight source. More... | |
class | SoVRMLSwitch |
Group node that traverses one chosen child. More... | |
class | SoVRMLText |
Text shape node. More... | |
class | SoVRMLTexture |
Abstract base class for all VRML texture nodes. More... | |
class | SoVRMLTextureCoordinate |
Texture coordinate node. More... | |
class | SoVRMLTextureTransform |
Defines a 2D transformation. More... | |
class | SoVRMLTimeSensor |
Generates events as time passes. More... | |
class | SoVRMLTouchSensor |
Detects when the user has pointed at a specific piece of geometry. More... | |
class | SoVRMLTransform |
Grouping node that defines a coordinate system for its children. More... | |
class | SoVRMLVertexLine |
Abstract base class for SoVRMLIndexedLineSet. More... | |
class | SoVRMLVertexPoint |
Abstract base class for the SoVRMLPointSet node. More... | |
class | SoVRMLVertexShape |
Abstract base class for various geometry nodes. More... | |
class | SoVRMLViewpoint |
Specifies position from which the user might view the scene. More... | |
class | SoVRMLVisibilitySensor |
Detects visibility changes of a rectangular box. Action not implemented for this node. More... | |
class | SoVRMLWorldInfo |
Contains information about the world. More... |
Supported VRML97 nodes.
NOTE: The VRML classes do not exist in Open Inventor 10.0 and later.The VRML97 (also known as VRML 2.0) nodes have been upated in Open Inventor 5.0 to match the X3D (successor to VRML97) specification. The changes consist of additional fields. VRML files that contain any of these new fields will not be readable by VRML97 browsers or older versions of Open Inventor. As long as you never set any of these fields, there will not be a problem because fields that contain their default value are not written out.
Routes are Open Inventor field-to-field connections. When Open Inventor reads a VRML file, it automatically creates the connections specified by the Route statements, if any. When Open Inventor writes a file with a VRML97 or X3D header, it automatically generates Route statements for any field-to-field connections that exist. An application can create field-to-field connections in the usual way (field->connectFrom) or by using SoDB::createRoute().
To have Open Inventor write a VRML97 file, set the file header to the standard VRML97 header, i.e., "#VRML V2.0 utf8" using the setHeaderString method on SoOutput. NOTE: Setting the file header to the VRML97 file header does not cause Open Inventor to convert non-VRML nodes into VRML nodes. If you need to convert nodes to VRML97, use SoToVRML2Action or the utility program ivtovrml.
Open Inventor uses the file header to determine how node (class) names should be handled when reading or writing a file. If the file header is an Open Inventor header, e.g. "#Inventor V2.1 ascii", then all nodes will be read (and written) using their internal class names. This means that VRML. nodes will be written as (for example) "VRMLTransform", to ensure that they do not conflict with pre-existing Open Inventor node class names. It also means that "Transform" will be read as an SoTransform node, while " VRMLTransform" will be read as an SoVRMLTransform node. If the file header is "#VRML V2.0 utf8", then VRML97 nodes are written without the "VRML" prefix and "Transform" will be read as an SoVRMLTransform node. An SoTransform node will be written as "SoTransform".