MaxstAR Native iOS  5.0.2
List of all members | Instance Methods
MasTrackingResult Class Reference

Description

MasTrackingResult class stores the tracking result.

The information of tracked targets is stored as Trackable class. The tracking result contains Trackable instances corresponding to the currently tracked targets.

Inherits NSObject.

Instance Methods

(instancetype) - init
 
(MasTrackable *) - getTrackable
 Get a Trackable instance of the target corresponding to the index. The index should be from 0 to getCount-1. More...
 
(int) - getCount
 Get the number of the currently tracked targets. More...
 

Method Documentation

◆ getCount

- (int) getCount

Get the number of the currently tracked targets.

Returns
the number of the currently tracked targets

◆ getTrackable

- (MasTrackable *) getTrackable: (int)  index

Get a Trackable instance of the target corresponding to the index. The index should be from 0 to getCount-1.

Parameters
indextarget index
Returns
Trackable class instance

◆ init

- (instancetype) init: (void*)  trackingResult