NCSA Portfolio

Class Loader_WRL


public class Loader_WRL
extends BasicLoader

This is the front end to the NCSA Portfolio VRML97 WRL loader. This is not meant to be called directly; it should be called through ModelLoader.

Please note that is loader intended to read VRML97 geometries only, and does not support scripting. This loader is capable of parsing VRML97 compliant files completely, but not all Nodes are currently implemented. Nodes that have not been implemented are ignored. Textures are also not currently supported.

Implemented features:

- Appearance
- Box
- Coordinate
- Collision (for grouping only)
- Group
- IndexedFaceSet
- IndexedLineSet
- Material
- Normal
- Shape
- Sphere
- Transform

See Also:

Constructor Summary
          Default constructor.
Method Summary
 com.sun.j3d.loaders.Scene load( ir)
          Uses this Reader stream to load the object.
Methods inherited from class ncsa.j3d.loaders.BasicLoader
load, load
Methods inherited from class com.sun.j3d.loaders.LoaderBase
getBasePath, getBaseUrl, getFlags, setBasePath, setBaseUrl, setFlags
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public Loader_WRL()
Default constructor. This must be a null constructor in order for ModelLoader to create this object.
Method Detail


public com.sun.j3d.loaders.Scene load( ir)
Uses this Reader stream to load the object.
load in class com.sun.j3d.loaders.LoaderBase
ir - Reader stream to use to read model.

NCSA Portfolio

NCSA Portfolio, Copyright 1997-1999, National Center for Supercomputing Applications, University of Illinois Urbana-Champaign, All Rights Reserved