|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ElumensOutputDevice
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.OutputDevice |
---|
dispose, disposeSingleThreadResources, draw, enableSingleThreaded, getSurfaceObject, isDisposed, setErrorReporter |
Field Detail |
---|
static final int SPI_1C_FRONT
static final int SPI_2C_LEFT
static final int SPI_2C_RIGHT
static final int SPI_3C_LEFT
static final int SPI_3C_RIGHT
static final int SPI_3C_TOP
static final int SPI_4C_LEFT
static final int SPI_4C_RIGHT
static final int SPI_4C_TOP
static final int SPI_4C_BOTTOM
static final int SPI_OC_FRONT
static final int SPI_2C_INSERT
static final int SPI_2C_BORDER
static final int SPI_ALL_CHAN
static final int SPI_ALL_2_CHAN
static final int SPI_ALL_3_CHAN
static final int SPI_ALL_4_CHAN
Method Detail |
---|
void setNumberOfChannels(int channels)
channels
- The number of channels to render.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 positionvoid 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 positionvoid setScreenOrientation(double r, double p, double v)
r
- The rollp
- The pitchv
- The yawvoid 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.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |