MaxstAR Native Android  5.0.2
List of all members | Public Member Functions
com.maxst.ar.TrackingResult Class Reference

Description

TrackingResult 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.

Public Member Functions

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

Member Function Documentation

◆ getCount()

int com.maxst.ar.TrackingResult.getCount ( )

Get the number of the currently tracked targets.

Returns
the number of the currently tracked targets

◆ getTrackable()

Trackable com.maxst.ar.TrackingResult.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