diff options
author | Brad Davis <[email protected]> | 2014-10-24 12:56:30 -0700 |
---|---|---|
committer | Brad Davis <[email protected]> | 2014-10-24 12:56:30 -0700 |
commit | 496894ecced1b0a4ae5ab176902bbd0f43a31ed1 (patch) | |
tree | 8b7d4be1fc8508253d399d98da6143212ceb8f3c /LibOVR/Src/Tracking/Tracking_SensorStateReader.h | |
parent | 911239601768bacf9420ab9cfeffed7e861844ac (diff) |
Updating to 0.4.3 SDK0.4.3-official
Diffstat (limited to 'LibOVR/Src/Tracking/Tracking_SensorStateReader.h')
-rw-r--r-- | LibOVR/Src/Tracking/Tracking_SensorStateReader.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/LibOVR/Src/Tracking/Tracking_SensorStateReader.h b/LibOVR/Src/Tracking/Tracking_SensorStateReader.h index 53b6efe..c2922c8 100644 --- a/LibOVR/Src/Tracking/Tracking_SensorStateReader.h +++ b/LibOVR/Src/Tracking/Tracking_SensorStateReader.h @@ -5,16 +5,16 @@ Content : Separate reader component that is able to recover sensor pose Created : June 4, 2014 Authors : Chris Taylor -Copyright : Copyright 2014 Oculus VR, Inc. All Rights reserved. +Copyright : Copyright 2014 Oculus VR, LLC All Rights reserved. -Licensed under the Oculus VR Rift SDK License Version 3.1 (the "License"); +Licensed under the Oculus VR Rift SDK License Version 3.2 (the "License"); you may not use the Oculus VR Rift SDK except in compliance with the License, which is provided at the time of installation or download, or which otherwise accompanies this software in either electronic or hard copy form. You may obtain a copy of the License at -http://www.oculusvr.com/licenses/LICENSE-3.1 +http://www.oculusvr.com/licenses/LICENSE-3.2 Unless required by applicable law or agreed to in writing, the Oculus VR SDK distributed under the License is distributed on an "AS IS" BASIS, @@ -70,8 +70,15 @@ public: // Get the sensor status (same as GetSensorStateAtTime(...).Status) uint32_t GetStatus() const; - void LoadProfileCenteredFromWorld(Profile* profile); - void SaveProfileCenteredFromWorld(Profile* profile); + const Posed getCenteredFromWorld() + { + return CenteredFromWorld; + } + + void setCenteredFromWorld(const Posed _CenteredFromWorld) + { + CenteredFromWorld = _CenteredFromWorld; + } }; |