Aviatrix3D
2.1.0

org.j3d.aviatrix3d.output.graphics
Class ElumensRenderingProcessor

java.lang.Object
  extended by org.j3d.aviatrix3d.output.graphics.BaseRenderingProcessor
      extended by org.j3d.aviatrix3d.output.graphics.ElumensRenderingProcessor
All Implemented Interfaces:
RenderingProcessor, GraphicsResizeListener

Deprecated. Elumnes no longer exists as a company. This class should be replaced by a more generic device representation.

public class ElumensRenderingProcessor
extends BaseRenderingProcessor
implements GraphicsResizeListener

Handles the rendering for a single elumens dome-based output device.

The code expects that everything is set up before each call of the display() callback. It does not handle any recursive rendering requests as that is assumed to have been sorted out before calling this renderer.

In order to get resize feedback, the renderer implements our GraphicsResizeListener interface. It doesn't register though. It is up to the user class to make sure that it is registered with the underlying windowing-system specific component handler so that we do get the resize values here.

Version:
$Revision: 3.14 $
Author:
Alan Hudson

Field Summary
 
Fields inherited from class org.j3d.aviatrix3d.output.graphics.BaseRenderingProcessor
addedBuffers, addedProcessors, alphaCutoff, alwaysLocalClear, availableClips, availableLights, childBuffers, clearColor, clipIdMap, currentShaderProgramId, currentViewport, environmentList, errorReporter, eyePoint, INVALID_SHADER, lastClipIdx, lastLightIdx, lightIdMap, localContext, numRenderables, operationList, otherDataRequests, ownerDevice, ownerRenderable, parentContext, removedBuffers, renderableList, resetColor, singleThreaded, surfaceMatrix, updatedBuffers, useTwoPassTransparent
 
Constructor Summary
ElumensRenderingProcessor(javax.media.opengl.GLContext context, GraphicsOutputDevice owner)
          Deprecated. Construct handler for rendering objects to the main screen.
 
Method Summary
 void display(GraphicsProfilingData profilingData)
          Deprecated. Called by the drawable to perform rendering by the client.
 void getCenterEyeInSurface(javax.vecmath.Point3f position)
          Deprecated. Get the Center Eye position in surface coordinates.
 void getPixelLocationInSurface(float x, float y, javax.vecmath.Point3f position)
          Deprecated. Convert a pixel location to surface coordinates.
 void graphicsDeviceResized(int x, int y, int width, int height)
          Deprecated. Called by the drawable when the surface resizes itself.
 void init()
          Deprecated. Called by the drawable immediately after the OpenGL context is initialized; the GLContext has already been made current when this method is called.
protected  void updateProjectionMatrix(javax.media.opengl.GL gl, GraphicsEnvironmentData data)
          Deprecated. Update the projection matrix.
 
Methods inherited from class org.j3d.aviatrix3d.output.graphics.BaseRenderingProcessor
addChildBuffer, addSurfaceInfoListener, disposeSingleThreadResources, enableSingleThreaded, enableTwoPassTransparentRendering, getAlphaTestCutoff, getCenterEyeInSurface, getPixelLocationInSurface, getSurfaceToVWorld, halt, isTwoPassTransparentEnabled, postLayerEnvironmentDraw, postMPPassEnvironmentDraw, preLayerEnvironmentDraw, preMPPassEnvironmentDraw, prepareData, processRequestData, reinitialize, removeChildBuffer, removeSurfaceInfoListener, render, renderViewpoint, setAlphaTestCutoff, setClearColor, setColorClearNeeded, setDrawableObjects, setErrorReporter, setOwnerBuffer, setupMultipassViewport, setupViewport, swapBuffers, terminateCleanup, updateChildBuffer, updateContextChange
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElumensRenderingProcessor

public ElumensRenderingProcessor(javax.media.opengl.GLContext context,
                                 GraphicsOutputDevice owner)
Deprecated. 
Construct handler for rendering objects to the main screen.

Parameters:
context - The context that this processor is working on
owner - The owning device of this processor
Method Detail

graphicsDeviceResized

public void graphicsDeviceResized(int x,
                                  int y,
                                  int width,
                                  int height)
Deprecated. 
Called by the drawable when the surface resizes itself. Used to reset the viewport dimensions.

Specified by:
graphicsDeviceResized in interface GraphicsResizeListener
Parameters:
x - The x position of the drawable in the parent coordinate system
y - The y position of the drawable in the parent coordinate system
width - The width of the surface in pixels
height - The height of the surface in pixels

init

public void init()
Deprecated. 
Called by the drawable immediately after the OpenGL context is initialized; the GLContext has already been made current when this method is called.

Overrides:
init in class BaseRenderingProcessor

display

public void display(GraphicsProfilingData profilingData)
Deprecated. 
Called by the drawable to perform rendering by the client.

Specified by:
display in class BaseRenderingProcessor
Parameters:
profilingData - The timing and load data

getPixelLocationInSurface

public void getPixelLocationInSurface(float x,
                                      float y,
                                      javax.vecmath.Point3f position)
Deprecated. 
Convert a pixel location to surface coordinates.

Parameters:
x - The X coordinate
y - The Y coordinate
position - The converted position. It must be preallocated.

getCenterEyeInSurface

public void getCenterEyeInSurface(javax.vecmath.Point3f position)
Deprecated. 
Get the Center Eye position in surface coordinates.

Parameters:
position - The current eye position. It must be preallocated.

updateProjectionMatrix

protected void updateProjectionMatrix(javax.media.opengl.GL gl,
                                      GraphicsEnvironmentData data)
Deprecated. 
Update the projection matrix.

Overrides:
updateProjectionMatrix in class BaseRenderingProcessor
Parameters:
gl - The gl context to draw with
data - The view environment information to setup

Aviatrix3D
2.1.0

Latest Info from http://aviatrix3d.j3d.org/
Copyright © 2003 - 2009 j3d.org