Package gaiasky.util
Enum Class Settings.StereoProfile
- All Implemented Interfaces:
Serializable
,Comparable<Settings.StereoProfile>
,Constable
- Enclosing class:
Settings
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionRed-blue anaglyph 3D modeRed-cyan anaglyph 3D modeLeft image -> right eye, no distortionLeft image -> left eye, distortionLeft image -> left eye, no distortionTop-bottomLeft image -> left eye, distortion -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
boolean
boolean
boolean
boolean
boolean
boolean
isVR()
static Settings.StereoProfile
Returns the enum constant of this class with the specified name.static Settings.StereoProfile[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
VR_HEADSET
Left image -> left eye, distortion -
HORIZONTAL_3DTV
Left image -> left eye, distortion -
VERTICAL_3DTV
Top-bottom -
CROSSEYE
Left image -> right eye, no distortion -
PARALLEL_VIEW
Left image -> left eye, no distortion -
ANAGLYPH_RED_CYAN
Red-cyan anaglyph 3D mode -
ANAGLYPH_RED_BLUE
Red-blue anaglyph 3D mode
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
isHorizontal
public boolean isHorizontal() -
isVertical
public boolean isVertical() -
isVR
public boolean isVR() -
isAnaglyph
public boolean isAnaglyph() -
isAnaglyphRedCyan
public boolean isAnaglyphRedCyan() -
isAnaglyphRedBlue
public boolean isAnaglyphRedBlue() -
getAnaglyphModeInteger
public int getAnaglyphModeInteger() -
correctAspect
public boolean correctAspect()
-