OSVR-Core
Functions
TransformsC.cpp File Reference

Implementation. More...

#include <osvr/ClientKit/TransformsC.h>
#include <osvr/ClientKit/InterfaceStateC.h>
#include <osvr/Common/ClientContext.h>
#include <osvr/Common/Transform.h>
#include <osvr/Client/InternalInterfaceOwner.h>
#include <osvr/Util/EigenInterop.h>
#include <osvr/Util/ExtractYaw.h>
#include <chrono>

Functions

OSVR_ReturnCode osvrClientSetRoomRotationUsingHead (OSVR_ClientContext ctx)
 Updates the internal "room to world" transformation (applied to all tracker data for this client context instance) based on the user's head orientation, so that the direction the user is facing becomes -Z to your application. More...
 
OSVR_ReturnCode osvrClientClearRoomToWorldTransform (OSVR_ClientContext ctx)
 Clears/resets the internal "room to world" transformation back to an identity transformation - that is, clears the effect of any other manipulation of the room to world transform. More...
 

Detailed Description

Implementation.

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