Public Member Functions | Protected Types | Protected Attributes | Friends
OVR::Win32::HMDDeviceCreateDesc Class Reference

#include <OVR_Win32_HMDDevice.h>

Inheritance diagram for OVR::Win32::HMDDeviceCreateDesc:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual DeviceCreateDescClone () const
virtual bool GetDeviceInfo (DeviceInfo *info) const
ProfileGetProfileAddRef () 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 DeviceBaseNewDeviceInstance ()
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

Detailed Description

Definition at line 46 of file OVR_Win32_HMDDevice.h.


Member Enumeration Documentation

anonymous enum [protected]
Enumerator:
Contents_Screen 
Contents_Distortion 
Contents_7Inch 

Definition at line 51 of file OVR_Win32_HMDDevice.h.


Constructor & Destructor Documentation

OVR::Win32::HMDDeviceCreateDesc::HMDDeviceCreateDesc ( DeviceFactory factory,
const String deviceId,
const String displayDeviceName 
)

Definition at line 26 of file OVR_Win32_HMDDevice.cpp.

Definition at line 34 of file OVR_Win32_HMDDevice.cpp.


Member Function Documentation

virtual DeviceCreateDesc* OVR::Win32::HMDDeviceCreateDesc::Clone ( ) const [inline, virtual]

Implements OVR::DeviceCreateDesc.

Definition at line 70 of file OVR_Win32_HMDDevice.h.

Implements OVR::DeviceCreateDesc.

Definition at line 353 of file OVR_Win32_HMDDevice.cpp.

Definition at line 338 of file OVR_Win32_HMDDevice.cpp.

Definition at line 91 of file OVR_Win32_HMDDevice.h.

Definition at line 333 of file OVR_Win32_HMDDevice.cpp.

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.

Implements OVR::DeviceCreateDesc.

Definition at line 328 of file OVR_Win32_HMDDevice.cpp.

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.


Friends And Related Function Documentation

friend class HMDDevice [friend]

Definition at line 48 of file OVR_Win32_HMDDevice.h.


Member Data Documentation

Definition at line 60 of file OVR_Win32_HMDDevice.h.

Definition at line 59 of file OVR_Win32_HMDDevice.h.

Definition at line 59 of file OVR_Win32_HMDDevice.h.

Definition at line 57 of file OVR_Win32_HMDDevice.h.

Definition at line 58 of file OVR_Win32_HMDDevice.h.

Definition at line 63 of file OVR_Win32_HMDDevice.h.

Definition at line 61 of file OVR_Win32_HMDDevice.h.

Definition at line 62 of file OVR_Win32_HMDDevice.h.

Definition at line 61 of file OVR_Win32_HMDDevice.h.

Definition at line 62 of file OVR_Win32_HMDDevice.h.


The documentation for this class was generated from the following files:


oculus_sdk
Author(s):
autogenerated on Fri Aug 28 2015 11:53:12