Package org.xj3d.ui.construct.ogl
Class OGLConstruct
java.lang.Object
org.xj3d.ui.construct.Construct
org.xj3d.ui.construct.ogl.OGLConstruct
- All Implemented Interfaces:
ConstructBuilder
- Direct Known Subclasses:
AWTOGLConstruct
,NEWTOGLConstruct
An abstract sub-class of Construct that provides OGL render capabilities to
the base Construct.
- Version:
- $Revision: 1.3 $
- Author:
- Rex Melton
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
The audio sort stage classprotected String
The audio pipeline classprotected String
The audio cull stage classprotected org.j3d.aviatrix3d.pipeline.audio.AudioOutputDevice
The audio deviceprotected org.j3d.aviatrix3d.pipeline.audio.DefaultAudioPipeline
The audio rendering pipelineprotected String
The display manager classprotected org.j3d.aviatrix3d.management.DisplayCollection
Manager for the layersprotected com.jogamp.opengl.GLCapabilities
The graphics capabilities for the graphics deviceprotected com.jogamp.opengl.GLCapabilitiesChooser
The graphics capabilities chooserprotected String
The graphics cull stage classprotected String
The graphics pipeline classprotected String
The graphics sort stage classprotected org.j3d.aviatrix3d.pipeline.graphics.GraphicsOutputDevice
The graphics rendering surfaceprotected org.j3d.aviatrix3d.pipeline.graphics.DefaultGraphicsPipeline
The graphics rendering pipelineprotected String
The layer manager factory classprotected String
The render manager classprotected org.j3d.aviatrix3d.management.RenderManager
The scene rendering managerprotected String
Toolkit specific device factory classFields 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
Restricted Constructorprotected
OGLConstruct
(org.j3d.util.ErrorReporter reporter) Restricted Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Create the audio rendering deviceprotected void
Create the browser corevoid
Create the access to the user interface devicesvoid
Create the rendering pipelines and render managervoid
Create the rendering capabilitiesprotected void
Create the scene builder factoryorg.j3d.aviatrix3d.pipeline.audio.AudioRenderPipeline
Return the audio rendering pipeline.org.j3d.aviatrix3d.management.DisplayCollection
Return the display manager.Return the rendering surfaceorg.j3d.aviatrix3d.pipeline.graphics.GraphicsRenderPipeline
Return the graphics rendering pipeline.org.j3d.aviatrix3d.management.RenderManager
Return the render manager.Methods inherited from class org.xj3d.ui.construct.Construct
buildAll, buildAuthoring, buildGraphicsRenderingDevice, buildManagers, buildNetworkCapabilities, buildRenderingDevices, buildScriptEngines, getContentLoadManager, getErrorReporter, getEventModelEvaluator, getFrameStateManager, getOriginManager, getRouteManager, getScriptLoader, getScriptManager, getSensorManager, getTimeSensorManager, getViewpointManager, getWorldLoaderManager
-
Field Details
-
RENDER_MANAGER
The render manager class -
DISPLAY_MANAGER
The display manager class -
AUDIO_PIPELINE
The audio pipeline class -
AUDIO_SORT_STAGE
The audio cull stage class -
AUDIO_CULL_STAGE
The audio sort stage class -
GRAPHICS_PIPELINE
The graphics pipeline class -
GRAPHICS_SORT_STAGE
The graphics sort stage class -
GRAPHICS_CULL_STAGE
The graphics cull stage class -
OGL_LAYER_MANAGER_FACTORY
The layer manager factory class -
UI_DEVICE_FACTORY
Toolkit specific device factory class -
glCapabilities
protected com.jogamp.opengl.GLCapabilities glCapabilitiesThe graphics capabilities for the graphics device -
glCapabilitiesChooser
protected com.jogamp.opengl.GLCapabilitiesChooser glCapabilitiesChooserThe graphics capabilities chooser -
graphicsDevice
protected org.j3d.aviatrix3d.pipeline.graphics.GraphicsOutputDevice graphicsDeviceThe graphics rendering surface -
audioDevice
protected org.j3d.aviatrix3d.pipeline.audio.AudioOutputDevice audioDeviceThe audio device -
graphicsPipeline
protected org.j3d.aviatrix3d.pipeline.graphics.DefaultGraphicsPipeline graphicsPipelineThe graphics rendering pipeline -
audioPipeline
protected org.j3d.aviatrix3d.pipeline.audio.DefaultAudioPipeline audioPipelineThe audio rendering pipeline -
displayManager
protected org.j3d.aviatrix3d.management.DisplayCollection displayManagerManager for the layers -
renderManager
protected org.j3d.aviatrix3d.management.RenderManager renderManagerThe scene rendering manager
-
-
Constructor Details
-
OGLConstruct
protected OGLConstruct()Restricted Constructor -
OGLConstruct
protected OGLConstruct(org.j3d.util.ErrorReporter reporter) Restricted Constructor- Parameters:
reporter
- The error reporter
-
-
Method Details
-
getGraphicsObject
Description copied from class:Construct
Return the rendering surface- Specified by:
getGraphicsObject
in classConstruct
- Returns:
- The rendering surface
-
buildAudioRenderingDevice
protected void buildAudioRenderingDevice()Description copied from class:Construct
Create the audio rendering device- Specified by:
buildAudioRenderingDevice
in classConstruct
-
buildBrowserCore
protected void buildBrowserCore()Description copied from class:Construct
Create the browser core- Specified by:
buildBrowserCore
in classConstruct
-
buildSceneBuilderFactory
protected void buildSceneBuilderFactory()Description copied from class:Construct
Create the scene builder factory- Specified by:
buildSceneBuilderFactory
in classConstruct
-
getBrowserCore
- Overrides:
getBrowserCore
in classConstruct
-
buildRenderingCapabilities
public void buildRenderingCapabilities()Description copied from interface:ConstructBuilder
Create the rendering capabilities- Specified by:
buildRenderingCapabilities
in interfaceConstructBuilder
- Overrides:
buildRenderingCapabilities
in classConstruct
-
buildInterfaceDevices
public void buildInterfaceDevices()Create the access to the user interface devices -
buildRenderer
public void buildRenderer()Create the rendering pipelines and render manager -
getGraphicsRenderPipeline
public org.j3d.aviatrix3d.pipeline.graphics.GraphicsRenderPipeline getGraphicsRenderPipeline()Return the graphics rendering pipeline.- Returns:
- The graphics rendering pipeline.
-
getAudioRenderPipeline
public org.j3d.aviatrix3d.pipeline.audio.AudioRenderPipeline getAudioRenderPipeline()Return the audio rendering pipeline.- Returns:
- The audio rendering pipeline.
-
getDisplayCollection
public org.j3d.aviatrix3d.management.DisplayCollection getDisplayCollection()Return the display manager.- Returns:
- The display manager.
-
getRenderManager
public org.j3d.aviatrix3d.management.RenderManager getRenderManager()Return the render manager.- Returns:
- The render manager.
-