ncsa.j3d.loaders
Class Loader_VTK
java.lang.Object
|
+--com.sun.j3d.loaders.LoaderBase
|
+--ncsa.j3d.loaders.BasicLoader
|
+--ncsa.j3d.loaders.Loader_VTK
- public class Loader_VTK
- extends BasicLoader
This is the front end to the NCSA Portfolio Visualization Toolkit (VTK)
loader. It is not meant to be called directly; it should be called through
ModelLoader.
This loader reads ASCII or "little endian" BINARY .vtk files.
To handle "big endian" BINARY files, add a .vtk_big extension to your
file, and Loader_VTK_BIG will be invoked instead.
Constructor Summary |
Loader_VTK()
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_VTK
public Loader_VTK()
- 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