libigl v2.5.0
Loading...
Searching...
No Matches
scaf.h File Reference
#include "../slim.h"
#include "../igl_inline.h"
#include "../MappingEnergyType.h"
#include "scaf.cpp"

Go to the source code of this file.

Classes

struct  igl::triangle::SCAFData
 Use a similar interface to igl::slim Implement ready-to-use 2D version of the algorithm described in SCAF: Simplicial Complex Augmentation Framework for Bijective Maps Zhongshi Jiang, Scott Schaefer, Daniele Panozzo, ACM Trancaction on Graphics (Proc. More...
 

Namespaces

namespace  igl
 
namespace  igl::triangle
 
namespace  igl::triangle::scaf
 

Functions

void igl::triangle::scaf_precompute (const Eigen::MatrixXd &V, const Eigen::MatrixXi &F, const Eigen::MatrixXd &V_init, triangle::SCAFData &data, MappingEnergyType slim_energy, Eigen::VectorXi &b, Eigen::MatrixXd &bc, double soft_p)
 Compute necessary information to start using SCAF.
 
Eigen::MatrixXd igl::triangle::scaf_solve (triangle::SCAFData &data, int iter_num)
 Run iter_num iterations of SCAF, with precomputed data.
 
void igl::triangle::scaf_system (triangle::SCAFData &s, Eigen::SparseMatrix< double > &L, Eigen::VectorXd &rhs)
 Set up the SCAF system L * uv = rhs, without solving it.
 
double igl::triangle::scaf::compute_energy (SCAFData &s, const Eigen::MatrixXd &w_uv, bool whole)
 Compute SCAF energy.