cgv
Loading...
Searching...
No Matches
vr::vr_hmd_info Struct Reference

information provided for hmd device More...

#include <vr_info.h>

Inheritance diagram for vr::vr_hmd_info:
vr::vr_trackable_info vr::vr_device_info

Public Member Functions

 vr_hmd_info ()
 construct with default values
 
- Public Member Functions inherited from vr::vr_trackable_info
 vr_trackable_info ()
 construct with default values
 
- Public Member Functions inherited from vr::vr_device_info
 vr_device_info ()
 construct empty info
 

Public Attributes

bool reports_time_since_vsynch
 whether time since vsynch is reported
 
float seconds_vsynch_to_photons
 seconds from vsynch to photons
 
float fps
 frame rate
 
float ipd
 interpupilar distance measured in meters
 
float head_to_eye_distance
 distance from head origin to eye centers in meters
 
int32_t number_cameras
 number of cameras
 
bool lighthouse_2_0_features
 whether lighthouse 2.0 features are supported
 
- Public Attributes inherited from vr::vr_trackable_info
std::string device_type
 type name of device
 
int32_t device_class
 index of device class
 
bool is_wireless
 whether device is wireless
 
bool provides_battery_charge_level
 whether one can query battery charge level
 
float battery_charge_level
 battery charge level in percentage (0 .. empty, 1 .. full)
 
bool has_proximity_sensor
 whether device has proximity sensor
 
- Public Attributes inherited from vr::vr_device_info
std::string serial_number
 unique identifier of device
 
std::string model_number
 number describing the device type
 
std::map< std::string, std::string > variable_parameters
 a map from parameter name to parameter value used for all device parameters that are not explicitly defined
 

Detailed Description

information provided for hmd device

Definition at line 53 of file vr_info.h.

Constructor & Destructor Documentation

◆ vr_hmd_info()

vr::vr_hmd_info::vr_hmd_info ( )

construct with default values

Definition at line 39 of file vr_info.cxx.

References fps, head_to_eye_distance, ipd, lighthouse_2_0_features, number_cameras, reports_time_since_vsynch, and seconds_vsynch_to_photons.

Member Data Documentation

◆ fps

float vr::vr_hmd_info::fps

frame rate

Definition at line 60 of file vr_info.h.

Referenced by vr::operator<<(), and vr_hmd_info().

◆ head_to_eye_distance

float vr::vr_hmd_info::head_to_eye_distance

distance from head origin to eye centers in meters

Definition at line 64 of file vr_info.h.

Referenced by vr_hmd_info().

◆ ipd

float vr::vr_hmd_info::ipd

interpupilar distance measured in meters

Definition at line 62 of file vr_info.h.

Referenced by vr::operator<<(), and vr_hmd_info().

◆ lighthouse_2_0_features

bool vr::vr_hmd_info::lighthouse_2_0_features

whether lighthouse 2.0 features are supported

Definition at line 80 of file vr_info.h.

Referenced by vr::operator<<(), and vr_hmd_info().

◆ number_cameras

int32_t vr::vr_hmd_info::number_cameras

number of cameras

Definition at line 66 of file vr_info.h.

Referenced by vr::operator<<(), and vr_hmd_info().

◆ reports_time_since_vsynch

bool vr::vr_hmd_info::reports_time_since_vsynch

whether time since vsynch is reported

Definition at line 56 of file vr_info.h.

Referenced by vr::operator<<(), and vr_hmd_info().

◆ seconds_vsynch_to_photons

float vr::vr_hmd_info::seconds_vsynch_to_photons

seconds from vsynch to photons

Definition at line 58 of file vr_info.h.

Referenced by vr::operator<<(), and vr_hmd_info().


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