eos 1.4.0
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Friends | List of all members
eos::morphablemodel::Blendshape Struct Reference

A class representing a 3D blendshape. More...

#include <Blendshape.hpp>

Public Member Functions

template<class Archive >
void serialize (Archive &archive)
 

Public Attributes

std::string name
 Name of the blendshape.
 
Eigen::VectorXf deformation
 

Friends

class cereal::access
 

Detailed Description

A class representing a 3D blendshape.

A blendshape is a vector of offsets that transform the vertices of a given mesh or shape instance. Usually, a blendshape is associated with a deformation like a particular facial expression or a phoneme.

Member Function Documentation

◆ serialize()

template<class Archive >
void eos::morphablemodel::Blendshape::serialize ( Archive &  archive)
inline

Serialises this class using cereal.

Parameters
[in]archiveThe archive to serialise to (or to serialise from).

Member Data Documentation

◆ deformation

Eigen::VectorXf eos::morphablemodel::Blendshape::deformation

A 3m x 1 col-vector (xyzxyz...)', where m is the number of model-vertices. Has the same format as PcaModel::mean.


The documentation for this struct was generated from the following file: