NAME
OSUInventorScene - C++ class for reading an OpenInventor
scene
SYNOPSIS
A C++ class for reading an OpenInventor scene from a file.
OSUInventorScene CONSTRUCTOR
OSUInventorScene(char * filename)
Open file filename and read the OpenInventor scene from
the file. Store objects in the Objects list, store
lights in the Lights list and store the camera (if one
exists) in Camera.
OSUInventorScene DATA
SbPList Objects
A list of objects of type OSUObjectData.
SbPList Lights
A list of OpenInventor lights.
SoCamera *Camera
Pointer to a camera. May be NULL (0) if no camera was
found in the input file.
OSUObjectData DATA
SoNode *shape
Shape stored at the node, i.e., sphere, cube, quadmesh,
triangle strip.
SoTransform *tranformation
Transformation which maps shape from object to world
coordinates. OSUInventorScene puts together all the
transformations applied to a shape to give a single
transformation for that shape. Transformation consists
of a scaling, followed by a rotation followed by a
translation.
SoMaterial *material
Material properties. Contains the ambient, diffuse,
specular and emissive color, the shininess coefficient
and the transparency.
SoNode *points
List of point coordinates for use in triangle strips,
quad meshes, etc.
SoNormal *normal
List of normal vectors.
SoNode *texture_points
List of points for defining texture.
SoNode *texture
Texture. Contains the file name of the SGI .rgb file
containing the texture.
TextureType texture_type
Flag for defining procedural textures. This is not an
OpenInventor object.
SoDrawStyle draw_style
Drawing style. Filled, lines (wireframe,) points, or
invisible.
SoComplexity complexity
Hint for how to render an object based on its geometric
complexity.
AUTHORS
Scott King, Rephael Wenger (The Ohio State University)
Man(1) output converted with
man2html