Commit Graph
53 Commits
Author SHA1 Message Date
Nico Brügel 4b26fb3799 Make adjacency_matrix available within python by adding required bindings.
Former-commit-id: 5350ef0cc1
2018-05-14 10:13:14 +02:00
Janis Born c68759b41d add Python bindings for shape_diameter_function
Former-commit-id: ad61b3abe2
2018-04-13 11:30:08 +02:00
Daniele Panozzo 44b048d28e Merge branch 'libdirectional_migration'
# Conflicts:
#	include/igl/integrable_polyvector_fields.h
#	include/igl/polyvector_field_matchings.cpp
#	tutorial/507_PolyVectorField/CMakeLists.txt
#	tutorial/507_PolyVectorField/main.cpp
#	tutorial/508_ConjugateField/CMakeLists.txt
#	tutorial/508_ConjugateField/main.cpp
#	tutorial/510_Integrable/CMakeLists.txt
#	tutorial/510_Integrable/main.cpp
#	tutorial/511_PolyVectorFieldGeneral/CMakeLists.txt
#	tutorial/511_PolyVectorFieldGeneral/main.cpp
#	tutorial/709_VectorFieldVisualizer/CMakeLists.txt
#	tutorial/709_VectorFieldVisualizer/main.cpp
#	tutorial/tutorial.md


Former-commit-id: 6489e6770c
2018-03-10 17:22:06 -05:00
Zhongshi Jiang e067d8d7b5 add pyigl seam_edges
Former-commit-id: ea005c91e0
2018-02-16 22:41:16 +08:00
Zhongshi Jiang 16b6a3008c Python binding for exact_geodesic
Former-commit-id: 84d078222e
2018-02-16 22:38:32 +08:00
skoch 4e63839b97 Fix inconsistent imports
Former-commit-id: 45417a4a85
2017-12-05 18:16:53 +01:00
Daniele Panozzo e7f1d44d2e migrating polyvector code to libdirectional
Former-commit-id: 789126680e
2017-10-31 17:28:13 -04:00
Daniele Panozzo 58a2146c68 added comments to python files 1/2
Former-commit-id: 52d0f35689
2017-10-08 16:02:47 -04:00
Hasnain Vohra f5313e23f3 add wrapper for readPLY
Former-commit-id: 46385dc442
2017-07-17 15:40:36 -04:00
Francis Williams e76521800e Python binding for igl_adjacency_list(const MatrixXi& F, vector<vector<int>& A, bool sorted). Use an opaque type for the output parameter A.
I also fixed a couple of bugs in generate_docstrings.py:
1) We were checking for an empty string where a result could also be Nonn.
2) If you forgot to end the argument path with  a slash, the output would be incorrect
3) We were coupled to a specific version of clang for no reason
4) Python 3 clang binding support was only added in April 2017 (https://reviews.llvm.org/D31568). Using python3 by default will not work on the clang bindings which ship with pip and most Linux distros. Let's change the hashbang to use python2 for now.
5) The documentation for the script was a bit confusing.


Former-commit-id: 230ab71e20
2017-07-05 13:31:03 -04:00
Daniel Crispell 2115264e37 add python binding for writePLY
Former-commit-id: 89248fc18f
2017-06-30 21:57:51 -04:00
s-koch 45b6393a6f Fix bbw python bindings and tutorial 403
Former-commit-id: 37d786ca3e
2017-02-15 16:43:54 +01:00
Guillermo Lomas Rodríguez 5e0b974c91 Resolved conflict with 'python/py_igl.cpp'
Former-commit-id: e4655db202
2016-10-20 12:04:04 +02:00
Guillermo Lomas Rodríguez 86d93f31db Merge remote-tracking branch 'upstream/master'
Former-commit-id: 231b465472
2016-10-20 11:40:26 +02:00
Daniele Panozzo 303641e6b3 Merge branch 'python_bindings' of https://github.com/s-koch/libigl
Former-commit-id: 1dc17bb6c8
2016-10-19 09:19:17 -04:00
Guillermo Lomas Rodríguez ea18a88d58 Python bindings for barycentric_to_global()
Former-commit-id: 777d5b1858
2016-10-19 09:49:16 +02:00
Pelayo González aeaf610e41 Python bindings for remove_duplicate_vertices()
Former-commit-id: 198571d71e
2016-09-23 14:54:58 +02:00
Sebastian Koch 19f547093e Merge branch 'master-upstream' into python_bindings
Former-commit-id: 1bfdf9b30e
2016-09-14 19:13:03 +02:00
pancha e9db1095fd * adding streamline code and tutorial
* adding python bindings for streamline and python tutorial


Former-commit-id: 9abb24e0bc
2016-08-11 10:37:34 -04:00
pancha a0664b0a3d adding python wrapper for edge_topology and triangle_traingle_adjacency
Former-commit-id: 42f022f021
2016-08-09 16:56:52 -04:00
Sebastian Koch ba5cfc10ba Added tutorial 403 and submodule bbw
Former-commit-id: a475a5d124
2016-07-14 11:59:56 +02:00
Sebastian Koch d07d324403 Updated tutorial 404 to use features of newer pybind11 version,
Introduced typedefs


