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

Description

MasGuideInfo class stores guide information concerning Object Tracker.

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

Inherits NSObject.

Instance Methods

(instancetype) - init
 
(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...
 
(NSMutableArray< MasTagAnchor * > *) - getTagAnchors
 Get anchors of a scanned object. More...
 
(int) - getTagAnchorCount
 Get the number of anchors of a scanned object. More...
 

Method Documentation

◆ getBoundingBox

- (float *) 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 *) 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) getGuideFeatureCount

Get the number of features for guide.

Returns
feature point count

◆ getTagAnchorCount

- (int) getTagAnchorCount

Get the number of anchors of a scanned object.

Returns
the number of anchors

◆ getTagAnchors

- (NSMutableArray< MasTagAnchor * > *) getTagAnchors

Get anchors of a scanned object.

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

Returns
buffer including bounding box information

◆ init

- (instancetype) init: (void *)  guideInfo