Wrapper for a viewer, eye, and surface bound to a display config. DOES NOT provide lifetime management for the associated display config!
More...
|
| Surface (OSVR_DisplayConfig disp, OSVR_ViewerCount viewer, OSVR_EyeCount eye, OSVR_SurfaceCount surface) |
|
RelativeViewport | getRelativeViewport () const |
| Gets the video-input-relative viewport corresponding to this surface. More...
|
|
void | getProjectionMatrix (double near, double far, OSVR_MatrixConventions flags, double matrix[OSVR_MATRIX_SIZE]) const |
| Gets the projection matrix. More...
|
|
void | getProjectionMatrix (float near, float far, OSVR_MatrixConventions flags, float matrix[OSVR_MATRIX_SIZE]) const |
|
ProjectionClippingPlanes | getProjectionClippingPlanes () const |
| Gets the clipping planes. More...
|
|
bool | isDistortionRequested () const |
| Determines if the description of the surface requests any distortion to be performed. More...
|
|
OSVR_DistortionPriority | getRadialDistortionPriority () |
| Get the priority/availability of radial distortion parameters for this surface. Negative values (canonically, OSVR_DISTORTION_PRIORITY_UNAVAILABLE) indicate that this distortion strategy is not available/parameterized for the surface in question. Larger values indicate more highly-preferred distortion strategies. More...
|
|
OSVR_RadialDistortionParameters | getRadialDistortion () |
| Get the radial distortion parameters. More...
|
|
|
OSVR_DisplayConfig | getDisplayConfig () const |
|
OSVR_ViewerCount | getViewerID () const |
|
OSVR_EyeCount | getEyeID () const |
|
OSVR_SurfaceCount | getSurfaceID () const |
|
Wrapper for a viewer, eye, and surface bound to a display config. DOES NOT provide lifetime management for the associated display config!
Definition at line 117 of file Display.h.