Wrapper for a viewer and eye bound to a display config. DOES NOT provide lifetime management for the associated display config! More...
#include <osvr/ClientKit/Display.h>
Public Member Functions | |
bool | getPose (OSVR_Pose3 &pose) |
Attempt to get the eye pose. More... | |
bool | getViewMatrix (OSVR_MatrixConventions flags, double mat[OSVR_MATRIX_SIZE]) |
Attempt to get the view matrix. More... | |
bool | getViewMatrix (OSVR_MatrixConventions flags, float mat[OSVR_MATRIX_SIZE]) |
Child-related methods | |
OSVR_SurfaceCount | getNumSurfaces () const |
Surface | getSurface (OSVR_SurfaceCount surface) const |
Iteration methods | |
template<typename F > | |
void | forEachSurface (F OSVR_CLIENTKIT_FUNCTOR_REF functor) |
Identification getters | |
OSVR_DisplayConfig | getDisplayConfig () const |
OSVR_ViewerCount | getViewerID () const |
OSVR_EyeCount | getEyeID () const |
Related Functions | |
(Note that these are not member functions.) | |
bool | operator== (Eye const &lhs, Eye const &rhs) |
Equality operator for clientkit::Eye. More... | |
bool | operator!= (Eye const &lhs, Eye const &rhs) |
Inequality operator for clientkit::Eye. More... | |
Wrapper for a viewer and eye bound to a display config. DOES NOT provide lifetime management for the associated display config!
|
inline |
|
inline |
|
inline |
|
inline |