PolyFEM
|
#include <BSplineParametrization.hpp>
Public Member Functions | |
BSplineParametrization3D (const Eigen::MatrixXd &control_points, const Eigen::MatrixXd &knots_u, const Eigen::MatrixXd &knots_v, const Eigen::MatrixXd &V) | |
int | vertex_size () override |
void | get_parameters (const Eigen::MatrixXd &V, Eigen::MatrixXd &control_points, const bool mesh_changed) override |
void | reparametrize (const Eigen::MatrixXd &control_points, Eigen::MatrixXd &newV) override |
void | derivative_wrt_params (const Eigen::VectorXd &grad_boundary, Eigen::VectorXd &grad_control_points) override |
Public Member Functions inherited from polyfem::BSplineParametrization | |
BSplineParametrization (const Eigen::MatrixXd &V) | |
virtual | ~BSplineParametrization ()=default |
Static Public Member Functions | |
static void | gradient (const Eigen::MatrixXd &point, const Eigen::MatrixXd &control_points, const Eigen::MatrixXd &uv_parameter, const double distance, Eigen::MatrixXd &grad) |
static void | eval (const Eigen::MatrixXd &control_points, const Eigen::MatrixXd &uv_parameter, Eigen::MatrixXd &val) |
static void | deriv (const Eigen::MatrixXd &control_points, const Eigen::MatrixXd &uv_parameter, Eigen::MatrixXd &deriv_u, Eigen::MatrixXd &deriv_v) |
Private Attributes | |
std::vector< int > | node_ids_ |
std::map< int, Eigen::MatrixXd > | node_id_to_param_ |
const int | dim |
nanospline::BSplinePatch< double, 3, 3, 3 > | patch |
Additional Inherited Members | |
Protected Attributes inherited from polyfem::BSplineParametrization | |
int | num_vertices |
Definition at line 54 of file BSplineParametrization.hpp.
polyfem::BSplineParametrization3D::BSplineParametrization3D | ( | const Eigen::MatrixXd & | control_points, |
const Eigen::MatrixXd & | knots_u, | ||
const Eigen::MatrixXd & | knots_v, | ||
const Eigen::MatrixXd & | V | ||
) |
Definition at line 136 of file BSplineParametrization.cpp.
References dim, polyfem::log_and_throw_error(), polyfem::logger(), node_id_to_param_, node_ids_, patch, and V.
|
static |
Definition at line 269 of file BSplineParametrization.cpp.
References patch.
|
overridevirtual |
Implements polyfem::BSplineParametrization.
Definition at line 226 of file BSplineParametrization.cpp.
References dim, node_id_to_param_, node_ids_, and patch.
|
static |
Definition at line 261 of file BSplineParametrization.cpp.
|
overridevirtual |
Implements polyfem::BSplineParametrization.
Definition at line 179 of file BSplineParametrization.cpp.
References dim, node_id_to_param_, node_ids_, patch, and V.
|
static |
Definition at line 251 of file BSplineParametrization.cpp.
|
overridevirtual |
Implements polyfem::BSplineParametrization.
Definition at line 211 of file BSplineParametrization.cpp.
References dim, node_id_to_param_, node_ids_, and patch.
|
inlineoverridevirtual |
Implements polyfem::BSplineParametrization.
Definition at line 59 of file BSplineParametrization.hpp.
References node_id_to_param_.
|
private |
Definition at line 75 of file BSplineParametrization.hpp.
Referenced by BSplineParametrization3D(), derivative_wrt_params(), get_parameters(), and reparametrize().
|
private |
Definition at line 74 of file BSplineParametrization.hpp.
Referenced by BSplineParametrization3D(), derivative_wrt_params(), get_parameters(), reparametrize(), and vertex_size().
|
private |
Definition at line 73 of file BSplineParametrization.hpp.
Referenced by BSplineParametrization3D(), derivative_wrt_params(), get_parameters(), and reparametrize().
|
private |
Definition at line 76 of file BSplineParametrization.hpp.
Referenced by BSplineParametrization3D(), deriv(), derivative_wrt_params(), eval(), get_parameters(), gradient(), and reparametrize().