libigl v2.5.0
Loading...
Searching...
No Matches
arap_linear_block.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_ARAP_LINEAR_BLOCK_H
9#define IGL_ARAP_LINEAR_BLOCK_H
10#include "igl_inline.h"
11
12#include <Eigen/Sparse>
13#include "ARAPEnergyType.h"
14
15namespace igl
16{
46 template <typename MatV, typename MatF, typename MatK>
48 const MatV & V,
49 const MatF & F,
50 const int d,
51 const igl::ARAPEnergyType energy,
52 MatK & Kd);
65 template <typename MatV, typename MatF, typename MatK>
67 const MatV & V,
68 const MatF & F,
69 const int d,
70 MatK & Kd);
83 template <typename MatV, typename MatF, typename MatK>
85 const MatV & V,
86 const MatF & F,
87 const int d,
88 MatK & Kd);
101 template <typename MatV, typename MatF, typename MatK>
103 const MatV & V,
104 const MatF & F,
105 const int d,
106 MatK & Kd);
107}
108
109#ifndef IGL_STATIC_LIBRARY
110# include "arap_linear_block.cpp"
111#endif
112
113#endif
#define IGL_INLINE
Definition igl_inline.h:15
Definition AABB.h:17
void arap_linear_block_spokes_and_rims(const MatV &V, const MatF &F, const int d, MatK &Kd)
Constructs a block of the matrix which constructs the linear terms for spokes and rims energy.
void arap_linear_block_spokes(const MatV &V, const MatF &F, const int d, MatK &Kd)
Constructs a block of the matrix which constructs the linear terms for spokes energy.
void arap_linear_block(const MatV &V, const MatF &F, const int d, const igl::ARAPEnergyType energy, MatK &Kd)
Constructs a block of the matrix which constructs the linear terms of a given arap energy.
void arap_linear_block_elements(const MatV &V, const MatF &F, const int d, MatK &Kd)
Constructs a block of the matrix which constructs the linear terms for per element energy.
ARAPEnergyType
Enum for choosing ARAP energy type.
Definition ARAPEnergyType.h:14