Added tutorial 403 and submodule bbw

Former-commit-id: a475a5d124
This commit is contained in:
Sebastian Koch
2016-07-14 11:59:56 +02:00
parent 8b9bb47883
commit ba5cfc10ba
14 changed files with 377 additions and 12 deletions
+18
View File
@@ -0,0 +1,18 @@
//#include <Eigen/Geometry>
//#include <Eigen/Dense>
//#include <Eigen/Sparse>
#include "../python_shared.h"
#include <igl/bbw/bbw.h>
void python_export_igl_bbw(py::module &me) {
py::module m = me.def_submodule(
"bbw", "Wrappers for libigl functions that use bbw");
#include "../py_igl/bbw/py_bbw.cpp"
}
+1
View File
@@ -1,5 +1,6 @@
py::class_<RotationList>(m, "RotationList")
.def(py::init<>())
.def(py::init<size_t>())
.def("pop_back", &RotationList::pop_back)
/* There are multiple versions of push_back(), etc. Select the right ones. */
.def("append", (void (RotationList::*)(const Eigen::Quaterniond &)) &RotationList::push_back)