MaxstARSDK  3.5.0
MasGuideInfo.mm
1 //
2 // MasGuideInfo.m
3 // MaxstARSDKFramework
4 //
5 // Created by Kimseunglee on 2018. 3. 21..
6 // Copyright © 2018년 Maxst. All rights reserved.
7 //
8 
9 #import "MasGuideInfo.h"
10 #include "GuideInfo.h"
11 
12 @interface MasGuideInfo()
13 {
14  maxstAR::GuideInfo *_guidInfo;
15 }
16 @end
17 
18 @implementation MasGuideInfo
19 
20 - (instancetype)init:(void*)guidInfo {
21  self = [super init];
22  if (self) {
23  _guidInfo = (maxstAR::GuideInfo*)guidInfo;
24  }
25  return self;
26 }
27 
28 
30  return _guidInfo->getInitializingProgress();
31 }
32 
34  return _guidInfo->getKeyframeCount();
35 }
36 
37 - (int) getFeatureCount {
38  return _guidInfo->getFeatureCount();
39 }
40 
41 - (float*) getFeatureBuffer {
42  return _guidInfo->getFeatureBuffer();
43 }
44 
45 @end
int getFeatureCount()
Definition: MasGuideInfo.mm:37
int getKeyframeCount()
Definition: MasGuideInfo.mm:33
float * getFeatureBuffer()
Definition: MasGuideInfo.mm:41
float getInitializingProgress()
Get a percentage of progress during an initialization step of SLAM.
Definition: MasGuideInfo.mm:29