Xj3D 2.0 VRML/X3D Code API

org.xj3d.ui.construct.ogl
Class OGLConstruct

java.lang.Object
  extended by org.xj3d.ui.construct.Construct
      extended by org.xj3d.ui.construct.ogl.OGLConstruct
All Implemented Interfaces:
ConstructBuilder
Direct Known Subclasses:
AWTOGLConstruct, SWTOGLConstruct

public abstract class OGLConstruct
extends Construct

An abstract sub-class of Construct that provides OGL render capabilities to the base Construct.

Version:
$Revision: 1.3 $
Author:
Rex Melton

Field Summary
protected  java.lang.String AUDIO_CULL_STAGE
          The audio sort stage class
protected  java.lang.String AUDIO_PIPELINE
          The audio pipeline class
protected  java.lang.String AUDIO_SORT_STAGE
          The audio cull stage class
protected  org.j3d.aviatrix3d.pipeline.audio.AudioOutputDevice audioDevice
          The audio device
protected  org.j3d.aviatrix3d.pipeline.audio.DefaultAudioPipeline audioPipeline
          The audio rendering pipeline
protected  OGLStandardBrowserCore core
          The browser core
protected  java.lang.String DISPLAY_MANAGER
          The display manager class
protected  org.j3d.aviatrix3d.management.DisplayCollection displayManager
          Manager for the layers
protected  javax.media.opengl.GLCapabilities glCapabilities
          The graphics capabilites for the graphics device
protected  javax.media.opengl.GLCapabilitiesChooser glCapabilitiesChooser
          The graphics capabilites chooser
protected  java.lang.String GRAPHICS_CULL_STAGE
          The graphics cull stage class
protected  java.lang.String GRAPHICS_PIPELINE
          The graphics pipeline class
protected  java.lang.String GRAPHICS_SORT_STAGE
          The graphics sort stage class
protected  org.j3d.aviatrix3d.pipeline.graphics.GraphicsOutputDevice graphicsDevice
          The graphics rendering surface
protected  org.j3d.aviatrix3d.pipeline.graphics.DefaultGraphicsPipeline graphicsPipeline
          The graphics rendering pipeline
protected  java.lang.String OGL_LAYER_MANAGER_FACTORY
          The layer manager factory class
protected  java.lang.String RENDER_MANAGER
          The render manager class
protected  org.j3d.aviatrix3d.management.RenderManager renderManager
          The scene rendering manager
protected  java.lang.String UI_DEVICE_FACTORY
          Toolkit specific device factory class
 
Fields inherited from class org.xj3d.ui.construct.Construct
anisotropicDegree, antialiasSamples, CONTENT_HANDLER_FACTORY, CONTENT_LOADER, deviceFactory, DIS_PROTOCOL_HANDLER, doubleBuffered, errorReporter, EVENT_MODEL, eventModel, HANIM_MANAGER, hanimManager, hardwareAccelerated, LAYER_MANAGER_FACTORY, lightweightRenderer, loader, loadManager, NETWORK_MANAGER, networkManager, 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
protected OGLConstruct()
          Restricted Constructor
protected OGLConstruct(ErrorReporter reporter)
          Restricted Constructor
 
Method Summary
protected  void buildAudioRenderingDevice()
          Create the audio rendering device
protected  void buildBrowserCore()
          Create the browser core
 void buildInterfaceDevices()
          Create the access to the user interface devices
 void buildRenderer()
          Create the rendering pipelines and render manager
 void buildRenderingCapabilities()
          Create the rendering capabilities
protected  void buildSceneBuilderFactory()
          Create the scene builder factory
 org.j3d.aviatrix3d.pipeline.audio.AudioRenderPipeline getAudioRenderPipeline()
          Return the audio rendering pipeline.
 OGLStandardBrowserCore getBrowserCore()
          Return the browser core.
 org.j3d.aviatrix3d.management.DisplayCollection getDisplayCollection()
          Return the display manager.
 java.lang.Object getGraphicsObject()
          Return the rendering surface
 org.j3d.aviatrix3d.pipeline.graphics.GraphicsRenderPipeline getGraphicsRenderPipeline()
          Return the graphics rendering pipeline.
 org.j3d.aviatrix3d.management.RenderManager getRenderManager()
          Return the render manager.
 
