Face3d
Face3D::FaceCoordinates3d Class Reference

#include <FaceCoordinates3d.hpp>

Public Types

enum  FacialPoints3d {
  LeftEye, RightEye, Mouth, Nose,
  Chin, FaceDimensions, TextureLeftEye, TextureRightEye,
  TextureChin, InvalidPoint
}
 

Public Member Functions

glm::vec3 getPoint (FacialPoints3d type) const
 
void fromFile (const std::string &fn)
 

Private Member Functions

glm::vec3 fileToPoint (std::ifstream &f)
 

Private Attributes

glm::vec3 m_Points [InvalidPoint]
 

Member Enumeration Documentation

the points which we've extracted so far

Enumerator
LeftEye 
RightEye 
Mouth 
Nose 
Chin 
FaceDimensions 
TextureLeftEye 
TextureRightEye 
TextureChin 
InvalidPoint 

Member Function Documentation

glm::vec3 Face3D::FaceCoordinates3d::fileToPoint ( std::ifstream &  f)
private

load a single point from a file

void Face3D::FaceCoordinates3d::fromFile ( const std::string &  fn)

ipc - deserialize data

glm::vec3 Face3D::FaceCoordinates3d::getPoint ( FacialPoints3d  type) const

specify the point (e.g. nose) and get 3d coordinates of it

Member Data Documentation

glm::vec3 Face3D::FaceCoordinates3d::m_Points[InvalidPoint]
private

3d coordinates of facial point (e.g. nose)


The documentation for this class was generated from the following files: