26 #define VISAGE_DECLSPEC 30 #define VISAGE_DECLSPEC __declspec(dllexport) 32 #define VISAGE_DECLSPEC __declspec(dllimport) 115 animated = normalizing = 0;
129 animated = fp.animated;
130 normalizing = fp.normalizing;
146 animated = fp.animated;
147 normalizing = fp.normalizing;
205 FDP(
const FDP& featurePoints );
211 FDP(
const char *fn );
221 FDP& operator=(
const FDP& featurePoints );
230 int readFromFile(
const char *name);
236 void createNewFile(
const char *name);
242 void saveToFile()
const;
248 void saveToFile(
const char *fileName);
288 const float* getFPPos(
int group,
int n)
const;
295 const float* getFPPos(
const char *name)
const;
304 float getFPQuality(
int group,
int n)
const;
311 float getFPQuality(
const char *name)
const;
319 void setFPQuality(
int group,
int n,
const float quality);
326 void setFPQuality(
const char *name,
const float quality);
334 void setFPPos(
int group,
int n,
const float *pos);
341 void setFPPos(
const char *name,
const float *pos);
351 void setFPPos(
int group,
int n,
float x,
float y,
float z);
360 void setFPPos(
const char *name,
float x,
float y,
float z);
370 bool getFPSurfVert(
int group,
int n, std::string& surf,
int& vert )
const;
379 bool getFPSurfVert(
const char* name, std::string& surf,
int& vert )
const;
388 void setFPSurfVert(
int group,
int n,
const std::string& surf,
int vert);
396 void setFPSurfVert(
const char *name,
const std::string& surf,
int vert);
413 bool FPIsDefined(
int group,
int n )
const;
422 bool FPIsDefined(
const std::string& name )
const;
432 bool FPIsDetected(
int group,
int n)
const;
441 bool FPIsDetected(
const std::string& name)
const;
447 bool isNormalized()
const;
452 bool isInitialized()
const;
458 static const int FP_START_GROUP_INDEX = 2;
464 static const int FP_END_GROUP_INDEX = 17;
469 static const int FP_NUMBER_OF_GROUPS = 16;
481 float MNS0,ENS0,ES0,MW0,IRISD0;
513 static void parseFPName(
const std::string& name,
int& group,
int& n );
523 static std::string getFPName(
int group,
int n );
533 static bool FPIsValid(
int group,
int n );
543 static bool FPIsValid(
const std::string& name );
545 enum pointTypes { PT_LEFT = 1, PT_CENTRAL = 2, PT_RIGHT = 3, PT_UNDEFINED = -1 };
547 static pointTypes getPointType(
int group,
int index);
554 static const int groupSizes[FP_NUMBER_OF_GROUPS];
566 static int groupSize(
int group );
577 static int getMirrorPointIndex(
int group,
int index);
int detected
Set with regards to the tracking algorithm used.
Objective-C wrapper of the VisageSDK::FeaturePoint class.
int defined
Set with regards to the 3D model used.
int detected
Set with regards to the tracking algorithm used.
std::string surf
Identifier of the polygon mesh (surface) to which the vertex corresponding to the feature point belon...
int defined
Set with regards to the 3D model used.
float quality
Information about the accuracy of the tracking algorithm for this feature point in the current frame.
int vert
Identifier of the vertex to which the vertex corresponding to the feature point belongs.
int vert
Identifier of the vertex to which the vertex corresponding to the feature point belongs.
float quality
Information about the accuracy of the tracking algorithm for this feature point in the current frame.
NSString * surf
Identifier of the polygon mesh (surface) to which the vertex corresponding to the feature point belon...
Feature points of a face.