Bike-X
0.8
Main Page
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
OVR_DeviceConstants.h
Go to the documentation of this file.
1
/************************************************************************************
2
3
PublicHeader: OVR.h
4
Filename : OVR_DeviceConstants.h
5
Content : Device constants
6
Created : February 5, 2013
7
Authors : Lee Cooper
8
9
Copyright : Copyright 2014 Oculus VR, Inc. All Rights reserved.
10
11
Licensed under the Oculus VR Rift SDK License Version 3.1 (the "License");
12
you may not use the Oculus VR Rift SDK except in compliance with the License,
13
which is provided at the time of installation or download, or which
14
otherwise accompanies this software in either electronic or hard copy form.
15
16
You may obtain a copy of the License at
17
18
http://www.oculusvr.com/licenses/LICENSE-3.1
19
20
Unless required by applicable law or agreed to in writing, the Oculus VR SDK
21
distributed under the License is distributed on an "AS IS" BASIS,
22
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
23
See the License for the specific language governing permissions and
24
limitations under the License.
25
26
*************************************************************************************/
27
28
#ifndef OVR_DeviceConstants_h
29
#define OVR_DeviceConstants_h
30
31
namespace
OVR {
32
33
34
//-------------------------------------------------------------------------------------
35
// Different device types supported by OVR; this type is reported by DeviceBase::GetType.
36
//
37
enum
DeviceType
38
{
39
Device_None
= 0,
40
Device_Manager
= 1,
41
Device_HMD
= 2,
42
Device_Sensor
= 3,
43
Device_LatencyTester
= 4,
44
Device_BootLoader
= 5,
45
Device_Camera
= 6,
46
Device_Display
= 7,
47
Device_All
= 0xFF
// Set for enumeration only, to enumerate all device types.
48
};
49
50
51
52
//-------------------------------------------------------------------------------------
53
// Different lens distortion types supported by devices.
54
//
55
enum
DistortionEqnType
56
{
57
Distortion_No_Override
= -1,
58
// These two are leagcy and deprecated.
59
Distortion_Poly4
= 0,
// scale = (K0 + K1*r^2 + K2*r^4 + K3*r^6)
60
Distortion_RecipPoly4
= 1,
// scale = 1/(K0 + K1*r^2 + K2*r^4 + K3*r^6)
61
62
// CatmullRom10 is the preferred distortion format.
63
Distortion_CatmullRom10
= 2,
// scale = Catmull-Rom spline through points (1.0, K[1]...K[9])
64
65
Distortion_LAST
// For ease of enumeration.
66
};
67
68
69
//-------------------------------------------------------------------------------------
70
// HMD types.
71
//
72
enum
HmdTypeEnum
73
{
74
HmdType_None
,
75
76
HmdType_DKProto
,
// First duct-tape model, never sold.
77
HmdType_DK1
,
// DevKit1 - on sale to developers.
78
HmdType_DKHDProto
,
// DKHD - shown at various shows, never sold.
79
HmdType_DKHD2Proto
,
// DKHD2, 5.85-inch panel, never sold.
80
HmdType_DKHDProto566Mi
,
// DKHD, 5.66-inch panel, never sold.
81
HmdType_CrystalCoveProto
,
// Crystal Cove, 5.66-inch panel, shown at shows but never sold.
82
HmdType_DK2
,
83
84
// Reminder - this header file is public - codenames only!
85
86
HmdType_Unknown
,
// Used for unnamed HW lab experiments.
87
88
HmdType_LAST
89
};
90
91
92
//-------------------------------------------------------------------------------------
93
// HMD shutter types.
94
//
95
enum
HmdShutterTypeEnum
96
{
97
HmdShutter_Global
,
98
HmdShutter_RollingTopToBottom
,
99
HmdShutter_RollingLeftToRight
,
100
HmdShutter_RollingRightToLeft
,
101
// TODO:
102
// color-sequential e.g. LCOS?
103
// alternate eyes?
104
// alternate columns?
105
// outside-in?
106
107
HmdShutter_LAST
108
};
109
110
111
112
//-------------------------------------------------------------------------------------
113
// For headsets that use eye cups
114
//
115
enum
EyeCupType
116
{
117
// Public lenses
118
EyeCup_DK1A
= 0,
119
EyeCup_DK1B
= 1,
120
EyeCup_DK1C
= 2,
121
122
EyeCup_DK2A
= 3,
123
124
// Internal R&D codenames.
125
// Reminder - this header file is public - codenames only!
126
EyeCup_DKHD2A
,
127
EyeCup_OrangeA
,
128
EyeCup_RedA
,
129
EyeCup_PinkA
,
130
EyeCup_BlueA
,
131
EyeCup_Delilah1A
,
132
EyeCup_Delilah2A
,
133
EyeCup_JamesA
,
134
EyeCup_SunMandalaA
,
135
136
EyeCup_LAST
137
};
138
139
140
}
// namespace OVR
141
142
#endif
OVR::Device_HMD
Definition:
OVR_DeviceConstants.h:41
OVR::HmdShutter_RollingRightToLeft
Definition:
OVR_DeviceConstants.h:100
OVR::HmdType_DKProto
Definition:
OVR_DeviceConstants.h:76
OVR::EyeCup_JamesA
Definition:
OVR_DeviceConstants.h:133
OVR::DeviceType
DeviceType
Definition:
OVR_DeviceConstants.h:37
OVR::HmdType_LAST
Definition:
OVR_DeviceConstants.h:88
OVR::EyeCup_DK2A
Definition:
OVR_DeviceConstants.h:122
OVR::Device_Camera
Definition:
OVR_DeviceConstants.h:45
OVR::HmdShutter_RollingTopToBottom
Definition:
OVR_DeviceConstants.h:98
OVR::HmdType_DKHDProto
Definition:
OVR_DeviceConstants.h:78
OVR::Distortion_Poly4
Definition:
OVR_DeviceConstants.h:59
OVR::HmdType_DKHDProto566Mi
Definition:
OVR_DeviceConstants.h:80
OVR::HmdShutter_Global
Definition:
OVR_DeviceConstants.h:97
OVR::HmdTypeEnum
HmdTypeEnum
Definition:
OVR_DeviceConstants.h:72
OVR::EyeCup_DK1A
Definition:
OVR_DeviceConstants.h:118
OVR::EyeCup_OrangeA
Definition:
OVR_DeviceConstants.h:127
OVR::Device_Sensor
Definition:
OVR_DeviceConstants.h:42
OVR::EyeCup_Delilah1A
Definition:
OVR_DeviceConstants.h:131
OVR::Distortion_CatmullRom10
Definition:
OVR_DeviceConstants.h:63
OVR::HmdType_DKHD2Proto
Definition:
OVR_DeviceConstants.h:79
OVR::Distortion_No_Override
Definition:
OVR_DeviceConstants.h:57
OVR::Distortion_LAST
Definition:
OVR_DeviceConstants.h:65
OVR::HmdType_DK1
Definition:
OVR_DeviceConstants.h:77
OVR::Device_None
Definition:
OVR_DeviceConstants.h:39
OVR::EyeCup_DKHD2A
Definition:
OVR_DeviceConstants.h:126
OVR::EyeCup_DK1B
Definition:
OVR_DeviceConstants.h:119
OVR::HmdType_None
Definition:
OVR_DeviceConstants.h:74
OVR::HmdType_Unknown
Definition:
OVR_DeviceConstants.h:86
OVR::DistortionEqnType
DistortionEqnType
Definition:
OVR_DeviceConstants.h:55
OVR::HmdType_DK2
Definition:
OVR_DeviceConstants.h:82
OVR::EyeCup_PinkA
Definition:
OVR_DeviceConstants.h:129
OVR::EyeCup_BlueA
Definition:
OVR_DeviceConstants.h:130
OVR::EyeCup_RedA
Definition:
OVR_DeviceConstants.h:128
OVR::HmdShutter_RollingLeftToRight
Definition:
OVR_DeviceConstants.h:99
OVR::EyeCup_SunMandalaA
Definition:
OVR_DeviceConstants.h:134
OVR::Device_Display
Definition:
OVR_DeviceConstants.h:46
OVR::HmdType_CrystalCoveProto
Definition:
OVR_DeviceConstants.h:81
OVR::Device_LatencyTester
Definition:
OVR_DeviceConstants.h:43
OVR::HmdShutterTypeEnum
HmdShutterTypeEnum
Definition:
OVR_DeviceConstants.h:95
OVR::EyeCupType
EyeCupType
Definition:
OVR_DeviceConstants.h:115
OVR::Device_Manager
Definition:
OVR_DeviceConstants.h:40
OVR::Device_BootLoader
Definition:
OVR_DeviceConstants.h:44
OVR::Distortion_RecipPoly4
Definition:
OVR_DeviceConstants.h:60
OVR::EyeCup_LAST
Definition:
OVR_DeviceConstants.h:136
OVR::EyeCup_Delilah2A
Definition:
OVR_DeviceConstants.h:132
OVR::EyeCup_DK1C
Definition:
OVR_DeviceConstants.h:120
OVR::Device_All
Definition:
OVR_DeviceConstants.h:47
OVR::HmdShutter_LAST
Definition:
OVR_DeviceConstants.h:107
ovr
sdk
src
OVR_DeviceConstants.h
Generated on Wed Oct 1 2014 00:45:20 for Bike-X by
1.8.6