Xj3D 2.0 VRML/X3D Code API

org.web3d.vrml.renderer.ogl
Class OGLSceneBuilderFactory

java.lang.Object
  extended by 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
 

Constructor Detail

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 files
useBackgrounds - true if BackgroundNodeTypes should be loaded
useFogs - true if FogNodeTypes should be loaded
useLights - true if LightNodeTypes should be loaded
useAudio - true if AudioClipNodeTypes should be loaded
useViewpoints - true if ViewpointNodeTypes should loaded
useExternals - true if ExternalNodeTypes should be loaded
Method Detail

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

Xj3D 2.0 VRML/X3D Code API

Copyright © 2001 - 2006 Web3D Consortium