PST SDK  5.2.0.0-0eac0f6
PSTech::pstsdk::Listener Class Reference

Abstract listener class for receiving tracking information. More...

#include <pstsdk_cpp.h>

Public Member Functions

virtual void OnTrackerData (TrackerData &data)
 Callback function receiving tracking information from the tracker. More...
 
virtual ~Listener ()
 

Detailed Description

Extend this class and implement its methods in order to receive tracking information from the PST Tracker. Extending this class is currently the only way to receive tracking information from the PST Tracker through the SDK.

See also
Tracker::AddTrackerListener()
Tracker::RemoveTrackerListener()
Examples
exposure.cpp, images.cpp, listener.cpp, minimal.cpp, reference.cpp, and trackingtarget.cpp.

Constructor & Destructor Documentation

◆ ~Listener()

virtual PSTech::pstsdk::Listener::~Listener ( )
inlinevirtual

Member Function Documentation

◆ OnTrackerData()

virtual void PSTech::pstsdk::Listener::OnTrackerData ( TrackerData data)
inlinevirtual

Implement the OnTrackerData method to receive tracking information from the PST Tracker.

Parameters
[out]dataA TrackerData object containing the detected tracking targets and 3D markers.
See also
TrackerData
Examples
exposure.cpp, images.cpp, listener.cpp, minimal.cpp, reference.cpp, and trackingtarget.cpp.

The documentation for this class was generated from the following file: