17# ifdef COMPILING_DLL_SimulatedRealityFaceTrackers
18# define DIMENCOSR_API __declspec(dllexport)
20# define DIMENCOSR_API __declspec(dllimport)
40#pragma warning(suppress: 4251)
41 std::unique_ptr<Impl> pimpl;
86 virtual void stop()
override;
Interface for listening to SR_eyePair updates.
Definition: eyepairlistener.h:20
Sense class which provides face tracking functionality to the SR system.
Definition: eyetracker.h:40
Sense class which provides predictive weaver position tracking functionality.
Definition: predictingweavertracker.h:33
virtual void streamClosed(WeaverPositionStream *stream) override
Closes a specific WeaverPositionStream.
void predict(uint64_t latency)
Predict for a certain latency and trigger stream output Should not be used directly,...
~PredictingWeaverTracker()
void predict(uint64_t latency, SR_weaverPosition &output)
Predict for a certain latency and trigger stream output Should not be used directly,...
PredictingWeaverTracker(EyeTracker *rawEyeTracker)
Constructs a PredictingWeaverTracker.
virtual void accept(const SR_eyePair &frame) override
Receives SR_eyePair to filter and use in predictions.
virtual std::shared_ptr< WeaverPositionStream > openWeaverPositionStream(WeaverPositionListener *listener) override
Creates a WeaverPositionStream for listener to be connected to.
virtual std::string getDescription() override
Return a description of the sense.
static PredictingWeaverTracker * create(SRContext &context)
Returns a class of PredictingWeaverTracker.
virtual void start() override
Start continuous updates, default behaviour is defined in the updater() function.
virtual void stop() override
Stop continuous updates.
virtual std::string getName() override
Return the name of the sense.
Maintains WorldObject and Sense objects during the application lifetime.
Definition: srcontext.h:80
Interface for listening to SR_weaverPosition updates.
Definition: weaverpositionlistener.h:20
Stream of SR_weaverPosition objects.
Definition: weaverpositionstream.h:35
Sense class which provides weave tracking functionality to the SR system.
Definition: weavertracker.h:40
Namespace containing all C++ Simulated Reality classes.
Definition: srconfiguration.h:25
#define DIMENCOSR_API
Definition: predictingweavertracker.h:23
C-compatible struct containing the position of two eyes.
Definition: eyepair.h:28
C-compatible struct containing the weaver position.
Definition: weaverposition.h:20