Bike-X  0.8
 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 //
38 {
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 //
56 {
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 //
73 {
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.
83 
84  // Reminder - this header file is public - codenames only!
85 
86  HmdType_Unknown, // Used for unnamed HW lab experiments.
87 
89 };
90 
91 
92 //-------------------------------------------------------------------------------------
93 // HMD shutter types.
94 //
96 {
101  // TODO:
102  // color-sequential e.g. LCOS?
103  // alternate eyes?
104  // alternate columns?
105  // outside-in?
106 
108 };
109 
110 
111 
112 //-------------------------------------------------------------------------------------
113 // For headsets that use eye cups
114 //
116 {
117  // Public lenses
121 
123 
124  // Internal R&D codenames.
125  // Reminder - this header file is public - codenames only!
135 
137 };
138 
139 
140 } // namespace OVR
141 
142 #endif