12 #import "objc_FeaturePoint.h" 21 @interface FDP : NSObject <NSCopying> {
32 - (
FDP *)initWithNativeFDP:(
void *)nativeFDP;
38 - (
FDP *)initWithFilename:(NSString *)name;
44 - (id)copyWithZone:(NSZone *)zone;
53 - (int)readFromFile:(NSString *)name;
59 - (void)createNewFile:(NSString *)name;
65 - (void)saveToFile:(NSString *)name;
95 - (void)setFP:(
int)group withIndex:(
int)n withFeaturePoint:(
FeaturePoint *)f;
102 - (void)setFP:(NSString *)name withFeaturePoint:(
FeaturePoint *)f;
111 - (const
float *)getFPPos:(
int)group withIndex:(
int)n;
118 - (const
float *)getFPPos:(NSString *)name;
127 - (float)getFPQuality:(
int)group withIndex:(
int)n;
134 - (float)getFPQuality:(NSString *)name;
142 - (void)setFPQuality:(
int)group withIndex:(
int)n withQuality:(
float)quality;
149 - (void)setFPQuality:(NSString *)name withQuality:(
float)quality;
157 - (void)setFPPos:(
int)group withIndex:(
int)n withPos:(NSArray *)pos;
164 - (void)setFPPos:(NSString *)name withPos:(NSArray *)pos;
174 - (void)setFPPos:(
int)group withIndex:(
int)n withX:(
float)x withY:(
float)y withZ:(
float)z;
183 - (void)setFPPos:(NSString *)name withX:(
float)x withY:(
float)y withZ:(
float)z;
193 - (bool)getFPSurfVert:(
int)group withIndex:(
int)n withSurface:(NSString *)surf withVertex:(
int)vert;
202 - (bool)getFPSurfVert:(NSString *)name withSurface:(NSString *)surf withVertex:(
int)vert;
211 - (void)setFPSurfVert:(
int)group withIndex:(
int)n withSurface:(NSString *)surf withVertex:(
int)vert;
218 - (void)setFPSurfVert:(NSString *)name withSurface:(NSString *)surf withVertex:(
int)vert;
235 - (bool)FPIsDefined:(
int)group withIndex:(
int)n;
244 - (bool)FPIsDefined:(NSString *)name;
254 - (bool)FPIsDetected:(
int)group withIndex:(
int)n;
263 - (bool)FPIsDetected:(NSString *)name;
268 - (bool) isNormalized;
273 - (bool) isInitialized;
282 + (void)parseFPName:(NSString *)name withGroup:(
int)group withIndex:(
int)n;
292 + (NSString *)getFPName:(
int)group withIndex:(
int)n;
302 + (bool)FPIsValid:(
int)group withIndex:(
int)n;
312 + (bool)FPIsValid:(NSString *) name;
314 typedef NS_ENUM(NSInteger, pointTypes) { PT_LEFT = 1, PT_CENTRAL = 2, PT_RIGHT = 3, PT_UNDEFINED = -1 };
316 + (pointTypes) getPointType:(
int) group withIndex:(
int) index;
326 + (int)groupSize:(
int)group;
336 + (int)getMirrorPointIndex:(
int)group withIndex:(
int)n;
Objective-C wrapper of the VisageSDK::FeaturePoint class.
Feature points of a face.
Objective-C wrapper of the VisageSDK::FDP class.