cgv
|
interface common to vr events More...
#include <vr_events.h>
Public Member Functions | |
vr_event_extension (void *_device_handle, const vr::vr_kit_state &_state) | |
construct extension from device handle and vr state | |
void * | get_device_handle () const |
return the device id, by default returns 0 | |
const vr::vr_kit_state & | get_state () const |
return the state of vr kit | |
Protected Attributes | |
void * | device_handle |
store device handle | |
const vr::vr_kit_state & | state |
access to current vr state | |
interface common to vr events
Definition at line 23 of file vr_events.h.
cgv::gui::vr_event_extension::vr_event_extension | ( | void * | _device_handle, |
const vr::vr_kit_state & | _state | ||
) |
construct extension from device handle and vr state
Definition at line 7 of file vr_events.cxx.
|
inline |
return the device id, by default returns 0
Definition at line 34 of file vr_events.h.
|
inline |
return the state of vr kit
Definition at line 36 of file vr_events.h.
Referenced by vr_test::handle().
|
protected |
store device handle
Definition at line 27 of file vr_events.h.
Referenced by cgv::gui::vr_key_event::stream_out(), cgv::gui::vr_throttle_event::stream_out(), cgv::gui::vr_stick_event::stream_out(), and cgv::gui::vr_pose_event::stream_out().
|
protected |
access to current vr state
Definition at line 29 of file vr_events.h.