#include <OVR_Win32_HMDDevice.h>
Public Member Functions | |
virtual DeviceCreateDesc * | Clone () const |
virtual bool | GetDeviceInfo (DeviceInfo *info) const |
Profile * | GetProfileAddRef () const |
ProfileType | GetProfileType () const |
HMDDeviceCreateDesc (DeviceFactory *factory, const String &deviceId, const String &displayDeviceName) | |
HMDDeviceCreateDesc (const HMDDeviceCreateDesc &other) | |
bool | Is7Inch () const |
virtual MatchResult | MatchDevice (const DeviceCreateDesc &other, DeviceCreateDesc **) const |
virtual bool | MatchDevice (const String &path) |
virtual DeviceBase * | NewDeviceInstance () |
void | Set7Inch () |
void | SetDistortion (const float *dks) |
void | SetScreenParameters (int x, int y, unsigned hres, unsigned vres, float hsize, float vsize) |
virtual bool | UpdateMatchedCandidate (const DeviceCreateDesc &, bool *newDeviceFlag=NULL) |
Protected Types | |
enum | { Contents_Screen = 1, Contents_Distortion = 2, Contents_7Inch = 4 } |
Protected Attributes | |
unsigned | Contents |
int | DesktopX |
int | DesktopY |
String | DeviceId |
String | DisplayDeviceName |
float | DistortionK [4] |
unsigned | HResolution |
float | HScreenSize |
unsigned | VResolution |
float | VScreenSize |
Friends | |
class | HMDDevice |
Definition at line 46 of file OVR_Win32_HMDDevice.h.
anonymous enum [protected] |
Definition at line 51 of file OVR_Win32_HMDDevice.h.
OVR::Win32::HMDDeviceCreateDesc::HMDDeviceCreateDesc | ( | DeviceFactory * | factory, |
const String & | deviceId, | ||
const String & | displayDeviceName | ||
) |
Definition at line 26 of file OVR_Win32_HMDDevice.cpp.
OVR::Win32::HMDDeviceCreateDesc::HMDDeviceCreateDesc | ( | const HMDDeviceCreateDesc & | other | ) |
Definition at line 34 of file OVR_Win32_HMDDevice.cpp.
virtual DeviceCreateDesc* OVR::Win32::HMDDeviceCreateDesc::Clone | ( | ) | const [inline, virtual] |
Implements OVR::DeviceCreateDesc.
Definition at line 70 of file OVR_Win32_HMDDevice.h.
bool OVR::Win32::HMDDeviceCreateDesc::GetDeviceInfo | ( | DeviceInfo * | info | ) | const [virtual] |
Implements OVR::DeviceCreateDesc.
Definition at line 353 of file OVR_Win32_HMDDevice.cpp.
Definition at line 338 of file OVR_Win32_HMDDevice.cpp.
ProfileType OVR::Win32::HMDDeviceCreateDesc::GetProfileType | ( | ) | const [inline] |
Definition at line 91 of file OVR_Win32_HMDDevice.h.
bool OVR::Win32::HMDDeviceCreateDesc::Is7Inch | ( | ) | const |
Definition at line 333 of file OVR_Win32_HMDDevice.cpp.
HMDDeviceCreateDesc::MatchResult OVR::Win32::HMDDeviceCreateDesc::MatchDevice | ( | const DeviceCreateDesc & | other, |
DeviceCreateDesc ** | pcandidate | ||
) | const [virtual] |
Implements OVR::DeviceCreateDesc.
Definition at line 43 of file OVR_Win32_HMDDevice.cpp.
bool OVR::Win32::HMDDeviceCreateDesc::MatchDevice | ( | const String & | path | ) | [virtual] |
Reimplemented from OVR::DeviceCreateDesc.
Definition at line 155 of file OVR_Win32_HMDDevice.cpp.
DeviceBase * OVR::Win32::HMDDeviceCreateDesc::NewDeviceInstance | ( | ) | [virtual] |
Implements OVR::DeviceCreateDesc.
Definition at line 328 of file OVR_Win32_HMDDevice.cpp.
void OVR::Win32::HMDDeviceCreateDesc::Set7Inch | ( | ) | [inline] |
Definition at line 114 of file OVR_Win32_HMDDevice.h.
void OVR::Win32::HMDDeviceCreateDesc::SetDistortion | ( | const float * | dks | ) | [inline] |
Definition at line 107 of file OVR_Win32_HMDDevice.h.
void OVR::Win32::HMDDeviceCreateDesc::SetScreenParameters | ( | int | x, |
int | y, | ||
unsigned | hres, | ||
unsigned | vres, | ||
float | hsize, | ||
float | vsize | ||
) | [inline] |
Definition at line 97 of file OVR_Win32_HMDDevice.h.
bool OVR::Win32::HMDDeviceCreateDesc::UpdateMatchedCandidate | ( | const DeviceCreateDesc & | other, |
bool * | newDeviceFlag = NULL |
||
) | [virtual] |
Reimplemented from OVR::DeviceCreateDesc.
Definition at line 107 of file OVR_Win32_HMDDevice.cpp.
friend class HMDDevice [friend] |
Definition at line 48 of file OVR_Win32_HMDDevice.h.
unsigned OVR::Win32::HMDDeviceCreateDesc::Contents [protected] |
Definition at line 60 of file OVR_Win32_HMDDevice.h.
int OVR::Win32::HMDDeviceCreateDesc::DesktopX [protected] |
Definition at line 59 of file OVR_Win32_HMDDevice.h.
int OVR::Win32::HMDDeviceCreateDesc::DesktopY [protected] |
Definition at line 59 of file OVR_Win32_HMDDevice.h.
String OVR::Win32::HMDDeviceCreateDesc::DeviceId [protected] |
Definition at line 57 of file OVR_Win32_HMDDevice.h.
Definition at line 58 of file OVR_Win32_HMDDevice.h.
float OVR::Win32::HMDDeviceCreateDesc::DistortionK[4] [protected] |
Definition at line 63 of file OVR_Win32_HMDDevice.h.
unsigned OVR::Win32::HMDDeviceCreateDesc::HResolution [protected] |
Definition at line 61 of file OVR_Win32_HMDDevice.h.
float OVR::Win32::HMDDeviceCreateDesc::HScreenSize [protected] |
Definition at line 62 of file OVR_Win32_HMDDevice.h.
unsigned OVR::Win32::HMDDeviceCreateDesc::VResolution [protected] |
Definition at line 61 of file OVR_Win32_HMDDevice.h.
float OVR::Win32::HMDDeviceCreateDesc::VScreenSize [protected] |
Definition at line 62 of file OVR_Win32_HMDDevice.h.