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

Description

Trackable class contains the information of the tracked target.

Public Member Functions

String getName ()
 Get the name of the tracked target. More...
 
float getWidth ()
 Get the width of the tracked target. More...
 
float getHeight ()
 Get the height of the tracked target. More...
 
float[] getPoseMatrix ()
 Get a 4x4 matrix represening the pose of the tracked target. More...
 
String getCloudName ()
 Get the name of the tracked cloud target. (It works only on Cloud Recognizer). More...
 
String getCloudMetaData ()
 Get the meta data of the tracked cloud target (It works only on Cloud Recognizer). More...
 

Member Function Documentation

◆ getCloudMetaData()

String com.maxst.ar.Trackable.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()

String com.maxst.ar.Trackable.getCloudName ( )

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

Returns
the name of the cloud target.

◆ getHeight()

float com.maxst.ar.Trackable.getHeight ( )

Get the height of the tracked target.

Returns
the target height

◆ getName()

String com.maxst.ar.Trackable.getName ( )

Get the name of the tracked target.

Returns
the target name

◆ getPoseMatrix()

float [] com.maxst.ar.Trackable.getPoseMatrix ( )

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 com.maxst.ar.Trackable.getWidth ( )

Get the width of the tracked target.

Returns
the target width