OSVR-Core
|
Wrapper for a viewer and eye bound to a display config. More...
#include <Display.h>
Public Member Functions | |
Eye (OSVR_DisplayConfig disp, OSVR_ViewerCount viewer, OSVR_EyeCount eye) | |
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 |
For each display surface seen by the given eye of the given viewer...
|
inline |
Attempt to get the eye pose.
|
inline |
Attempt to get the view matrix.
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.