libigl v2.5.0
Loading...
Searching...
No Matches
frame_field_deformer.h
Go to the documentation of this file.
1// This file is part of libigl, a simple c++ geometry processing library.
2//
3// Copyright (C) 2014 Daniele Panozzo <daniele.panozzo@gmail.com>
4//
5// This Source Code Form is subject to the terms of the Mozilla Public License
6// v. 2.0. If a copy of the MPL was not distributed with this file, You can
7// obtain one at http://mozilla.org/MPL/2.0/.
8#ifndef IGL_FRAME_FIELD_DEFORMER_H
9#define IGL_FRAME_FIELD_DEFORMER_H
10#include "igl_inline.h"
11
12#include <Eigen/Dense>
13
14namespace igl
15{
30 const Eigen::MatrixXd& V,
31 const Eigen::MatrixXi& F,
32 const Eigen::MatrixXd& FF1,
33 const Eigen::MatrixXd& FF2,
34 Eigen::MatrixXd& V_d,
35 Eigen::MatrixXd& FF1_d,
36 Eigen::MatrixXd& FF2_d,
37 const int iterations = 50,
38 const double lambda = 0.1,
39 const bool perturb_initial_guess = true);
40
41}
42
43#ifndef IGL_STATIC_LIBRARY
44# include "frame_field_deformer.cpp"
45#endif
46
47#endif
#define IGL_INLINE
Definition igl_inline.h:15
Definition AABB.h:17
void frame_field_deformer(const Eigen::MatrixXd &V, const Eigen::MatrixXi &F, const Eigen::MatrixXd &FF1, const Eigen::MatrixXd &FF2, Eigen::MatrixXd &V_d, Eigen::MatrixXd &FF1_d, Eigen::MatrixXd &FF2_d, const int iterations=50, const double lambda=0.1, const bool perturb_initial_guess=true)
Deform a mesh to transform the given per-face frame field to be as close as possible to a cross field...