Former-commit-id: a6b2fd045a
2016-07-12 17:15:40 +02:00
Sebastian Koch d74da4cd6f Added tutorial 404
Former-commit-id: 0258e9fb60
2016-07-11 18:20:22 +02:00
Sebastian Koch aa298105c6 Added tutorial 707
Former-commit-id: 3a57699280
2016-07-06 22:20:41 +02:00
Sebastian Koch 70f5ed2048 Added tutorial 706
Former-commit-id: 3acc7106d4
2016-07-06 20:38:33 +02:00
Sebastian Koch 5e56eb4f81 Added tutorial 705
Former-commit-id: ef2d804f84
2016-07-06 15:51:04 +02:00
Sebastian Koch 5416e09508 Added tutorial 702
Former-commit-id: 64289b0050
2016-07-06 12:55:53 +02:00
Sebastian Koch dcbb98ce9a Added tutorial 701
Former-commit-id: 54e2fe0935
2016-06-21 11:54:53 +02:00
Sebastian Koch 39df4de193 Switched to automatic (and sorted) generation of py_igl.cpp and py_doc.*
Former-commit-id: 76abdffac1
2016-06-17 17:23:45 +02:00
Sebastian Koch ad00bd397f Restructuring Python bindings, moved submodules and dependencies to own folders, added dependency checking for some tutorials, minor refactorings
Former-commit-id: 2214125878
2016-06-07 15:13:54 +02:00
Sebastian Koch c5e77fa5d7 Added multiple tutorials
Former-commit-id: 706aa31449
2016-06-03 16:53:22 +02:00
Sebastian Koch 6e4a3738aa Fixed minor bugs in bindings, moved AABB implementation to own file, added boolean matrix and comparison functions to python bindings
Former-commit-id: aa6e79dc36
2016-05-25 21:47:37 +02:00
Sebastian Koch 39ade1009b Added further python bindings, extended py_vector slightly
Former-commit-id: 13e300c8a9
2016-05-20 20:18:29 +02:00
Daniele Panozzo 93a6a05509 updated python build system
Former-commit-id: bf79f74c4a
2016-03-02 23:51:21 -05:00
Daniele Panozzo dba9e977d4 added 507
Former-commit-id: fc093eb7ee
2015-10-04 19:12:27 +02:00
Daniele Panozzo 44a2dc4c1e fixed bug in nrosy wrapper
Former-commit-id: 5e6fbb4acb
2015-10-04 17:26:07 +02:00
Daniele Panozzo 73f00b0f44 added python module comiso
added 504


Former-commit-id: 88cf5cc812
2015-10-01 21:33:26 +02:00
Daniele Panozzo 4cfbb151a4 added 502
Former-commit-id: b386614cb6
2015-10-01 17:11:41 +02:00
Daniele Panozzo 03e3692bd4 added 501
Former-commit-id: 821d857f0b
2015-10-01 17:04:02 +02:00
Daniele Panozzo 57120986b1 added 405
Former-commit-id: bff37c3987
2015-10-01 14:36:22 +02:00
Daniele Panozzo 50cf01fe53 finishing the previous commit
Former-commit-id: e02d172a2a
2015-10-01 00:23:40 +02:00
Daniele Panozzo b57ee21b85 added 306
finished chapter 3 of the tutorial
warning: there is a memory leak in 305 that happens rarely, it requires debugging

Former-commit-id: b25ed574a2
2015-09-13 23:04:14 +02:00
Daniele Panozzo 0cd2dc884b added 305
Former-commit-id: 477339d410
2015-09-13 20:10:26 +02:00
Daniele Panozzo cda229c05b added 303 LaplaceEquation
Former-commit-id: 6a1cc40e3c
2015-09-12 21:45:11 +02:00
Daniele Panozzo fbb66fc3d8 added 302 sort
Former-commit-id: e2e452f556
2015-09-11 23:53:49 +02:00
Daniele Panozzo 50e499e0e9 added 301
Former-commit-id: b1ea24a66b
2015-09-11 22:58:59 +02:00
Daniele Panozzo bb889bcea4 added 205 laplacian
update pybind
added example of usage in matlab


Former-commit-id: b0f890d25b
2015-09-11 17:45:52 +02:00
Daniele Panozzo aea1fd183f working on 204, we need to figure out how to deal with the inconsistency between vectors in numpy and eigen before continuing
Former-commit-id: 27330ae3eb
2015-08-24 15:05:45 +02:00
Daniele Panozzo 21e2cbf3f9 finished 203, sparse matrix wrapper is still incomplete
Former-commit-id: 27ce402b8f
2015-08-22 18:37:53 +02:00
Daniele Panozzo b081561d44 added basic wrapper for sparse matrices, working on tutorial 203
Former-commit-id: 797a95c4fb
2015-08-22 16:38:56 +02:00