libigl v2.5.0
Loading...
Searching...
No Matches
bbw.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) 2013 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_BBW_H
9#define IGL_BBW_H
10#include "igl_inline.h"
11
12#include <Eigen/Dense>
13#include "active_set.h"
14
15namespace igl
16{
18 class BBWData
19 {
20 public:
25 Eigen::MatrixXd W0;
33 public:
38 };
39
56 template <
57 typename DerivedV,
58 typename DerivedEle,
59 typename Derivedb,
60 typename Derivedbc,
61 typename DerivedW>
63 const Eigen::PlainObjectBase<DerivedV> & V,
64 const Eigen::PlainObjectBase<DerivedEle> & Ele,
65 const Eigen::PlainObjectBase<Derivedb> & b,
66 const Eigen::PlainObjectBase<Derivedbc> & bc,
67 BBWData & data,
68 Eigen::PlainObjectBase<DerivedW> & W);
69}
70
71#ifndef IGL_STATIC_LIBRARY
72# include "bbw.cpp"
73#endif
74
75#endif
76
Container for BBW computation related data and flags.
Definition bbw.h:19
Eigen::MatrixXd W0
Initial guess.
Definition bbw.h:25
int verbosity
Verbosity level 0: quiet 1: loud 2: louder.
Definition bbw.h:32
void print()
Print current state of object.
igl::active_set_params active_set_params
Parameters for active set solver.
Definition bbw.h:27
bool partition_unity
Enforce partition of unity during optimization (optimize all weight simultaneously)
Definition bbw.h:23
#define IGL_INLINE
Definition igl_inline.h:15
Definition AABB.h:17
bool bbw(const Eigen::PlainObjectBase< DerivedV > &V, const Eigen::PlainObjectBase< DerivedEle > &Ele, const Eigen::PlainObjectBase< Derivedb > &b, const Eigen::PlainObjectBase< Derivedbc > &bc, BBWData &data, Eigen::PlainObjectBase< DerivedW > &W)
Compute Bounded Biharmonic Weights on a given domain (V,Ele) with a given set of boundary conditions.
Input parameters controling active_set.
Definition active_set.h:92