15 const MeshAttributeHandle<double>& vertex_uv_handle,
16 const image::Image& image);
19 const MeshAttributeHandle<double>& vertex_uv_handle,
20 const wmtk::image::SamplingAnalyticFunction::FunctionType type,
const Mesh & mesh() const
2D TriangleAMIPS uses uv and position map to get the 3d cooridnates then evaluate
DScalar get_value_autodiff(const Tuple &simplex) const override
utils::PositionMapEvaluator m_pos_evaluator
PositionMapAMIPS2D(const TriMesh &mesh, const MeshAttributeHandle< double > &vertex_uv_handle, const image::Image &image)
This is the implementation of the AMIPS energy function of a triangle mesh that can be embedded in 2d...
Automatic differentiation scalar with first- and second-order derivatives.