|
FaceGen 3 SDKs Reference
|
FaceGen 3 Statistical Shape Model. More...
#include <Fg3Sam.hpp>
Public Member Functions | |
| Ssm3 () | |
| Asymmetric shape modes (by mode then by vertex). Can be empty. | |
| Ssm3 (String8 const &baseName) | |
| Loads a SSM from all applicable file types starting with 'baseName': | |
| Ssm3 (Vec3Fs const &allVerts) | |
| Ssm3 (Vec3Fs const &allVerts, String8 const &egmFile) | |
| Ssm3 (Vec3Fs const &allVerts, size_t numSymm, size_t numAsym) | |
| bool | empty () const |
| No valid data currently loaded: | |
| size_t | numModes () const |
| void | applyCoord_ (Floats const &coord, Vec3Fs &allVerts) const |
| void | applyCoord_ (Floats const &symm, Floats const &asym, Vec3Fs &allVerts) const |
| Calculate vertex positions given just the shape components of a face coordinate and save to 'allVerts': | |
| void | applyCoord_ (Sam3Coord const &coord, Vec3Fs &allVerts) const |
| Calculate the vertex positions for a given face coordinate and save to 'allVerts'. | |
| Vec3Fs | applyCoord (Sam3Coord const &coord) const |
| Functional version: | |
| void | saveModes (String8 const &filename) const |
| void | loadModes (String8 const &filename) |
| Save modes to .EGM format. | |
| void | transform (SimilarityD const &sim) |
Public Attributes | |
| Vec3Fs | meanVerts |
| Vec3Fss | symmModes |
| Base shape. Can be empty. | |
| Vec3Fss | asymModes |
| Symmetric shape modes (by mode then by vertex). Can be empty. | |
FaceGen 3 Statistical Shape Model.
Definition at line 38 of file Fg3Sam.hpp.
|
inline |
Asymmetric shape modes (by mode then by vertex). Can be empty.
Definition at line 45 of file Fg3Sam.hpp.
|
inlineexplicit |
Definition at line 48 of file Fg3Sam.hpp.
|
inline |
Definition at line 50 of file Fg3Sam.hpp.
|
inline |
Functional version:
Definition at line 63 of file Fg3Sam.hpp.
| void Fg::Ssm3::applyCoord_ | ( | Floats const & | coord, |
| Vec3Fs & | allVerts | ||
| ) | const |
For all 'apply' funcs below, be sure to use 'updateAllVerts()' to update the mesh with 'allVerts': Apply both symm and asym coefficients as a single shape coordinate:
|
inline |
No valid data currently loaded:
Definition at line 53 of file Fg3Sam.hpp.
|
inline |
Definition at line 54 of file Fg3Sam.hpp.
| Vec3Fss Fg::Ssm3::asymModes |
Symmetric shape modes (by mode then by vertex). Can be empty.
Definition at line 42 of file Fg3Sam.hpp.
| Vec3Fs Fg::Ssm3::meanVerts |
Definition at line 40 of file Fg3Sam.hpp.
| Vec3Fss Fg::Ssm3::symmModes |
Base shape. Can be empty.
Definition at line 41 of file Fg3Sam.hpp.