cgv
|
a trackable knows whether it is tracked and its 6d pose stored as 3x4 matrix in column major format More...
#include <vr_state.h>
Public Member Functions | |
bool | operator== (const vr_trackable_state &state) const |
equality check | |
vr_trackable_state () | |
standard constructor for initialization of members | |
Public Attributes | |
VRStatus | status |
whether trackable is currently tracked, only in case of true, the pose member contains useful information | |
float | pose [12] |
pose as 3x4 matrix in column major format, where each column is a vector in world coordinates | |
a trackable knows whether it is tracked and its 6d pose stored as 3x4 matrix in column major format
provides vr_trackable_state::status as vr::VRStatus and vr_trackable_state::pose of a trackable sub device where the pose is stored in a 3x4 column major format
Definition at line 93 of file vr_state.h.
vr::vr_trackable_state::vr_trackable_state | ( | ) |
standard constructor for initialization of members
Definition at line 5 of file vr_state.cxx.
References pose, status, and vr::VRS_DETACHED.
bool vr::vr_trackable_state::operator== | ( | const vr_trackable_state & | state | ) | const |
equality check
Definition at line 44 of file vr_state.cxx.
Referenced by vr::vr_controller_state::operator==().
float vr::vr_trackable_state::pose[12] |
pose as 3x4 matrix in column major format, where each column is a vector in world coordinates
Definition at line 104 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_view_interactor::handle(), vr::vr_log::log_vr_state(), operator==(), vr::vr_controller_state::put_ray(), vr::vr_kit::query_state(), vr_emulated_kit::query_state_impl(), vr_emulator::update_reference_states(), and vr_trackable_state().
VRStatus vr::vr_trackable_state::status |
whether trackable is currently tracked, only in case of true, the pose member contains useful information
Definition at line 96 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::vr_log::log_vr_state(), operator==(), vr::vr_kit::query_state(), vr_emulator::update_reference_states(), and vr_trackable_state().