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, const MappingEnergyType slim_energy, const Eigen::VectorXi &b, const Eigen::MatrixXd &bc, const double soft_p, triangle::SCAFData &data)
 Compute necessary information to start using SCAF.
Eigen::MatrixXd igl::triangle::scaf_solve (const int iter_num, triangle::SCAFData &data)
 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.