#include <OVR_Profile.h>

Public Types | |
| enum | { MaxNameLen = 32 } |
| enum | GenderType { Gender_Unspecified = 0, Gender_Male = 1, Gender_Female = 2 } |
Public Member Functions | |
| float | GetEyeHeight () |
| GenderType | GetGender () |
| float | GetIPD () |
| float | GetPlayerHeight () |
| void | SetGender (GenderType gender) |
| void | SetIPD (float ipd) |
| void | SetPlayerHeight (float height) |
Public Attributes | |
| char | Name [MaxNameLen] |
| ProfileType | Type |
Protected Member Functions | |
| virtual Profile * | Clone () const =0 |
| virtual bool | ParseProperty (const char *prop, const char *sval) |
| Profile (ProfileType type, const char *name) | |
Protected Attributes | |
| GenderType | Gender |
| float | IPD |
| float | PlayerHeight |
Friends | |
| class | ProfileManager |
Definition at line 107 of file OVR_Profile.h.
| anonymous enum |
Definition at line 110 of file OVR_Profile.h.
Definition at line 112 of file OVR_Profile.h.
| OVR::Profile::Profile | ( | ProfileType | type, |
| const char * | name | ||
| ) | [protected] |
Definition at line 546 of file OVR_Profile.cpp.
| virtual Profile* OVR::Profile::Clone | ( | ) | const [protected, pure virtual] |
Implemented in OVR::RiftDK1Profile.
| float OVR::Profile::GetEyeHeight | ( | ) |
Definition at line 590 of file OVR_Profile.cpp.
| GenderType OVR::Profile::GetGender | ( | ) | [inline] |
Definition at line 129 of file OVR_Profile.h.
| float OVR::Profile::GetIPD | ( | ) | [inline] |
Definition at line 131 of file OVR_Profile.h.
| float OVR::Profile::GetPlayerHeight | ( | ) | [inline] |
Definition at line 130 of file OVR_Profile.h.
| bool OVR::Profile::ParseProperty | ( | const char * | prop, |
| const char * | sval | ||
| ) | [protected, virtual] |
Reimplemented in OVR::RiftDK1Profile.
Definition at line 556 of file OVR_Profile.cpp.
| void OVR::Profile::SetGender | ( | GenderType | gender | ) | [inline] |
Definition at line 134 of file OVR_Profile.h.
| void OVR::Profile::SetIPD | ( | float | ipd | ) | [inline] |
Definition at line 136 of file OVR_Profile.h.
| void OVR::Profile::SetPlayerHeight | ( | float | height | ) | [inline] |
Definition at line 135 of file OVR_Profile.h.
friend class ProfileManager [friend] |
Reimplemented in OVR::RiftDK1Profile.
Definition at line 145 of file OVR_Profile.h.
GenderType OVR::Profile::Gender [protected] |
Definition at line 123 of file OVR_Profile.h.
float OVR::Profile::IPD [protected] |
Definition at line 125 of file OVR_Profile.h.
| char OVR::Profile::Name[MaxNameLen] |
Definition at line 120 of file OVR_Profile.h.
float OVR::Profile::PlayerHeight [protected] |
Definition at line 124 of file OVR_Profile.h.
Definition at line 119 of file OVR_Profile.h.