Sense class which provides head pose tracking functionality to the SR system.
More...
#include <headposetracker.h>
Sense class which provides head pose tracking functionality to the SR system.
◆ create()
Creates a functional HeadPoseTracker instance.
- Parameters
-
context | is the environment in which created senses are kept track of |
- Returns
- HeadPoseTracker* which can provide streams of head pose data
The HeadPoseTracker class is abstract and requires a device specific implementation to be used in applications. This function constructs an HeadPoseTracker suitable for use in your application on the current device.
◆ openHeadPoseStream()
Creates a HeadPoseStream for listener
to be connected to.
- Parameters
-
listener | will receive head pose updates from now on |
- Returns
- std::shared_ptr<HeadPoseStream> to be used to close the stream correctly when it is no longer required
◆ streamClosed()
virtual void SR::HeadPoseTracker::streamClosed |
( |
HeadPoseStream * |
stream | ) |
|
|
pure virtual |
Closes a specific HeadPoseStream.
- Parameters
-
stream | will no longer supply headpose updates |
The documentation for this class was generated from the following file: