Added PNG module and tutorial 607

Former-commit-id: c0e04685e2
This commit is contained in:
Sebastian Koch
2016-06-17 18:51:38 +02:00
parent 54d4e1a9e4
commit b275c3672a
11 changed files with 179 additions and 1 deletions
+10
View File
@@ -30,6 +30,10 @@ extern void python_export_igl_triangle(py::module &);
extern void python_export_igl_cgal(py::module &);
#endif
#ifdef PY_PNG
extern void python_export_igl_png(py::module &);
#endif
PYBIND11_PLUGIN(pyigl) {
py::module m("pyigl", R"pyigldoc(
Python wrappers for libigl
@@ -88,6 +92,8 @@ PYBIND11_PLUGIN(pyigl) {
per_face_normals
per_vertex_normals
planarize_quad_mesh
png_readPNG
png_writePNG
point_mesh_squared_distance
polar_svd
principal_curvature
@@ -142,5 +148,9 @@ PYBIND11_PLUGIN(pyigl) {
python_export_igl_cgal(m);
#endif
#ifdef PY_PNG
python_export_igl_png(m);
#endif
return m.ptr();
}