makeup|SDK
makeup|SDK is a library based on visage|SDK face tracking used to configure and render virtual makeup.
Loading...
Searching...
No Matches
MakeupEngine.h
1#import "FeatureTemplate.h"
2#import "IMakeupObserver.h"
8@interface IApplicationLifecycleHandler : NSObject {
9}
10
15- (void)applicationWillResignActive;
16
21- (void)applicationDidBecomeActive;
22
27- (void)applicationWillEnterForeground;
28
33- (void)applicationDidEnterBackground;
34
35@end
36
47@interface MakeupEngine : NSObject {
48}
49
50#ifdef FRAMEWORK
51
56- (id)init:(const char *)licensePath;
57
62- (id)initWithLicense:(const char *)licensePath andMeshGenerator:(void *) meshGenerator;
63
67- (void)InitUnity;
68
69#else
70
71- (id)initWithLicense:(const char *)licensePath andMeshGenerator:(void *) meshGenerator;
72
73#endif
74
80- (void)AddObserver:(id<IMakeupObserver>)observer;
81
87- (FeatureTemplateRepository *)GetFeatures;
88
95- (void)CreateMakeup:(FeatureTemplate *)
96 featureTemplate:(FinishTemplate *)finishTemplate;
97
118- (void)CreateMakeup:(FeatureTemplate *)
119 featureTemplate:(FinishTemplate *)finishTemplate
120 :(NSArray *)boundingBox;
121
126- (void)DisplayMakeup:(Effect *)effect;
127
132- (void)UpdateMakeup:(Effect *)effect;
133
137- (void)ClearMakeup;
138
143- (void)HideMakeup:(Effect *)effect;
144
149- (void)RemoveMakeup:(Effect *)effect;
150
155- (void)Reset;
156
161- (void)SetCameraDevice:(unsigned int)id;
162
168- (FinishTemplateRepository *)GetFinishes;
169
170- (IApplicationLifecycleHandler *)GetLifecycleHandler;
171
179- (UIView *)GetView;
180
181@end
182
196}
197
205- (void)AddObserver:(id<IMakeUpObserver>)observer;
206
215- (void)CreateMakeUp:(FeatureTemplate *)
216 featureTemplate:(FinishTemplate *)finishTemplate;
217
238- (void)CreateMakeUp:(FeatureTemplate *)
239 featureTemplate:(FinishTemplate *)finishTemplate
240 :(NSArray *)boundingBox;
241
248- (void)DisplayMakeUp:(Effect *)effect;
249
256- (void)UpdateMakeUp:(Effect *)effect;
257
263- (void)ClearMakeUp;
264
271- (void)HideMakeUp:(Effect *)effect;
272
279- (void)RemoveMakeUp:(Effect *)effect;
280
281@end
282
Definition FeatureTemplate.h:740
Definition FeatureTemplate.h:503
Definition FeatureTemplate.h:551
Definition FeatureTemplate.h:226
Definition FeatureTemplate.h:274
Definition MakeupEngine.h:8
Definition MakeupEngine.h:195
Definition MakeupEngine.h:47