cgv
|
structure that stores all information describing the state of a VR kit More...
#include <vr_state.h>
Public Member Functions | |
bool | operator== (const vr_kit_state &state) const |
check for equality | |
vr_kit_state () | |
standard constructor for initialization of members | |
Public Attributes | |
vr_trackable_state | hmd |
status and pose of hmd | |
vr_controller_state | controller [max_nr_controllers] |
status, pose, button, axes, and vibration information of up to vr::max_nr_controllers controller and tracker devices (first two are for left and right hand controllers) | |
structure that stores all information describing the state of a VR kit
simply combines state information on the vr_kit_state::hmd (vr::vr_trackable_state) and the two controllers vr_kit_state::controller[2] (vr::vr_controller_state).The controllers are always enumerated such that controller index 0 is the left and 1 the right controller.
Definition at line 138 of file vr_state.h.
vr::vr_kit_state::vr_kit_state | ( | ) |
standard constructor for initialization of members
Definition at line 32 of file vr_state.cxx.
bool vr::vr_kit_state::operator== | ( | const vr_kit_state & | state | ) | const |
vr_controller_state vr::vr_kit_state::controller[max_nr_controllers] |
status, pose, button, axes, and vibration information of up to vr::max_nr_controllers
controller and tracker devices (first two are for left and right hand controllers)
Definition at line 143 of file vr_state.h.
Referenced by vr_test::draw(), vr_view_interactor::draw_vr_kits(), cgv::gui::vr_server::emit_events_and_update_state(), vr_view_interactor::handle(), vr_test::handle(), vr::vr_log::log_vr_state(), operator==(), vr::vr_kit::query_state(), vr_emulated_kit::query_state_impl(), and vr_emulated_kit::set_vibration().
vr_trackable_state vr::vr_kit_state::hmd |
status and pose of hmd
Definition at line 141 of file vr_state.h.
Referenced by vr_view_interactor::draw_vr_kits(), cgv::gui::vr_server::emit_events_and_update_state(), vr::get_eye_projection_transform(), vr::get_world_to_camera_transform(), vr::get_world_to_eye_transform(), vr::vr_log::log_vr_state(), operator==(), vr::vr_kit::query_state(), and vr_emulated_kit::query_state_impl().