org.web3d.vrml.renderer.ogl
Class OGLSceneBuilderFactory
java.lang.Object
org.web3d.vrml.renderer.ogl.OGLSceneBuilderFactory
- All Implemented Interfaces:
- SceneBuilderFactory
public class OGLSceneBuilderFactory
- extends java.lang.Object
- implements SceneBuilderFactory
OpenGL factory used to create new instances of the scene builder
on demand.
- Version:
- $Revision: 1.4 $
- Author:
- Justin Couch
|
Constructor Summary |
OGLSceneBuilderFactory(boolean forceVRML97,
boolean useBackgrounds,
boolean useFogs,
boolean useLights,
boolean useAudio,
boolean useViewpoints,
boolean useExternals)
Create a new factory instance that will generate builders according to
the nominated requirements. |
|
Method Summary |
SceneBuilder |
createBuilder()
Create a new scene builder instance that has been pre-configured
according to the factory parameters. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OGLSceneBuilderFactory
public OGLSceneBuilderFactory(boolean forceVRML97,
boolean useBackgrounds,
boolean useFogs,
boolean useLights,
boolean useAudio,
boolean useViewpoints,
boolean useExternals)
- Create a new factory instance that will generate builders according to
the nominated requirements.
- Parameters:
forceVRML97 - true if this should only handle VRML97 filesuseBackgrounds - true if BackgroundNodeTypes should be loadeduseFogs - true if FogNodeTypes should be loadeduseLights - true if LightNodeTypes should be loadeduseAudio - true if AudioClipNodeTypes should be loadeduseViewpoints - true if ViewpointNodeTypes should loadeduseExternals - true if ExternalNodeTypes should be loaded
createBuilder
public SceneBuilder createBuilder()
- Create a new scene builder instance that has been pre-configured
according to the factory parameters.
- Specified by:
createBuilder in interface SceneBuilderFactory
- Returns:
- A fresh instance
Copyright © 2001 - 2006 Web3D Consortium