libigl v2.5.0
Loading...
Searching...
No Matches
extract_manifold_patches.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) 2016 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_EXTRACT_MANIFOLD_PATCHES
9#define IGL_EXTRACT_MANIFOLD_PATCHES
10
11#include "igl_inline.h"
12#include <Eigen/Dense>
13#include <vector>
14
15namespace igl {
26 template <
27 typename DerivedF,
28 typename DerivedEMAP,
29 typename DeriveduEC,
30 typename DeriveduEE,
31 typename DerivedP>
33 const Eigen::MatrixBase<DerivedF>& F,
34 const Eigen::MatrixBase<DerivedEMAP>& EMAP,
35 const Eigen::MatrixBase<DeriveduEC>& uEC,
36 const Eigen::MatrixBase<DeriveduEE>& uEE,
37 Eigen::PlainObjectBase<DerivedP>& P);
40 template <
41 typename DerivedF,
42 typename DerivedEMAP,
43 typename uE2EType,
44 typename DerivedP>
46 const Eigen::MatrixBase<DerivedF>& F,
47 const Eigen::MatrixBase<DerivedEMAP>& EMAP,
48 const std::vector<std::vector<uE2EType> >& uE2E,
49 Eigen::PlainObjectBase<DerivedP>& P);
51 template <
52 typename DerivedF,
53 typename DerivedP>
55 const Eigen::MatrixBase<DerivedF> &F,
56 Eigen::PlainObjectBase<DerivedP> &P);
57}
58#ifndef IGL_STATIC_LIBRARY
59# include "extract_manifold_patches.cpp"
60#endif
61
62#endif
#define IGL_INLINE
Definition igl_inline.h:15
Definition AABB.h:17
size_t extract_manifold_patches(const Eigen::MatrixBase< DerivedF > &F, const Eigen::MatrixBase< DerivedEMAP > &EMAP, const Eigen::MatrixBase< DeriveduEC > &uEC, const Eigen::MatrixBase< DeriveduEE > &uEE, Eigen::PlainObjectBase< DerivedP > &P)
Extract a set of maximal patches from a given mesh.