This class implements a weighted as-rigid-as-possible mesh fitting algorithm that uses a point-to-plane metric.
More...
#include <WeightedARAPFitter.h>
|
| | WeightedARAPFitter (Mesh< T > const &referenceMesh, T sigma) |
| | Constructs an object that can be used to fit the given reference mesh. More...
|
| |
| template<class DerivedV , class DerivedF > |
| | WeightedARAPFitter (Eigen::MatrixBase< DerivedV > const &V, Eigen::MatrixBase< DerivedF > const &F, T sigma) |
| | Constructs an object that can be used to fit the given reference mesh. More...
|
| |
| VertexMatrix< Scalar > | fit (VertexMatrix< Scalar > const &Y, VertexMatrix< Scalar > const &N, Eigen::Matrix< Scalar, Eigen::Dynamic, 1 > const &gamma) |
| | Fits the reference mesh to the given target vertices by minimizing the wiehgted point-to-plane distances under ARAP constraints. More...
|
| |
template<class T>
class CortidQCT::Internal::WeightedARAPFitter< T >
This class implements a weighted as-rigid-as-possible mesh fitting algorithm that uses a point-to-plane metric.
- Template Parameters
-
| T | Scalar type of the vertices |
Constructs an object that can be used to fit the given reference mesh.
- Parameters
-
| referenceMesh | The reference mesh |
template<class T>
template<class DerivedV , class DerivedF >
Constructs an object that can be used to fit the given reference mesh.
- Parameters
-
| V | The vertex matrix of the reference mesh (Nx3) |
| F | The facet matrix of the reference mesh (Mx3) |
template<class T >
| VertexMatrix< T > CortidQCT::Internal::WeightedARAPFitter< T >::fit |
( |
VertexMatrix< Scalar > const & |
Y, |
|
|
VertexMatrix< Scalar > const & |
N, |
|
|
Eigen::Matrix< Scalar, Eigen::Dynamic, 1 > const & |
gamma |
|
) |
| |
Fits the reference mesh to the given target vertices by minimizing the wiehgted point-to-plane distances under ARAP constraints.
- Parameters
-
| Y | Target vertex matrix (Nx3) |
| N | Target per-vertex normal matrix (Nx3) |
| gamma | Weight vector (Nx1) |
- Returns
- VertexMatrix (Nx3) representing the linear embedding of the deformed mesh
The documentation for this class was generated from the following files: