Xj3D VRML/X3D Code API

org.web3d.ogl.loaders
Class VRML97Loader

java.lang.Object
  extended byorg.web3d.ogl.loaders.BaseLoader
      extended byorg.web3d.ogl.loaders.VRML97Loader

public class VRML97Loader
extends BaseLoader

A Java3D file loader implementation for reading VRML97 utf8 files only and building a Java3D scenegraph with them.

The loader considers sensor handling and routing to be behaviours. Some asynchronous loading of files for textures is performed. Sound file loading is performed if audio clips are asked for. For example, if behaviours are not requested then Inlines will not have their content loaded.

If the loader asks for no behaviors, then we will still load nodes that use behaviors, but will disable their use. For example, a LOD will still need to have all of the geometry loaded, just not shown or activated because the LOD's internal behavior is disabled. Scripts are considered to be behaviours, and they will not be loaded at all if behaviour loading is disabled. However, we will take out other items. For example, we make no attempt to load textures, scripts or anything else that may require asynchronous loading of the content outside the single call to load().

The default setup for runtime activities is ListsRouterFactory and MemCacheLoadManager

Version:
$Revision: 1.1 $
Author:
Justin Couch

Field Summary
 
Fields inherited from class org.web3d.ogl.loaders.BaseLoader
errorReporter, parsedScene, parserFactory, vrml97Only
 
Constructor Summary
VRML97Loader()
          Construct a default loader implementation with no flags set.
 
Methods inherited from class org.web3d.ogl.loaders.BaseLoader
getLoadFlags, getNavigationEnabled, isInternalModelKept, keepInternalModel, load, load, load, registerURNLocation, setErrorReporter, setLoadFlags, setNavigationEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VRML97Loader

public VRML97Loader()
Construct a default loader implementation with no flags set. When asked to load a file it will not produce anything unless flags have been set through the setFlags() method.


Xj3D VRML/X3D Code API

Copyright © 2001 - 2005 Web3D Consortium