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

Description

MasTrackable class contains the information of the tracked target.

Inherits NSObject.

Instance Methods

(instancetype) - init
 
(matrix_float4x4) - getPose
 Get a 4x4 matrix represening the pose of the tracked target. More...
 
(NSString *) - getName
 Get the name of the tracked target. More...
 
(NSString *) - getCloudName
 Get the name of the tracked cloud target. (It works only on Cloud Recognizer). More...
 
(float) - getWidth
 Get the width of the tracked target. More...
 
(float) - getHeight
 Get the height of the tracked target. More...
 
(NSString *) - getCloudMetaData
 Get the meta data of the tracked cloud target (It works only on Cloud Recognizer). More...
 

Method Documentation

◆ getCloudMetaData

- (NSString *) getCloudMetaData

Get the meta data of the tracked cloud target (It works only on Cloud Recognizer).

Returns
the meta data of the cloud target.

◆ getCloudName

- (NSString *) getCloudName

Get the name of the tracked cloud target. (It works only on Cloud Recognizer).

Returns
the name of the cloud target.

◆ getHeight

- (float) getHeight

Get the height of the tracked target.

Returns
the target height

◆ getName

- (NSString *) getName

Get the name of the tracked target.

Returns
the target name

◆ getPose

- (matrix_float4x4) getPose

Get a 4x4 matrix represening the pose of the tracked target.

MAXST AR obeys the right-handed coordinated system same as OpenGL.

Returns
a 4x4 projection matrix stored in column-major order.

◆ getWidth

- (float) getWidth

Get the width of the tracked target.

Returns
the target width

◆ init

- (instancetype) init: (void*)  trackable