Package xj3d.replica
Class OffscreenSceneRecorderConstruct
java.lang.Object
org.xj3d.ui.construct.Construct
org.xj3d.ui.construct.ogl.OGLConstruct
org.xj3d.ui.newt.offscreen.browser.ogl.NEWTOGLConstruct
org.xj3d.ui.newt.offscreen.browser.ogl.OffscreenOGLConstruct
xj3d.replica.OffscreenSceneRecorderConstruct
- All Implemented Interfaces:
ConstructBuilder
,ConfigGraphicsCapabilities
public class OffscreenSceneRecorderConstruct
extends OffscreenOGLConstruct
implements ConfigGraphicsCapabilities
The customized browser Construct sub-class supporting the SceneRecorder.
This Construct is built with the following modifications to the
'standard' Construct.
- A VirtualTimeSensorManager is integrated to support the external control of the X3D scene time base.
- The construct is built without support for UI devices, such as Mouse or Keyboard.
- The construct extends from OffscreenOGLConstruct to function without a hardware graphics device.
- Version:
- $Revision: 1.2 $
- Author:
- Rex Melton
-
Field Summary
Fields inherited from class org.xj3d.ui.newt.offscreen.browser.ogl.OffscreenOGLConstruct
height, width
Fields inherited from class org.xj3d.ui.newt.offscreen.browser.ogl.NEWTOGLConstruct
AWT_CONTENT_HANDLER_FACTORY, AWT_UI_DEVICE_FACTORY
Fields inherited from class org.xj3d.ui.construct.ogl.OGLConstruct
AUDIO_CULL_STAGE, AUDIO_PIPELINE, AUDIO_SORT_STAGE, audioDevice, audioPipeline, DISPLAY_MANAGER, displayManager, glCapabilities, glCapabilitiesChooser, GRAPHICS_CULL_STAGE, GRAPHICS_PIPELINE, GRAPHICS_SORT_STAGE, graphicsDevice, graphicsPipeline, OGL_LAYER_MANAGER_FACTORY, RENDER_MANAGER, renderManager, UI_DEVICE_FACTORY
Fields inherited from class org.xj3d.ui.construct.Construct
anisotropicDegree, antialiasSamples, CONTENT_HANDLER_FACTORY, CONTENT_LOADER, core, DEFAULT_DIS_PROTOCOL_HANDLER, deviceFactory, doubleBuffered, errorReporter, EVENT_MODEL, eventModel, externalBrowser, HANIM_MANAGER, hanimManager, hardwareAccelerated, LAYER_MANAGER_FACTORY, lightweightRenderer, loader, loadManager, NETWORK_MANAGER, networkManager, originManager, PARTICLE_MANAGER, particleManager, PHYSICS_MANAGER, physicsManager, PICKING_MANAGER, pickingManager, renderer, renderer_id, routeManager, ROUTER_FACTORY, ROUTER_MANAGER, sceneBuilderFactory, SCRIPT_LOADER, SCRIPT_MANAGER, scriptLoader, scriptManager, SENSOR_MANAGER, sensorManager, STATE_MANAGER, stateManager, supportVRML, supportX3D, TIME_SENSOR_MANAGER, timeSensorManager, useMipMaps, viewpointManager, VRML_JAVA_SCRIPT_ENGINE, VRML_JAVASCRIPT_SCRIPT_ENGINE, worldLoader, X3D_ECMASCRIPT_SCRIPT_ENGINE, X3D_JAVA_SCRIPT_ENGINE
-
Constructor Summary
ConstructorsConstructorDescriptionOffscreenSceneRecorderConstruct
(org.j3d.util.ErrorReporter reporter, int width, int height) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoid
buildAll()
Override to build a UI 'device-less' browser.void
Create the networking properties and objects needed to load content.void
setGraphicsCapabilitiesParameters
(boolean useMipMaps, boolean doubleBuffered, int antialiasSamples, int anisotropicDegree) Set the Construct's parameters for building the graphics capabilitiesMethods inherited from class org.xj3d.ui.newt.offscreen.browser.ogl.OffscreenOGLConstruct
buildAudioRenderingDevice, buildGraphicsRenderingDevice
Methods inherited from class org.xj3d.ui.construct.ogl.OGLConstruct
buildBrowserCore, buildInterfaceDevices, buildRenderer, buildRenderingCapabilities, buildSceneBuilderFactory, getAudioRenderPipeline, getBrowserCore, getDisplayCollection, getGraphicsObject, getGraphicsRenderPipeline, getRenderManager
Methods inherited from class org.xj3d.ui.construct.Construct
buildAuthoring, buildManagers, buildRenderingDevices, buildScriptEngines, getContentLoadManager, getErrorReporter, getEventModelEvaluator, getFrameStateManager, getOriginManager, getRouteManager, getScriptLoader, getScriptManager, getSensorManager, getTimeSensorManager, getViewpointManager, getWorldLoaderManager
-
Constructor Details
-
OffscreenSceneRecorderConstruct
public OffscreenSceneRecorderConstruct(org.j3d.util.ErrorReporter reporter, int width, int height) Constructor- Parameters:
reporter
- The error reporterwidth
-height
-
-
-
Method Details
-
buildAll
public void buildAll()Override to build a UI 'device-less' browser.- Specified by:
buildAll
in interfaceConstructBuilder
- Overrides:
buildAll
in classConstruct
-
buildNetworkCapabilities
public void buildNetworkCapabilities()Description copied from interface:ConstructBuilder
Create the networking properties and objects needed to load content.- Specified by:
buildNetworkCapabilities
in interfaceConstructBuilder
- Overrides:
buildNetworkCapabilities
in classConstruct
-
setGraphicsCapabilitiesParameters
public void setGraphicsCapabilitiesParameters(boolean useMipMaps, boolean doubleBuffered, int antialiasSamples, int anisotropicDegree) Description copied from interface:ConfigGraphicsCapabilities
Set the Construct's parameters for building the graphics capabilities- Specified by:
setGraphicsCapabilitiesParameters
in interfaceConfigGraphicsCapabilities
- Parameters:
useMipMaps
- Should mipmaps be generateddoubleBuffered
- Should double (or single) buffering be usedantialiasSamples
- The antialias samples setting to be used. A value of 1 or less disables antialiasing.anisotropicDegree
- The anisotropic degree setting to be used. A value of 1 or less disables anisotropic filtering.
-