#include <OVR_Linux_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 &displayDeviceName, long dispId) | |
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 |
long | DisplayId |
float | DistortionK [4] |
unsigned | HResolution |
float | HScreenSize |
unsigned | VResolution |
float | VScreenSize |
Friends | |
class | HMDDevice |
Definition at line 45 of file OVR_Linux_HMDDevice.h.
anonymous enum [protected] |
Definition at line 50 of file OVR_Linux_HMDDevice.h.
OVR::Linux::HMDDeviceCreateDesc::HMDDeviceCreateDesc | ( | DeviceFactory * | factory, |
const String & | displayDeviceName, | ||
long | dispId | ||
) |
Definition at line 29 of file OVR_Linux_HMDDevice.cpp.
OVR::Linux::HMDDeviceCreateDesc::HMDDeviceCreateDesc | ( | const HMDDeviceCreateDesc & | other | ) |
Definition at line 39 of file OVR_Linux_HMDDevice.cpp.
virtual DeviceCreateDesc* OVR::Linux::HMDDeviceCreateDesc::Clone | ( | ) | const [inline, virtual] |
Implements OVR::DeviceCreateDesc.
Definition at line 69 of file OVR_Linux_HMDDevice.h.
bool OVR::Linux::HMDDeviceCreateDesc::GetDeviceInfo | ( | DeviceInfo * | info | ) | const [virtual] |
Implements OVR::DeviceCreateDesc.
Definition at line 246 of file OVR_Linux_HMDDevice.cpp.
Definition at line 231 of file OVR_Linux_HMDDevice.cpp.
ProfileType OVR::Linux::HMDDeviceCreateDesc::GetProfileType | ( | ) | const [inline] |
Definition at line 90 of file OVR_Linux_HMDDevice.h.
bool OVR::Linux::HMDDeviceCreateDesc::Is7Inch | ( | ) | const |
Definition at line 226 of file OVR_Linux_HMDDevice.cpp.
HMDDeviceCreateDesc::MatchResult OVR::Linux::HMDDeviceCreateDesc::MatchDevice | ( | const DeviceCreateDesc & | other, |
DeviceCreateDesc ** | pcandidate | ||
) | const [virtual] |
Implements OVR::DeviceCreateDesc.
Definition at line 49 of file OVR_Linux_HMDDevice.cpp.
bool OVR::Linux::HMDDeviceCreateDesc::MatchDevice | ( | const String & | path | ) | [virtual] |
Reimplemented from OVR::DeviceCreateDesc.
Definition at line 159 of file OVR_Linux_HMDDevice.cpp.
DeviceBase * OVR::Linux::HMDDeviceCreateDesc::NewDeviceInstance | ( | ) | [virtual] |
Implements OVR::DeviceCreateDesc.
Definition at line 221 of file OVR_Linux_HMDDevice.cpp.
void OVR::Linux::HMDDeviceCreateDesc::Set7Inch | ( | ) | [inline] |
Definition at line 113 of file OVR_Linux_HMDDevice.h.
void OVR::Linux::HMDDeviceCreateDesc::SetDistortion | ( | const float * | dks | ) | [inline] |
Definition at line 106 of file OVR_Linux_HMDDevice.h.
void OVR::Linux::HMDDeviceCreateDesc::SetScreenParameters | ( | int | x, |
int | y, | ||
unsigned | hres, | ||
unsigned | vres, | ||
float | hsize, | ||
float | vsize | ||
) | [inline] |
Definition at line 96 of file OVR_Linux_HMDDevice.h.
bool OVR::Linux::HMDDeviceCreateDesc::UpdateMatchedCandidate | ( | const DeviceCreateDesc & | other, |
bool * | newDeviceFlag = NULL |
||
) | [virtual] |
Reimplemented from OVR::DeviceCreateDesc.
Definition at line 113 of file OVR_Linux_HMDDevice.cpp.
friend class HMDDevice [friend] |
Definition at line 47 of file OVR_Linux_HMDDevice.h.
unsigned OVR::Linux::HMDDeviceCreateDesc::Contents [protected] |
Definition at line 59 of file OVR_Linux_HMDDevice.h.
int OVR::Linux::HMDDeviceCreateDesc::DesktopX [protected] |
Definition at line 58 of file OVR_Linux_HMDDevice.h.
int OVR::Linux::HMDDeviceCreateDesc::DesktopY [protected] |
Definition at line 58 of file OVR_Linux_HMDDevice.h.
String OVR::Linux::HMDDeviceCreateDesc::DeviceId [protected] |
Definition at line 56 of file OVR_Linux_HMDDevice.h.
Definition at line 57 of file OVR_Linux_HMDDevice.h.
long OVR::Linux::HMDDeviceCreateDesc::DisplayId [protected] |
Definition at line 62 of file OVR_Linux_HMDDevice.h.
float OVR::Linux::HMDDeviceCreateDesc::DistortionK[4] [protected] |
Definition at line 63 of file OVR_Linux_HMDDevice.h.
unsigned OVR::Linux::HMDDeviceCreateDesc::HResolution [protected] |
Definition at line 60 of file OVR_Linux_HMDDevice.h.
float OVR::Linux::HMDDeviceCreateDesc::HScreenSize [protected] |
Definition at line 61 of file OVR_Linux_HMDDevice.h.
unsigned OVR::Linux::HMDDeviceCreateDesc::VResolution [protected] |
Definition at line 60 of file OVR_Linux_HMDDevice.h.
float OVR::Linux::HMDDeviceCreateDesc::VScreenSize [protected] |
Definition at line 61 of file OVR_Linux_HMDDevice.h.