|
Aviatrix3D 2.1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.j3d.aviatrix3d.output.graphics.BaseSurface
org.j3d.aviatrix3d.output.graphics.BaseSWTSurface
org.j3d.aviatrix3d.output.graphics.ElumensSWTSurface
public class ElumensSWTSurface
Implementation of a surface using SWT that can render to an elumens output device.
Note: The lightweight flag is ignored currently.
| Field Summary |
|---|
| Fields inherited from class org.j3d.aviatrix3d.output.graphics.BaseSWTSurface |
|---|
resizer, swtCanvas |
| Fields inherited from class org.j3d.aviatrix3d.output.graphics.BaseSurface |
|---|
alphaCutoff, canCreatePBuffers, canvas, canvasContext, canvasDescriptor, canvasRenderer, errorReporter, FAILED_CONTEXT_MSG, initComplete, numRenderables, renderableList, rendererMap, sharedSurface, singleThreaded, surfaceMonitor, terminate, useTwoPassTransparent |
| Fields inherited from interface org.j3d.aviatrix3d.output.graphics.ElumensOutputDevice |
|---|
SPI_1C_FRONT, SPI_2C_BORDER, SPI_2C_INSERT, SPI_2C_LEFT, SPI_2C_RIGHT, SPI_3C_LEFT, SPI_3C_RIGHT, SPI_3C_TOP, SPI_4C_BOTTOM, SPI_4C_LEFT, SPI_4C_RIGHT, SPI_4C_TOP, SPI_ALL_2_CHAN, SPI_ALL_3_CHAN, SPI_ALL_4_CHAN, SPI_ALL_CHAN, SPI_OC_FRONT |
| Fields inherited from interface org.j3d.aviatrix3d.pipeline.graphics.GraphicsOutputDevice |
|---|
ALTERNATE_FRAME_STEREO, NO_STEREO, QUAD_BUFFER_STEREO, TWO_CANVAS_STEREO |
| Constructor Summary | |
|---|---|
ElumensSWTSurface(org.eclipse.swt.widgets.Composite parent,
int style,
javax.media.opengl.GLCapabilities caps)
Deprecated. Construct a surface that requires the given set of capabilities. |
|
ElumensSWTSurface(org.eclipse.swt.widgets.Composite parent,
int style,
javax.media.opengl.GLCapabilities caps,
BaseSurface sharedWith)
Deprecated. Construct a surface shares it's GL context with the given surface. |
|
ElumensSWTSurface(org.eclipse.swt.widgets.Composite parent,
int style,
javax.media.opengl.GLCapabilities caps,
BaseSurface sharedWith,
boolean lightweight)
Deprecated. Construct a surface shares it's GL context with the given surface. |
|
ElumensSWTSurface(org.eclipse.swt.widgets.Composite parent,
int style,
javax.media.opengl.GLCapabilities caps,
boolean lightweight)
Deprecated. Construct a surface that requires the given set of capabilities. |
|
ElumensSWTSurface(org.eclipse.swt.widgets.Composite parent,
int style,
javax.media.opengl.GLCapabilities caps,
javax.media.opengl.GLCapabilitiesChooser chooser)
Deprecated. Construct a surface that requires the given set of capabilities. |
|
ElumensSWTSurface(org.eclipse.swt.widgets.Composite parent,
int style,
javax.media.opengl.GLCapabilities caps,
javax.media.opengl.GLCapabilitiesChooser chooser,
BaseSurface sharedWith)
Deprecated. Construct a surface shares it's GL context with the given surface. |
|
ElumensSWTSurface(org.eclipse.swt.widgets.Composite parent,
int style,
javax.media.opengl.GLCapabilities caps,
javax.media.opengl.GLCapabilitiesChooser chooser,
BaseSurface sharedWith,
boolean lightweight)
Deprecated. Construct a surface shares it's GL context with the given surface. |
|
ElumensSWTSurface(org.eclipse.swt.widgets.Composite parent,
int style,
javax.media.opengl.GLCapabilities caps,
javax.media.opengl.GLCapabilitiesChooser chooser,
boolean lightweight)
Deprecated. Construct a surface that requires the given set of capabilities. |
|
| Method Summary | |
|---|---|
void |
setChannelEyePosition(int channel,
float x,
float y,
float z)
Deprecated. Set the channel eye position. |
void |
setChannelLensPosition(int channel,
float x,
float y,
float z)
Deprecated. Set the channel lens position. |
void |
setChannelSize(int channel,
int height,
int width)
Deprecated. Set the channel size in pixels. |
void |
setNumberOfChannels(int channels)
Deprecated. Set the number of channels to display. |
void |
setScreenOrientation(double r,
double p,
double v)
Deprecated. Set the screen orientation. |
| Methods inherited from class org.j3d.aviatrix3d.output.graphics.BaseSWTSurface |
|---|
addGraphicsResizeListener, getSurfaceObject, removeGraphicsResizeListener, setErrorReporter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.j3d.aviatrix3d.pipeline.OutputDevice |
|---|
dispose, disposeSingleThreadResources, draw, enableSingleThreaded, getSurfaceObject, isDisposed, setErrorReporter |
| Constructor Detail |
|---|
public ElumensSWTSurface(org.eclipse.swt.widgets.Composite parent,
int style,
javax.media.opengl.GLCapabilities caps)
parent - The parent component that this surface uses for the canvasstyle - The SWT style bits to use on the created canvascaps - A set of required capabilities for this canvas.
public ElumensSWTSurface(org.eclipse.swt.widgets.Composite parent,
int style,
javax.media.opengl.GLCapabilities caps,
javax.media.opengl.GLCapabilitiesChooser chooser)
parent - The parent component that this surface uses for the canvasstyle - The SWT style bits to use on the created canvascaps - A set of required capabilities for this canvas.chooser - Custom algorithm for selecting one of the available
GLCapabilities for the component;
public ElumensSWTSurface(org.eclipse.swt.widgets.Composite parent,
int style,
javax.media.opengl.GLCapabilities caps,
boolean lightweight)
parent - The parent component that this surface uses for the canvasstyle - The SWT style bits to use on the created canvascaps - A set of required capabilities for this canvas.lightweight - If true, uses a GLJPanel (lightweight) JComponent,
otherwise a GLCanvas. Note that setting this to true could negatively
impact performance.
public ElumensSWTSurface(org.eclipse.swt.widgets.Composite parent,
int style,
javax.media.opengl.GLCapabilities caps,
javax.media.opengl.GLCapabilitiesChooser chooser,
boolean lightweight)
parent - The parent component that this surface uses for the canvasstyle - The SWT style bits to use on the created canvascaps - A set of required capabilities for this canvas.chooser - Custom algorithm for selecting one of the available
GLCapabilities for the component;lightweight - If true, uses a GLJPanel (lightweight) JComponent,
otherwise a GLCanvas. Note that setting this to true could negatively
impact performance.
public ElumensSWTSurface(org.eclipse.swt.widgets.Composite parent,
int style,
javax.media.opengl.GLCapabilities caps,
BaseSurface sharedWith)
If the sharedWith parameter is null, then this is just treated as an ordinary non-shared frame. The return flag will be set appropriately.
parent - The parent component that this surface uses for the canvasstyle - The SWT style bits to use on the created canvascaps - A set of required capabilities for this canvas.sharedWith - The surface that you'd like this surface to share
the GL context with, if possible. May be null.
public ElumensSWTSurface(org.eclipse.swt.widgets.Composite parent,
int style,
javax.media.opengl.GLCapabilities caps,
javax.media.opengl.GLCapabilitiesChooser chooser,
BaseSurface sharedWith)
If the sharedWith parameter is null, then this is just treated as an ordinary non-shared frame. The return flag will be set appropriately.
parent - The parent component that this surface uses for the canvasstyle - The SWT style bits to use on the created canvascaps - A set of required capabilities for this canvas.chooser - Custom algorithm for selecting one of the available
GLCapabilities for the component;sharedWith - The surface that you'd like this surface to share
the GL context with, if possible. May be null.
public ElumensSWTSurface(org.eclipse.swt.widgets.Composite parent,
int style,
javax.media.opengl.GLCapabilities caps,
BaseSurface sharedWith,
boolean lightweight)
If the sharedWith parameter is null, then this is just treated as an ordinary non-shared frame. The return flag will be set appropriately.
parent - The parent component that this surface uses for the canvasstyle - The SWT style bits to use on the created canvascaps - A set of required capabilities for this canvas.sharedWith - The surface that you'd like this surface to share
the GL context with, if possible. May be null.lightweight - If true, uses a GLJPanel (lightweight) JComponent,
otherwise a GLCanvas. Note that setting this to true could negatively
impact performance.
public ElumensSWTSurface(org.eclipse.swt.widgets.Composite parent,
int style,
javax.media.opengl.GLCapabilities caps,
javax.media.opengl.GLCapabilitiesChooser chooser,
BaseSurface sharedWith,
boolean lightweight)
If the sharedWith parameter is null, then this is just treated as an ordinary non-shared frame. The return flag will be set appropriately.
parent - The parent component that this surface uses for the canvasstyle - The SWT style bits to use on the created canvascaps - A set of required capabilities for this canvas.chooser - Custom algorithm for selecting one of the available
GLCapabilities for the component;sharedWith - The surface that you'd like this surface to share
the GL context with, if possible. May be null.lightweight - If true, uses a GLJPanel (lightweight) JComponent,
otherwise a GLCanvas. Note that setting this to true could negatively
impact performance.| Method Detail |
|---|
public void setNumberOfChannels(int channels)
setNumberOfChannels in interface ElumensOutputDevicechannels - The number of channels to render.
public void setChannelLensPosition(int channel,
float x,
float y,
float z)
setChannelLensPosition in interface ElumensOutputDevicechannel - The ID of the channel(s) to affectx - The x positiony - The y positionz - The z position
public void setChannelEyePosition(int channel,
float x,
float y,
float z)
setChannelEyePosition in interface ElumensOutputDevicechannel - The ID of the channel(s) to affectx - The x positiony - The y positionz - The z position
public void setScreenOrientation(double r,
double p,
double v)
setScreenOrientation in interface ElumensOutputDevicer - The rollp - The pitchv - The yaw
public void setChannelSize(int channel,
int height,
int width)
setChannelSize in interface ElumensOutputDevicechannel - The ID of the channel(s) to affectheight - The height in pixelswidth - The width in pixels
|
Aviatrix3D 2.1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||