12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- // This file is part of libigl, a simple c++ geometry processing library.
- //
- // Copyright (C) 2017 Sebastian Koch <s.koch@tu-berlin.de> and Daniele Panozzo <daniele.panozzo@gmail.com>
- //
- // This Source Code Form is subject to the terms of the Mozilla Public License
- // v. 2.0. If a copy of the MPL was not distributed with this file, You can
- // obtain one at http://mozilla.org/MPL/2.0/.
- // COMPLETE BINDINGS ========================
- m.def("deform_skeleton", []
- (
- const Eigen::MatrixXd& C,
- const Eigen::MatrixXi& BE,
- const Eigen::MatrixXd& T,
- Eigen::MatrixXd& CT,
- Eigen::MatrixXi& BET
- )
- {
- return igl::deform_skeleton(C, BE, T, CT, BET);
- }, __doc_igl_deform_skeleton,
- py::arg("C"), py::arg("BE"), py::arg("T"), py::arg("CT"), py::arg("BET"));
- // INCOMPLETE BINDINGS ========================
- //m.def("deform_skeleton", []
- //(
- // const Eigen::MatrixXd& C,
- // const Eigen::MatrixXi& BE,
- // std::vector<Eigen::Affine3d, Eigen::aligned_allocator<Eigen::Affine3d> > & vA,
- // Eigen::MatrixXd& CT,
- // Eigen::MatrixXi& BET
- //)
- //{
- // return igl::deform_skeleton(C, BE, vA, CT, BET);
- //}, __doc_igl_deform_skeleton,
- //py::arg("C"), py::arg("BE"), py::arg("vA"), py::arg("CT"), py::arg("BET"));
|