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

Description

GuideInfo class stores guide information concerning Object Tracker.

guide information includes a bounding box, feature points, and anchors.

Public Member Functions

int getGuideFeatureCount ()
 Get the number of features for guide. More...
 
float[] getGuideFeatureBuffer ()
 Get 2d screen positions of features for guide. More...
 
float[] getBoundingBox ()
 Get a bounding box of a scanned object. More...
 
TagAnchor[] getTagAnchors ()
 Get anchors of a scanned object. More...
 
int getTagAnchorCount ()
 Get the number of anchors of a scanned object. More...
 

Member Function Documentation

◆ getBoundingBox()

float [] com.maxst.ar.GuideInfo.getBoundingBox ( )

Get a bounding box of a scanned object.

This method returns a float array with 6 elements; the first three elements are position values and the last are scale values.

Returns
buffer including bounding box information

◆ getGuideFeatureBuffer()

float [] com.maxst.ar.GuideInfo.getGuideFeatureBuffer ( )

Get 2d screen positions of features for guide.

This method returns the positions as float array and its size is 2*getGuideFeatureCount().

Returns
buffer including 2d screen positions

◆ getGuideFeatureCount()

int com.maxst.ar.GuideInfo.getGuideFeatureCount ( )

Get the number of features for guide.

Returns
feature point count

◆ getTagAnchorCount()

int com.maxst.ar.GuideInfo.getTagAnchorCount ( )

Get the number of anchors of a scanned object.

Returns
the number of anchors

◆ getTagAnchors()

TagAnchor [] com.maxst.ar.GuideInfo.getTagAnchors ( )

Get anchors of a scanned object.

This method returns an anchor array. The array size is getTagAnchorCount().

Returns
buffer including bounding box information