libigl v2.5.0
Loading...
Searching...
No Matches
remesh_along_isoline.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) 2018 Alec Jacobson <alecjacobson@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_REMESH_ALONG_ISOLINE_H
9#define IGL_REMESH_ALONG_ISOLINE_H
10#include "igl_inline.h"
11
12#include <Eigen/Dense>
13#include <Eigen/Sparse>
14
15namespace igl
16{
32 template <
33 typename DerivedV,
34 typename DerivedF,
35 typename DerivedS,
36 typename DerivedU,
37 typename DerivedG,
38 typename DerivedJ,
39 typename BCtype,
40 typename DerivedSU,
41 typename DerivedL>
43 const Eigen::MatrixBase<DerivedV> & V,
44 const Eigen::MatrixBase<DerivedF> & F,
45 const Eigen::MatrixBase<DerivedS> & S,
46 const typename DerivedS::Scalar val,
47 Eigen::PlainObjectBase<DerivedU> & U,
48 Eigen::PlainObjectBase<DerivedG> & G,
49 Eigen::PlainObjectBase<DerivedSU> & SU,
50 Eigen::PlainObjectBase<DerivedJ> & J,
51 Eigen::SparseMatrix<BCtype> & BC,
52 Eigen::PlainObjectBase<DerivedL> & L);
55 template <
56 typename DerivedF,
57 typename DerivedS,
58 typename DerivedG,
59 typename DerivedJ,
60 typename BCtype,
61 typename DerivedSU,
62 typename DerivedL>
64 const int n,
65 const Eigen::MatrixBase<DerivedF> & F,
66 const Eigen::MatrixBase<DerivedS> & S,
67 const typename DerivedS::Scalar val,
68 Eigen::PlainObjectBase<DerivedG> & G,
69 Eigen::PlainObjectBase<DerivedSU> & SU,
70 Eigen::PlainObjectBase<DerivedJ> & J,
71 Eigen::SparseMatrix<BCtype> & BC,
72 Eigen::PlainObjectBase<DerivedL> & L);
73}
74
75#ifndef IGL_STATIC_LIBRARY
76# include "remesh_along_isoline.cpp"
77#endif
78
79#endif
#define IGL_INLINE
Definition igl_inline.h:15
Definition AABB.h:17
void remesh_along_isoline(const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixBase< DerivedF > &F, const Eigen::MatrixBase< DerivedS > &S, const typename DerivedS::Scalar val, Eigen::PlainObjectBase< DerivedU > &U, Eigen::PlainObjectBase< DerivedG > &G, Eigen::PlainObjectBase< DerivedSU > &SU, Eigen::PlainObjectBase< DerivedJ > &J, Eigen::SparseMatrix< BCtype > &BC, Eigen::PlainObjectBase< DerivedL > &L)
Given a triangle mesh and a scalar field, remesh so that a given isovalue of the scalar field follows...