OSVR-Core
Classes | Namespaces | Typedefs | Functions
Display.h File Reference

Header. More...

#include <osvr/ClientKit/DisplayC.h>
#include <osvr/ClientKit/CppAPI.h>
#include <osvr/ClientKit/Context.h>
#include <osvr/Util/SharedPtr.h>

Go to the source code of this file.

Classes

struct  osvr::clientkit::RelativeViewport
 
struct  osvr::clientkit::ProjectionClippingPlanes
 
struct  osvr::clientkit::DisplayDimensions
 
class  osvr::clientkit::Surface
 Wrapper for a viewer, eye, and surface bound to a display config. More...
 
class  osvr::clientkit::Eye
 Wrapper for a viewer and eye bound to a display config. More...
 
class  osvr::clientkit::Viewer
 Wrapper for a viewer bound to a 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.
 

Typedefs

typedef shared_ptr< OSVR_DisplayConfigObjectosvr::clientkit::UnderlyingDisplayConfigPtr
 

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