Package xj3d.replica
Class OffscreenThumbnailConstruct
- All Implemented Interfaces:
ConstructBuilder,ConfigGraphicsCapabilities
public class OffscreenThumbnailConstruct
extends OffscreenOGLConstruct
implements 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.
- 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, widthFields inherited from class org.xj3d.ui.newt.offscreen.browser.ogl.NEWTOGLConstruct
AWT_CONTENT_HANDLER_FACTORY, AWT_UI_DEVICE_FACTORYFields 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_FACTORYFields 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
ConstructorsConstructorDescriptionOffscreenThumbnailConstruct(org.j3d.util.ErrorReporter reporter, int width, int height) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildAll()Override to build a UI 'device-less' browser.voidCreate the networking properties and objects needed to load content.voidsetGraphicsCapabilitiesParameters(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, buildGraphicsRenderingDeviceMethods inherited from class org.xj3d.ui.construct.ogl.OGLConstruct
buildBrowserCore, buildInterfaceDevices, buildRenderer, buildRenderingCapabilities, buildSceneBuilderFactory, getAudioRenderPipeline, getBrowserCore, getDisplayCollection, getGraphicsObject, getGraphicsRenderPipeline, getRenderManagerMethods 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
-
OffscreenThumbnailConstruct
public OffscreenThumbnailConstruct(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:
buildAllin interfaceConstructBuilder- Overrides:
buildAllin classConstruct
-
buildNetworkCapabilities
public void buildNetworkCapabilities()Description copied from interface:ConstructBuilderCreate the networking properties and objects needed to load content.- Specified by:
buildNetworkCapabilitiesin interfaceConstructBuilder- Overrides:
buildNetworkCapabilitiesin classConstruct
-
setGraphicsCapabilitiesParameters
public void setGraphicsCapabilitiesParameters(boolean useMipMaps, boolean doubleBuffered, int antialiasSamples, int anisotropicDegree) Description copied from interface:ConfigGraphicsCapabilitiesSet the Construct's parameters for building the graphics capabilities- Specified by:
setGraphicsCapabilitiesParametersin 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.
-