Package xj3d.replica
Class ThumbnailConstruct
java.lang.Object
org.xj3d.ui.construct.Construct
org.xj3d.ui.construct.ogl.OGLConstruct
org.xj3d.ui.newt.offscreen.browser.ogl.NEWTOGLConstruct
xj3d.replica.ThumbnailConstruct
- All Implemented Interfaces:
ConstructBuilder
,ConfigGraphicsCapabilities
The customized browser Construct sub-class supporting the ThumbnailImager.
This Construct is built with the following modifications to the
'standard' Construct.
- The construct is built without support for UI devices, such as Mouse or Keyboard.
- Version:
- $Revision: 1.3 $
- Author:
- Rex Melton
-
Field Summary
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
buildAll()
Override to build a UI 'device-less' browser.protected void
Create the audio rendering devicevoid
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.NEWTOGLConstruct
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
-
ThumbnailConstruct
public ThumbnailConstruct(org.j3d.util.ErrorReporter reporter) Constructor- Parameters:
reporter
- The error reporter
-
-
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
-
buildAudioRenderingDevice
protected void buildAudioRenderingDevice()Description copied from class:Construct
Create the audio rendering device- Overrides:
buildAudioRenderingDevice
in classOGLConstruct
-
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.
-