A type of Tracker that tracks scanned physical environments.
An AreaTracker tracks AreaTargets.
The data for these Trackable instances is stored in DataSet instances, which are owned and managed by the AreaTracker.
The AreaTracker class provides methods for creating, activating and deactivating DataSets.
If you do need to call these methods during execution, the suggested way of doing so is via the UpdateCallback mechanism, as the callback is done at a point where the AreaTracker is guaranteed to be idle. Alternatively, the AreaTracker can be explicitly stopped and then restarted. However this is a very expensive operation.
Public Member Functions | |
virtual DataSet * | createDataSet ()=0 |
Create an empty DataSet. More... | |
virtual bool | destroyDataSet (DataSet *dataset)=0 |
Destroy the given DataSet and release allocated resources. More... | |
virtual bool | activateDataSet (DataSet *dataset)=0 |
Activate the given DataSet. More... | |
virtual bool | deactivateDataSet (DataSet *dataset)=0 |
Deactivate the given DataSet. More... | |
virtual List< DataSet > | getActiveDataSets ()=0 |
Provides access to the list of currently active datasets. More... | |
Public Member Functions inherited from Tracker | |
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 () |
Returns the Type for class 'AreaTracker'. More... | |
Static Public Member Functions inherited from Tracker | |
static Type | getClassType () |
Get the Type for class 'Tracker'. More... | |
|
static |
Returns the Type for class 'AreaTracker'.
|
pure virtual |
Create an empty DataSet.
Use destroyDataSet() to destroy a DataSet that is no longer needed.
|
pure virtual |
|
pure virtual |
Activate the given DataSet.
|
pure virtual |
Deactivate the given DataSet.