Methods inherited from class org.xj3d.ui.construct.Construct
buildAll, buildGraphicsRenderingDevice, buildManagers, buildNetworkCapabilities, buildRenderingDevices, buildScriptEngines, getContentLoadManager, getErrorReporter, getEventModelEvaluator, getFrameStateManager, getRouteManager, getScriptLoader, getScriptManager, getSensorManager, getTimeSensorManager, getViewpointManager, getWorldLoaderManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RENDER_MANAGER

protected java.lang.String RENDER_MANAGER
The render manager class


DISPLAY_MANAGER

protected java.lang.String DISPLAY_MANAGER
The display manager class


AUDIO_PIPELINE

protected java.lang.String AUDIO_PIPELINE
The audio pipeline class


AUDIO_SORT_STAGE

protected java.lang.String AUDIO_SORT_STAGE
The audio cull stage class


AUDIO_CULL_STAGE

protected java.lang.String AUDIO_CULL_STAGE
The audio sort stage class


GRAPHICS_PIPELINE

protected java.lang.String GRAPHICS_PIPELINE
The graphics pipeline class


GRAPHICS_SORT_STAGE

protected java.lang.String GRAPHICS_SORT_STAGE
The graphics sort stage class


GRAPHICS_CULL_STAGE

protected java.lang.String GRAPHICS_CULL_STAGE
The graphics cull stage class


OGL_LAYER_MANAGER_FACTORY

protected java.lang.String OGL_LAYER_MANAGER_FACTORY
The layer manager factory class


UI_DEVICE_FACTORY

protected java.lang.String UI_DEVICE_FACTORY
Toolkit specific device factory class


glCapabilities

protected javax.media.opengl.GLCapabilities glCapabilities
The graphics capabilites for the graphics device


glCapabilitiesChooser

protected javax.media.opengl.GLCapabilitiesChooser glCapabilitiesChooser
The graphics capabilites chooser


graphicsDevice

protected org.j3d.aviatrix3d.pipeline.graphics.GraphicsOutputDevice graphicsDevice
The graphics rendering surface


audioDevice

protected org.j3d.aviatrix3d.pipeline.audio.AudioOutputDevice audioDevice
The audio device


graphicsPipeline

protected org.j3d.aviatrix3d.pipeline.graphics.DefaultGraphicsPipeline graphicsPipeline
The graphics rendering pipeline


audioPipeline

protected org.j3d.aviatrix3d.pipeline.audio.DefaultAudioPipeline audioPipeline
The audio rendering pipeline


displayManager

protected org.j3d.aviatrix3d.management.DisplayCollection displayManager
Manager for the layers


renderManager

protected org.j3d.aviatrix3d.management.RenderManager renderManager
The scene rendering manager


core

protected OGLStandardBrowserCore core
The browser core

Constructor Detail

OGLConstruct

protected OGLConstruct()
Restricted Constructor


OGLConstruct

protected OGLConstruct(ErrorReporter reporter)
Restricted Constructor

Parameters:
reporter - The error reporter
Method Detail

getGraphicsObject

public java.lang.Object getGraphicsObject()
Return the rendering surface

Specified by:
getGraphicsObject in class Construct
Returns:
The rendering surface

buildAudioRenderingDevice

protected void buildAudioRenderingDevice()
Create the audio rendering device

Specified by:
buildAudioRenderingDevice in class Construct

buildBrowserCore

protected void buildBrowserCore()
Create the browser core

Specified by:
buildBrowserCore in class Construct

buildSceneBuilderFactory

protected void buildSceneBuilderFactory()
Create the scene builder factory

Specified by:
buildSceneBuilderFactory in class Construct

getBrowserCore

public OGLStandardBrowserCore getBrowserCore()
Return the browser core. Overrides Construct method to return the OGL specific browser core.

Overrides:
getBrowserCore in class Construct
Returns:
The browser core.

buildRenderingCapabilities

public void buildRenderingCapabilities()
Create the rendering capabilities

Specified by:
buildRenderingCapabilities in interface ConstructBuilder
Overrides:
buildRenderingCapabilities in class Construct

buildInterfaceDevices

public void buildInterfaceDevices()
Create the access to the user interface devices


buildRenderer

public void buildRenderer()
Create the rendering pipelines and render manager

Throws:
InvalidConfigurationException - If a required class class cannot be loaded.

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.

Xj3D 2.0 VRML/X3D Code API

Copyright © 2001 - 2006 Web3D Consortium