Enum Class Settings.StereoProfile
- All Implemented Interfaces:
LocalizedEnum, Serializable, Comparable<Settings.StereoProfile>, Constable
- Enclosing class:
Settings
public static enum Settings.StereoProfile
extends Enum<Settings.StereoProfile>
implements LocalizedEnum
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAnaglyph amber-blueAnaglyph amber-blue Dubois-styleCustom anaglyph.Anaglyph green-magentaAnaglyph green-magenta Dubois-styleAnaglyph red-blueAnaglyph red-cyanAnaglyph red-cyan DuboisLeft image -> right eye, no distortionLeft image -> left eye, distortionLeft image -> left eye, no distortionTop-bottomLeft image -> left eye, distortion -
Method Summary
Modifier and TypeMethodDescriptionbooleanintbooleanbooleanbooleanbooleanisVR()static Settings.StereoProfileReturns 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 -
CROSS_EYE
Left image -> right eye, no distortion -
PARALLEL_VIEW
Left image -> left eye, no distortion -
ANAGLYPH_RED_CYAN
Anaglyph red-cyan -
ANAGLYPH_RED_CYAN_DUBOIS
Anaglyph red-cyan Dubois -
ANAGLYPH_AMBER_BLUE
Anaglyph amber-blue -
ANAGLYPH_AMBER_BLUE_DUBOIS
Anaglyph amber-blue Dubois-style -
ANAGLYPH_GREEN_MAGENTA
Anaglyph green-magenta -
ANAGLYPH_GREEN_MAGENTA_DUBOIS
Anaglyph green-magenta Dubois-style -
ANAGLYPH_RED_BLUE
Anaglyph red-blue -
ANAGLYPH_CUSTOM
-
-
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() -
getAnaglyphModeInteger
public int getAnaglyphModeInteger() -
correctAspect
public boolean correctAspect() -
localizedName
- Specified by:
localizedNamein interfaceLocalizedEnum
-