C++ Java Unity
C++ Reference
Tracker Class Referenceabstract

Detailed Description

Base class for all Trackers.

A tracker is a core computing unit in the Vuforia API which tracks and reports the poses of objects and devices in the user's environment.

These objects may be represented by Trackables which may in turn use a DataSet containing data that Vuforia uses to find and track them.

Start a Tracker by calling start(). Once a Tracker has been started, it may produce one or more TrackableResults for an input camera frame. These TrackableResults are accessible via the State for that frame.

Inheritance diagram for Tracker:
NonCopyable AreaTracker DeviceTracker ObjectTracker SmartTerrain PositionalDeviceTracker

Public Member Functions

virtual Type getType () const =0
 Get the Type of this instance (may be a subclass of Tracker). More...
 
virtual bool isOfType (Type type) const =0
 Get whether this Tracker instance's type equals or has been derived from the given type. More...
 
virtual bool start ()=0
 Start the Tracker. More...
 
virtual void stop ()=0
 Stop the Tracker. More...
 
virtual ~Tracker ()
 

Static Public Member Functions

static Type getClassType ()
 Get the Type for class 'Tracker'. More...
 

Constructor & Destructor Documentation

virtual ~Tracker ( )
inlinevirtual

Member Function Documentation

static Type getClassType ( )
static

Get the Type for class 'Tracker'.

virtual Type getType ( ) const
pure virtual

Get the Type of this instance (may be a subclass of Tracker).

virtual bool isOfType ( Type  type) const
pure virtual

Get whether this Tracker instance's type equals or has been derived from the given type.

virtual bool start ( )
pure virtual

Start the Tracker.

virtual void stop ( )
pure virtual

Stop the Tracker.