C++ Java Unity
Unity Reference
TrackerManager Class Reference

This class serves as a singleton to retrieve the Trackers and the StateManager More...

Inheritance diagram for TrackerManager:
ITrackerManager

Public Member Functions

bool DeinitTracker< T > ()
 Deinitializes the tracker of the given type and frees any resources used by the tracker. Deinitializing a tracker must not be done when the CameraDevice is initialized or started. This function will return false if the tracker of the given type has not been initialized or if the CameraDevice is currently initialized. More...
 
StateManager GetStateManager ()
 Returns the state manager instance that can be used to access all currently tracked TrackableBehaviours More...
 
GetTracker< T > ()
 Returns the instance of the given tracker type See the Tracker base class for a list of available tracker classes. This function will return null if the tracker of the given type has not been initialized. More...
 
InitTracker< T > ()
 Initializes the tracker of the given type Initializing a tracker must not be done when the CameraDevice is initialized or started. This function will return null if the CameraDevice is currently initialized. More...
 

Properties

static ITrackerManager Instance [get]
 Returns an instance of a TrackerManager (thread safe) More...
 

Detailed Description

This class serves as a singleton to retrieve the Trackers and the StateManager

Member Function Documentation

bool DeinitTracker< T > ( )

Deinitializes the tracker of the given type and frees any resources used by the tracker. Deinitializing a tracker must not be done when the CameraDevice is initialized or started. This function will return false if the tracker of the given type has not been initialized or if the CameraDevice is currently initialized.

Implements ITrackerManager.

Type Constraints
T :Tracker 
StateManager GetStateManager ( )

Returns the state manager instance that can be used to access all currently tracked TrackableBehaviours

Implements ITrackerManager.

T GetTracker< T > ( )

Returns the instance of the given tracker type See the Tracker base class for a list of available tracker classes. This function will return null if the tracker of the given type has not been initialized.

Implements ITrackerManager.

Type Constraints
T :Tracker 
T InitTracker< T > ( )

Initializes the tracker of the given type Initializing a tracker must not be done when the CameraDevice is initialized or started. This function will return null if the CameraDevice is currently initialized.

Implements ITrackerManager.

Type Constraints
T :Tracker 

Property Documentation

ITrackerManager Instance
staticget

Returns an instance of a TrackerManager (thread safe)