Package com.leia.sdk
Class Config
- java.lang.Object
-
- com.leia.sdk.Config
-
- All Implemented Interfaces:
AutoCloseable
public class Config extends Object implements AutoCloseable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Config.Orientation
-
Field Summary
Fields Modifier and Type Field Description static int
ORIENTATION_COUNT
static int
ORIENTATION_LANDSCAPE
static int
ORIENTATION_PORTRAIT
static int
ORIENTATION_REVERSE_LANDSCAPE
static int
ORIENTATION_REVERSE_PORTRAIT
static int
ORIENTATION_UNSPECIFIED
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
applyChanges(LeiaSDK leiaSDK)
void
close()
protected void
finalize()
CameraConfiguration
getCameraConfiguration()
Vector2i
getDisplaySizeMm()
Vector2i
getNumHardwareViews()
Vector2i
getPanelResolution()
Vector2
getPixelSizeMm()
float
getUserIpdMm()
Vector2i
getViewResolution()
void
setUserIpdMm(float userIpd)
void
setViewResolution(Vector2i viewResolution)
-
-
-
Field Detail
-
ORIENTATION_UNSPECIFIED
public static final int ORIENTATION_UNSPECIFIED
- See Also:
- Constant Field Values
-
ORIENTATION_LANDSCAPE
public static final int ORIENTATION_LANDSCAPE
- See Also:
- Constant Field Values
-
ORIENTATION_PORTRAIT
public static final int ORIENTATION_PORTRAIT
- See Also:
- Constant Field Values
-
ORIENTATION_REVERSE_LANDSCAPE
public static final int ORIENTATION_REVERSE_LANDSCAPE
- See Also:
- Constant Field Values
-
ORIENTATION_REVERSE_PORTRAIT
public static final int ORIENTATION_REVERSE_PORTRAIT
- See Also:
- Constant Field Values
-
ORIENTATION_COUNT
public static final int ORIENTATION_COUNT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Config
public Config(LeiaSDK leiaSDK)
-
-
Method Detail
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
-
finalize
protected void finalize() throws Throwable
-
getPixelSizeMm
public Vector2 getPixelSizeMm()
-
getPanelResolution
public Vector2i getPanelResolution()
-
getViewResolution
public Vector2i getViewResolution()
-
setViewResolution
public void setViewResolution(Vector2i viewResolution)
-
getDisplaySizeMm
public Vector2i getDisplaySizeMm()
-
getUserIpdMm
public float getUserIpdMm()
-
setUserIpdMm
public void setUserIpdMm(float userIpd)
-
getNumHardwareViews
public Vector2i getNumHardwareViews()
-
getCameraConfiguration
public CameraConfiguration getCameraConfiguration()
-
applyChanges
public void applyChanges(LeiaSDK leiaSDK)
-
-