OSVR-Core  0.6-1962-g59773924
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Display.h File Reference

Header. More...

Go to the source code of this file.

Classes

class  osvr::clientkit::Surface
 Wrapper for a viewer, eye, and surface bound to a display config. DOES NOT provide lifetime management for the associated display config! More...
 
class  osvr::clientkit::Eye
 Wrapper for a viewer and eye bound to a display config. DOES NOT provide lifetime management for the associated display config! More...
 
class  osvr::clientkit::Viewer
 Wrapper for a viewer bound to a display config. DOES NOT provide lifetime management for the associated display config! More...
 
class  osvr::clientkit::DisplayConfig
 Class wrapping OSVR_DisplayConfig objects, optionally managing shared ownership. More...
 

Namespaces

 osvr
 The main namespace for all C++ elements of the framework, internal and external.
 
 osvr::clientkit
 Contains C++ header-only wrappers for the ClientKit C API.Use of these wrappers is optional: they duplicate functionality found in the C API as they are implemented in headers on top of the C API. However, they also provide a much cleaner, low-boilerplate interface for the most common operations.
 

Functions

UnderlyingDisplayConfigPtr osvr::clientkit::getDisplay (ClientContext &ctx)
 Get a shared_ptr to a DisplayConfig (with appropriate deleter pre-loaded)
 
Overloads taking output parameters by reference
OSVR_ReturnCode osvrClientGetNumViewers (OSVR_DisplayConfig disp, OSVR_ViewerCount &viewers)
 
OSVR_ReturnCode osvrClientGetNumEyesForViewer (OSVR_DisplayConfig disp, OSVR_ViewerCount viewer, OSVR_EyeCount &eyes)
 
OSVR_ReturnCode osvrClientGetNumSurfacesForViewerEye (OSVR_DisplayConfig disp, OSVR_ViewerCount viewer, OSVR_EyeCount eye, OSVR_SurfaceCount &surfaces)
 
OSVR_ReturnCode osvrClientGetRelativeViewportForViewerEyeSurface (OSVR_DisplayConfig disp, OSVR_ViewerCount viewer, OSVR_EyeCount eye, OSVR_SurfaceCount surface, OSVR_ViewportDimension &left, OSVR_ViewportDimension &bottom, OSVR_ViewportDimension &width, OSVR_ViewportDimension &height)
 

Detailed Description

Header.

Date
2015
Author
Sensics, Inc. http://sensics.com/osvr

Definition in file Display.h.