Singleton for initializing, accessing, and deinitializing Tracker objects.
The TrackerManager singleton is available via TrackerManager::getInstance() immediately after calling Vuforia::init(). Use it to configure any trackers required by your app.
See the inheritance tree diagram in the Tracker base class for a list of available tracker types.
Public Member Functions | |
virtual Tracker * | initTracker (Type type)=0 |
Initialize and return the given Tracker, if it is not already initialized. More... | |
virtual Tracker * | getTracker (Type type)=0 |
Get the given Tracker. More... | |
virtual bool | deinitTracker (Type type)=0 |
Deinitialize (destroy) the given Tracker. More... | |
virtual StateUpdater & | getStateUpdater ()=0 |
Get the StateUpdater instance that provides State objects for the configured trackers. More... | |
Static Public Member Functions | |
static TrackerManager & | getInstance () |
Get the TrackerManager singleton instance. More... | |
|
static |
Get the TrackerManager singleton instance.
The TrackerManager instance is available immediately after Vuforia::init() has succeeded.
It is no longer available after calling Vuforia::deinit().
Initialize and return the given Tracker, if it is not already initialized.
This method will return NULL if
type | Which Tracker to initialize. See the inheritance tree diagram on the Tracker base class for a list of available Tracker types. |
|
pure virtual |
Deinitialize (destroy) the given Tracker.
Also frees any resources used by the Tracker.
This method can only be called while the CameraDevice is uninitialized.
type | Which Tracker to deinitialize. |
|
pure virtual |
Get the StateUpdater instance that provides State objects for the configured trackers.