JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.opengl.util.stereo.generic.GenericStereoDeviceConfig Class Reference

Configuration for GenericStereoDevices. More...

Inheritance diagram for com.jogamp.opengl.util.stereo.generic.GenericStereoDeviceConfig:
Collaboration diagram for com.jogamp.opengl.util.stereo.generic.GenericStereoDeviceConfig:

Classes

enum  ShutterType
 

Public Member Functions

 GenericStereoDeviceConfig (final String name, final GenericStereoDeviceConfig.ShutterType shutterType, final DimensionImmutable surfaceSizeInPixels, final float[] screenSizeInMeters, final DimensionImmutable[] eyeTextureSize, final float pupilCenterFromScreenTopInMeters, final float interpupillaryDistanceInMeters, final int[] eyeRenderOrder, final EyeParameter[] defaultEyeParam, final int supportedSensorBits, final DistortionMesh.Producer distortionMeshProducer, final int supportedDistortionBits, final int recommendedDistortionBits, final int minimumDistortionBits)
 
 GenericStereoDeviceConfig (final GenericStereoDeviceConfig source, final DimensionImmutable surfaceSizeInPixels, final float[] screenSizeInMeters, final DimensionImmutable[] eyeTextureSize)
 A variation w/ different surface/screen specs. More...
 
synchronized void init ()
 One time lazy initialization before use. More...
 
final boolean isInitialized ()
 Returns true if initialized, otherwise false. More...
 
String toString ()
 

Public Attributes

final String name
 Configuration Name. More...
 
final GenericStereoDeviceConfig.ShutterType shutterType
 
final DimensionImmutable surfaceSizeInPixels
 
final float[] screenSizeInMeters
 
final DimensionImmutable[] eyeTextureSizes
 Texture size per eye. More...
 
final float pupilCenterFromScreenTopInMeters
 Vertical distance from pupil to screen-top in meters. More...
 
final float interpupillaryDistanceInMeters
 Horizontal interpupillary distance (IPD) in meters. More...
 
final float[][] pupilCenterFromTopLeft
 Pupil center from top left per eye, ranging from [0..1], maybe used to produce FovHVHalves, see getHorizPupilCenterFromLeft(float, float) and getVertPupilCenterFromTop(float, float). More...
 
final int[] eyeRenderOrder
 
final EyeParameter[] defaultEyeParam
 
final int supportedSensorBits
 Supported sensor bits, see StereoDevice#SENSOR_ORIENTATION. More...
 
final DistortionMesh.Producer distortionMeshProducer
 
final int supportedDistortionBits
 Supported distortion bits, see StereoDeviceRenderer#DISTORTION_BARREL. More...
 
final int recommendedDistortionBits
 Recommended distortion bits, see StereoDeviceRenderer.DISTORTION_BARREL. More...
 
final int minimumDistortionBits
 Required distortion bits, see StereoDeviceRenderer.DISTORTION_BARREL. More...
 

Detailed Description

Configuration for GenericStereoDevices.

Definition at line 45 of file GenericStereoDeviceConfig.java.

Constructor & Destructor Documentation

◆ GenericStereoDeviceConfig() [1/2]

com.jogamp.opengl.util.stereo.generic.GenericStereoDeviceConfig.GenericStereoDeviceConfig ( final String  name,
final GenericStereoDeviceConfig.ShutterType  shutterType,
final DimensionImmutable  surfaceSizeInPixels,
final float[]  screenSizeInMeters,
final DimensionImmutable[]  eyeTextureSize,
final float  pupilCenterFromScreenTopInMeters,
final float  interpupillaryDistanceInMeters,
final int[]  eyeRenderOrder,
final EyeParameter[]  defaultEyeParam,
final int  supportedSensorBits,
final DistortionMesh.Producer  distortionMeshProducer,
final int  supportedDistortionBits,
final int  recommendedDistortionBits,
final int  minimumDistortionBits 
)

Definition at line 49 of file GenericStereoDeviceConfig.java.

◆ GenericStereoDeviceConfig() [2/2]

com.jogamp.opengl.util.stereo.generic.GenericStereoDeviceConfig.GenericStereoDeviceConfig ( final GenericStereoDeviceConfig  source,
final DimensionImmutable  surfaceSizeInPixels,
final float[]  screenSizeInMeters,
final DimensionImmutable[]  eyeTextureSize 
)

A variation w/ different surface/screen specs.

Definition at line 85 of file GenericStereoDeviceConfig.java.

Member Function Documentation

◆ init()

synchronized void com.jogamp.opengl.util.stereo.generic.GenericStereoDeviceConfig.init ( )

One time lazy initialization before use.

See also
#isInitialized()

Definition at line 120 of file GenericStereoDeviceConfig.java.

◆ isInitialized()

final boolean com.jogamp.opengl.util.stereo.generic.GenericStereoDeviceConfig.isInitialized ( )

Returns true if initialized, otherwise false.

See also
init()

Definition at line 139 of file GenericStereoDeviceConfig.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ toString()

String com.jogamp.opengl.util.stereo.generic.GenericStereoDeviceConfig.toString ( )

Definition at line 142 of file GenericStereoDeviceConfig.java.

Here is the call graph for this function:

Member Data Documentation

◆ defaultEyeParam

final EyeParameter [] com.jogamp.opengl.util.stereo.generic.GenericStereoDeviceConfig.defaultEyeParam

Definition at line 171 of file GenericStereoDeviceConfig.java.

◆ distortionMeshProducer

final DistortionMesh.Producer com.jogamp.opengl.util.stereo.generic.GenericStereoDeviceConfig.distortionMeshProducer

Definition at line 176 of file GenericStereoDeviceConfig.java.

◆ eyeRenderOrder

final int [] com.jogamp.opengl.util.stereo.generic.GenericStereoDeviceConfig.eyeRenderOrder

Definition at line 170 of file GenericStereoDeviceConfig.java.

◆ eyeTextureSizes

final DimensionImmutable [] com.jogamp.opengl.util.stereo.generic.GenericStereoDeviceConfig.eyeTextureSizes

Texture size per eye.

Definition at line 159 of file GenericStereoDeviceConfig.java.

◆ interpupillaryDistanceInMeters

final float com.jogamp.opengl.util.stereo.generic.GenericStereoDeviceConfig.interpupillaryDistanceInMeters

Horizontal interpupillary distance (IPD) in meters.

Definition at line 164 of file GenericStereoDeviceConfig.java.

◆ minimumDistortionBits

final int com.jogamp.opengl.util.stereo.generic.GenericStereoDeviceConfig.minimumDistortionBits

Required distortion bits, see StereoDeviceRenderer.DISTORTION_BARREL.

Definition at line 183 of file GenericStereoDeviceConfig.java.

◆ name

final String com.jogamp.opengl.util.stereo.generic.GenericStereoDeviceConfig.name

Configuration Name.

Definition at line 153 of file GenericStereoDeviceConfig.java.

◆ pupilCenterFromScreenTopInMeters

final float com.jogamp.opengl.util.stereo.generic.GenericStereoDeviceConfig.pupilCenterFromScreenTopInMeters

Vertical distance from pupil to screen-top in meters.

Definition at line 162 of file GenericStereoDeviceConfig.java.

◆ pupilCenterFromTopLeft

final float [][] com.jogamp.opengl.util.stereo.generic.GenericStereoDeviceConfig.pupilCenterFromTopLeft

Pupil center from top left per eye, ranging from [0..1], maybe used to produce FovHVHalves, see getHorizPupilCenterFromLeft(float, float) and getVertPupilCenterFromTop(float, float).

Definition at line 169 of file GenericStereoDeviceConfig.java.

◆ recommendedDistortionBits

final int com.jogamp.opengl.util.stereo.generic.GenericStereoDeviceConfig.recommendedDistortionBits

Recommended distortion bits, see StereoDeviceRenderer.DISTORTION_BARREL.

Definition at line 181 of file GenericStereoDeviceConfig.java.

◆ screenSizeInMeters

final float [] com.jogamp.opengl.util.stereo.generic.GenericStereoDeviceConfig.screenSizeInMeters

Definition at line 157 of file GenericStereoDeviceConfig.java.

◆ shutterType

final GenericStereoDeviceConfig.ShutterType com.jogamp.opengl.util.stereo.generic.GenericStereoDeviceConfig.shutterType

Definition at line 154 of file GenericStereoDeviceConfig.java.

◆ supportedDistortionBits

final int com.jogamp.opengl.util.stereo.generic.GenericStereoDeviceConfig.supportedDistortionBits

Supported distortion bits, see StereoDeviceRenderer#DISTORTION_BARREL.

Definition at line 179 of file GenericStereoDeviceConfig.java.

◆ supportedSensorBits

final int com.jogamp.opengl.util.stereo.generic.GenericStereoDeviceConfig.supportedSensorBits

Supported sensor bits, see StereoDevice#SENSOR_ORIENTATION.

Definition at line 174 of file GenericStereoDeviceConfig.java.

◆ surfaceSizeInPixels

final DimensionImmutable com.jogamp.opengl.util.stereo.generic.GenericStereoDeviceConfig.surfaceSizeInPixels

Definition at line 156 of file GenericStereoDeviceConfig.java.


The documentation for this class was generated from the following file: