ncsa.j3d.loaders
Class Loader_WRL
java.lang.Object
|
+--com.sun.j3d.loaders.LoaderBase
|
+--ncsa.j3d.loaders.BasicLoader
|
+--ncsa.j3d.loaders.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:
ModelLoader
Constructor Summary |
Loader_WRL()
Default constructor. |
Method Summary |
com.sun.j3d.loaders.Scene |
load(java.io.Reader ir)
Uses this Reader stream to load the object. |
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 |
Loader_WRL
public Loader_WRL()
- Default constructor. This must be a null constructor in order
for ModelLoader to create this object.
load
public com.sun.j3d.loaders.Scene load(java.io.Reader ir)
- Uses this Reader stream to load the object.
- Overrides:
- load in class com.sun.j3d.loaders.LoaderBase
- Parameters:
ir
- Reader stream to use to read model.
NCSA Portfolio, Copyright 1997-1999, National Center for Supercomputing Applications, University of Illinois Urbana-Champaign, All Rights Reserved