|
Aviatrix3D 2.0 Beta 2 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An extended form of the GraphicsOutputDevice
interface that adds
methods that are specific to managing Elumens setup functionality.
This implementation is capable of handling multichannel dome support with configurable number of channels. The number of channels used can be modified on the fly, but it is costly to do so as the render has to be reinitialized each time.
Most of the methods take which channel to write to. The constants are defined
both in this interface, which are just aliased values from
SPI
. These are a set of bitmasks used
to control the channels.
Field Summary | |
static int |
SPI_1C_FRONT
The only channel of a single-channel display |
static int |
SPI_2C_BORDER
The border channel surrounding the 2-channel display |
static int |
SPI_2C_INSERT
The overlay channel above any projection for the 2-channel display |
static int |
SPI_2C_LEFT
The left channel of a 2-channel display |
static int |
SPI_2C_RIGHT
The right channel of a 2-channel display |
static int |
SPI_3C_LEFT
The left channel of a 3-channel display |
static int |
SPI_3C_RIGHT
The right channel of a 3-channel display |
static int |
SPI_3C_TOP
The top channel of a 3-channel display |
static int |
SPI_4C_BOTTOM
The left channel of a 4-channel display |
static int |
SPI_4C_LEFT
The left channel of a 4-channel display |
static int |
SPI_4C_RIGHT
The left channel of a 4-channel display |
static int |
SPI_4C_TOP
The left channel of a 4-channel display |
static int |
SPI_ALL_2_CHAN
Select all channels for a 2-channel display |
static int |
SPI_ALL_3_CHAN
Select all channels for a 3-channel display |
static int |
SPI_ALL_4_CHAN
Select all channels for a 4-channel display |
static int |
SPI_ALL_CHAN
Select all available channels |
static int |
SPI_OC_FRONT
The overlay channel above any projection |
Fields inherited from interface org.j3d.aviatrix3d.pipeline.graphics.GraphicsOutputDevice |
ALTERNATE_FRAME_STEREO, NO_STEREO, QUAD_BUFFER_STEREO, TWO_CANVAS_STEREO |
Method Summary | |
void |
setChannelEyePosition(int channel,
float x,
float y,
float z)
Set the channel eye position. |
void |
setChannelLensPosition(int channel,
float x,
float y,
float z)
Set the channel lens position. |
void |
setChannelSize(int channel,
int height,
int width)
Set the channel size in pixels. |
void |
setNumberOfChannels(int channels)
Set the number of channels to display. |
void |
setScreenOrientation(double r,
double p,
double v)
Set the screen orientation. |
Methods inherited from interface org.j3d.aviatrix3d.pipeline.graphics.GraphicsOutputDevice |
addGraphicsResizeListener, getCenterEyeInSurface, getPixelLocationInSurface, getStereoEyeSeparation, getStereoRenderingPolicy, getSurfaceToVWorld, isQuadStereoAvailable, isStereoAvailable, queueShaderRequests, removeGraphicsResizeListener, setClearColor, setColorClearNeeded, setDrawableObjects, setStereoEyeSeparation, setStereoRenderingPolicy, swap |
Methods inherited from interface org.j3d.aviatrix3d.pipeline.OutputDevice |
dispose, disposeSingleThreadResources, draw, enableSingleThreaded, getSurfaceObject, isDisposed, queueDeletedObject, setErrorReporter |
Field Detail |
public static final int SPI_1C_FRONT
public static final int SPI_2C_LEFT
public static final int SPI_2C_RIGHT
public static final int SPI_3C_LEFT
public static final int SPI_3C_RIGHT
public static final int SPI_3C_TOP
public static final int SPI_4C_LEFT
public static final int SPI_4C_RIGHT
public static final int SPI_4C_TOP
public static final int SPI_4C_BOTTOM
public static final int SPI_OC_FRONT
public static final int SPI_2C_INSERT
public static final int SPI_2C_BORDER
public static final int SPI_ALL_CHAN
public static final int SPI_ALL_2_CHAN
public static final int SPI_ALL_3_CHAN
public static final int SPI_ALL_4_CHAN
Method Detail |
public void setNumberOfChannels(int channels)
channels
- The number of channels to render.public void setChannelLensPosition(int channel, float x, float y, float z)
channel
- The ID of the channel(s) to affectx
- The x positiony
- The y positionz
- The z positionpublic void setChannelEyePosition(int channel, float x, float y, float z)
channel
- The ID of the channel(s) to affectx
- The x positiony
- The y positionz
- The z positionpublic void setScreenOrientation(double r, double p, double v)
r
- The rollp
- The pitchv
- The yawpublic void setChannelSize(int channel, int height, int width)
channel
- The ID of the channel(s) to affectheight
- The height in pixelswidth
- The width in pixels
|
Aviatrix3D 2.0 Beta 2 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |