OSVR-Core
TransformsC.h
Go to the documentation of this file.
1 
13 /*
14 // Copyright 2015 Sensics, Inc.
15 //
16 // Licensed under the Apache License, Version 2.0 (the "License");
17 // you may not use this file except in compliance with the License.
18 // You may obtain a copy of the License at
19 //
20 // http://www.apache.org/licenses/LICENSE-2.0
21 //
22 // Unless required by applicable law or agreed to in writing, software
23 // distributed under the License is distributed on an "AS IS" BASIS,
24 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
25 // See the License for the specific language governing permissions and
26 // limitations under the License.
27 */
28 
29 #ifndef INCLUDED_TransformsC_h_GUID_5B5B7438_42D4_4095_E48A_90E2CC13498E
30 #define INCLUDED_TransformsC_h_GUID_5B5B7438_42D4_4095_E48A_90E2CC13498E
31 
32 /* Internal Includes */
33 #include <osvr/ClientKit/Export.h>
34 #include <osvr/Util/APIBaseC.h>
35 #include <osvr/Util/ReturnCodesC.h>
37 
38 /* Library/third-party includes */
39 /* none */
40 
41 /* Standard includes */
42 /* none */
43 
44 OSVR_EXTERN_C_BEGIN
45 
60 OSVR_CLIENTKIT_EXPORT OSVR_ReturnCode
62 
69 OSVR_CLIENTKIT_EXPORT OSVR_ReturnCode
71 
73 OSVR_EXTERN_C_END
74 
75 #endif
Header declaring a type and values for simple C return codes.
OSVR_CLIENTKIT_EXPORT OSVR_ReturnCode osvrClientSetRoomRotationUsingHead(OSVR_ClientContext ctx)
Updates the internal "room to world" transformation (applied to all tracker data for this client cont...
Definition: TransformsC.cpp:41
Header declaring opaque types used by Client and ClientKit.
OSVR_CLIENTKIT_EXPORT OSVR_ReturnCode osvrClientClearRoomToWorldTransform(OSVR_ClientContext ctx)
Clears/resets the internal "room to world" transformation back to an identity transformation - that i...
Definition: TransformsC.cpp:71
Header providing basic C macros for defining API headers.
Definition: ClientContext.h:50