|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.j3d.aviatrix3d.output.graphics.BaseRenderingProcessor org.j3d.aviatrix3d.output.graphics.ElumensRenderingProcessor
public class ElumensRenderingProcessor
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.
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 java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ElumensRenderingProcessor(javax.media.opengl.GLContext context, GraphicsOutputDevice owner)
context
- The context that this processor is working onowner
- The owning device of this processorMethod Detail |
---|
public void graphicsDeviceResized(int x, int y, int width, int height)
graphicsDeviceResized
in interface GraphicsResizeListener
x
- The x position of the drawable in the parent coordinate systemy
- The y position of the drawable in the parent coordinate systemwidth
- The width of the surface in pixelsheight
- The height of the surface in pixelspublic void init()
init
in class BaseRenderingProcessor
public void display(GraphicsProfilingData profilingData)
display
in class BaseRenderingProcessor
profilingData
- The timing and load datapublic void getPixelLocationInSurface(float x, float y, javax.vecmath.Point3f position)
x
- The X coordinatey
- The Y coordinateposition
- The converted position. It must be preallocated.public void getCenterEyeInSurface(javax.vecmath.Point3f position)
position
- The current eye position. It must be preallocated.protected void updateProjectionMatrix(javax.media.opengl.GL gl, GraphicsEnvironmentData data)
updateProjectionMatrix
in class BaseRenderingProcessor
gl
- The gl context to draw withdata
- The view environment information to setup
|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |