Nirkin Face Swap  0.9.0
Face swap.
face_swap::Mesh Struct Reference

Represents a 3D renderable shape. More...

#include <basel_3dmm.h>

Static Public Member Functions

static void save_ply (const Mesh &mesh, const std::string &ply_file)
 Save mesh to a ply file. More...
 

Public Attributes

cv::Mat vertices
 
cv::Mat colors
 
cv::Mat faces
 
cv::Mat uv
 
cv::Mat tex
 
cv::Mat normals
 

Detailed Description

Represents a 3D renderable shape.

Member Function Documentation

static void face_swap::Mesh::save_ply ( const Mesh mesh,
const std::string &  ply_file 
)
static

Save mesh to a ply file.

Parameters
meshThe mesh to write to file.
ply_fileThe name of the file (.ply)

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