#include <OVR_OSX_HMDDevice.h>
Public Member Functions | |
virtual DeviceCreateDesc * | Clone () const |
virtual bool | GetDeviceInfo (DeviceInfo *info) const |
Profile * | GetProfileAddRef () const |
ProfileType | GetProfileType () const |
HMDDeviceCreateDesc (DeviceFactory *factory, UInt32 vendor, UInt32 product, const String &displayDeviceName, long dispId) | |
HMDDeviceCreateDesc (const HMDDeviceCreateDesc &other) | |
bool | Is7Inch () const |
virtual MatchResult | MatchDevice (const DeviceCreateDesc &other, DeviceCreateDesc **) const |
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 |
long | DisplayId |
float | DistortionK [4] |
unsigned | HResolution |
float | HScreenSize |
unsigned | VResolution |
float | VScreenSize |
Friends | |
class | HMDDevice |
Definition at line 47 of file OVR_OSX_HMDDevice.h.
anonymous enum [protected] |
Definition at line 52 of file OVR_OSX_HMDDevice.h.
OVR::OSX::HMDDeviceCreateDesc::HMDDeviceCreateDesc | ( | DeviceFactory * | factory, |
UInt32 | vendor, | ||
UInt32 | product, | ||
const String & | displayDeviceName, | ||
long | dispId | ||
) |
Definition at line 27 of file OVR_OSX_HMDDevice.cpp.
OVR::OSX::HMDDeviceCreateDesc::HMDDeviceCreateDesc | ( | const HMDDeviceCreateDesc & | other | ) |
Definition at line 45 of file OVR_OSX_HMDDevice.cpp.
virtual DeviceCreateDesc* OVR::OSX::HMDDeviceCreateDesc::Clone | ( | ) | const [inline, virtual] |
Implements OVR::DeviceCreateDesc.
Definition at line 65 of file OVR_OSX_HMDDevice.h.
bool OVR::OSX::HMDDeviceCreateDesc::GetDeviceInfo | ( | DeviceInfo * | info | ) | const [virtual] |
Implements OVR::DeviceCreateDesc.
Definition at line 253 of file OVR_OSX_HMDDevice.cpp.
Definition at line 239 of file OVR_OSX_HMDDevice.cpp.
ProfileType OVR::OSX::HMDDeviceCreateDesc::GetProfileType | ( | ) | const [inline] |
Definition at line 83 of file OVR_OSX_HMDDevice.h.
bool OVR::OSX::HMDDeviceCreateDesc::Is7Inch | ( | ) | const |
Definition at line 234 of file OVR_OSX_HMDDevice.cpp.
HMDDeviceCreateDesc::MatchResult OVR::OSX::HMDDeviceCreateDesc::MatchDevice | ( | const DeviceCreateDesc & | other, |
DeviceCreateDesc ** | pcandidate | ||
) | const [virtual] |
Implements OVR::DeviceCreateDesc.
Definition at line 55 of file OVR_OSX_HMDDevice.cpp.
DeviceBase * OVR::OSX::HMDDeviceCreateDesc::NewDeviceInstance | ( | ) | [virtual] |
Implements OVR::DeviceCreateDesc.
Definition at line 229 of file OVR_OSX_HMDDevice.cpp.
void OVR::OSX::HMDDeviceCreateDesc::Set7Inch | ( | ) | [inline] |
Definition at line 106 of file OVR_OSX_HMDDevice.h.
void OVR::OSX::HMDDeviceCreateDesc::SetDistortion | ( | const float * | dks | ) | [inline] |
Definition at line 99 of file OVR_OSX_HMDDevice.h.
void OVR::OSX::HMDDeviceCreateDesc::SetScreenParameters | ( | int | x, |
int | y, | ||
unsigned | hres, | ||
unsigned | vres, | ||
float | hsize, | ||
float | vsize | ||
) | [inline] |
Definition at line 88 of file OVR_OSX_HMDDevice.h.
bool OVR::OSX::HMDDeviceCreateDesc::UpdateMatchedCandidate | ( | const DeviceCreateDesc & | other, |
bool * | newDeviceFlag = NULL |
||
) | [virtual] |
Reimplemented from OVR::DeviceCreateDesc.
Definition at line 119 of file OVR_OSX_HMDDevice.cpp.
friend class HMDDevice [friend] |
Definition at line 49 of file OVR_OSX_HMDDevice.h.
unsigned OVR::OSX::HMDDeviceCreateDesc::Contents [protected] |
Definition at line 114 of file OVR_OSX_HMDDevice.h.
int OVR::OSX::HMDDeviceCreateDesc::DesktopX [protected] |
Definition at line 113 of file OVR_OSX_HMDDevice.h.
int OVR::OSX::HMDDeviceCreateDesc::DesktopY [protected] |
Definition at line 113 of file OVR_OSX_HMDDevice.h.
String OVR::OSX::HMDDeviceCreateDesc::DeviceId [protected] |
Definition at line 111 of file OVR_OSX_HMDDevice.h.
Definition at line 112 of file OVR_OSX_HMDDevice.h.
long OVR::OSX::HMDDeviceCreateDesc::DisplayId [protected] |
Definition at line 117 of file OVR_OSX_HMDDevice.h.
float OVR::OSX::HMDDeviceCreateDesc::DistortionK[4] [protected] |
Definition at line 118 of file OVR_OSX_HMDDevice.h.
unsigned OVR::OSX::HMDDeviceCreateDesc::HResolution [protected] |
Definition at line 115 of file OVR_OSX_HMDDevice.h.
float OVR::OSX::HMDDeviceCreateDesc::HScreenSize [protected] |
Definition at line 116 of file OVR_OSX_HMDDevice.h.
unsigned OVR::OSX::HMDDeviceCreateDesc::VResolution [protected] |
Definition at line 115 of file OVR_OSX_HMDDevice.h.
float OVR::OSX::HMDDeviceCreateDesc::VScreenSize [protected] |
Definition at line 116 of file OVR_OSX_HMDDevice.h.