Class OffscreenOGLConstruct
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
- All Implemented Interfaces:
ConstructBuilder
- Direct Known Subclasses:
OffscreenSceneRecorderConstruct
,OffscreenThumbnailConstruct
An abstract sub-class of NEWTOGLConstruct that provides offscreen rendering
capabilities to the base Construct which is decoupled from the Swing/AWT EDT
model
- Version:
- $Id: OffscreenOGLConstruct.java 12586 2016-09-21 23:01:24Z tnorbraten $
- Author:
- Terry Norbraten, NPS MOVES
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int
The height of the rendering surfaceprotected int
The width of the rendering surfaceFields 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
ConstructorsModifierConstructorDescriptionprotected
Constructorprotected
OffscreenOGLConstruct
(org.j3d.util.ErrorReporter reporter, int width, int height) Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Create the audio rendering deviceprotected void
Create the graphics rendering deviceMethods 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
buildAll, buildAuthoring, buildManagers, buildNetworkCapabilities, buildRenderingDevices, buildScriptEngines, getContentLoadManager, getErrorReporter, getEventModelEvaluator, getFrameStateManager, getOriginManager, getRouteManager, getScriptLoader, getScriptManager, getSensorManager, getTimeSensorManager, getViewpointManager, getWorldLoaderManager
-
Field Details
-
width
protected int widthThe width of the rendering surface -
height
protected int heightThe height of the rendering surface
-
-
Constructor Details
-
OffscreenOGLConstruct
protected OffscreenOGLConstruct()Constructor -
OffscreenOGLConstruct
protected OffscreenOGLConstruct(org.j3d.util.ErrorReporter reporter, int width, int height) Constructor- Parameters:
reporter
- The error reporterwidth
-height
-
-
-
Method Details
-
buildGraphicsRenderingDevice
protected void buildGraphicsRenderingDevice()Description copied from class:Construct
Create the graphics rendering device- Overrides:
buildGraphicsRenderingDevice
in classNEWTOGLConstruct
-
buildAudioRenderingDevice
protected void buildAudioRenderingDevice()Description copied from class:Construct
Create the audio rendering device- Overrides:
buildAudioRenderingDevice
in classOGLConstruct
-