Commit Graph
239 Commits
Author SHA1 Message Date
Jérémie Dumas 779af8fb48 Merge pull request #1227 from BruegelN/python_fix-viewer-core
Python: igl.glfw.Viewer().core => igl.glfw.Viewer().core() with default arg unsigned core_id = 0
2019-06-14 08:21:34 -04:00
Nico Brügel 6787393cd1 replace 'viewer.core' with 'viewer.core()' in python tutorials. Use same API style like in C++ however other methods for multiple viewport support still do not have python bindings. 2019-06-13 14:58:05 +02:00
Nico Brügel 7162dbe428 expose igl.glfw.Viewer.core() the same way as in C++ and adding default argument. 2019-06-13 14:54:03 +02:00
BruegelN ea48d38056 Due to the changes in glfw::Viewer one should pass a parameter when calling data() to select a mesh. In C++ mesh_id=-1 by default ( the last element). This commit adds this behaviour for the python bindings. 2019-06-10 19:51:26 +02:00
Jérémie Dumas aea868bd1f Merge pull request #1172 from jdumas/tmp/viewer-fixes
Viewer const accessors + use viewport size (fixes #1166, fixes #1167).
2019-05-03 14:56:10 -04:00
Jérémie Dumas b15bafaed2 Viewer const accessors + use viewport size (fixes #1166, fixes #1167). 2019-04-21 09:50:47 -04:00
amri 60c375f84e exposed heat_geodesics in python binding 2019-04-05 14:19:16 +02:00
Jérémie Dumas daf7d0707c Merge pull request #978 from jdumas/multiple-views
Multiple viewports
2019-03-22 15:54:33 -04:00
Kacper Pluta 48ac6aa0b5 Some further cleanups for MIQ (#998)
* Cleanups: unified arguments' names, variable types, unused variables removed, initialization of fileds. Many Clang-tidy hints have been applied, etc.

* ints should be unsigned

* changes overlooked duing refactorization

* changes overlooked duing refactorization

* changes overlooked duing refactorization

* changes overlooked duing refactorization

* changes overlooked duing refactorization and suggestions from @jdumas

* remove unneeded var.

* indents

* extract a constant

* a name changed
2019-02-12 11:45:50 -05:00
Jérémie Dumas 607148cf72 Misc compilation fixes for Eigen 3.3 compatibility. 2018-12-28 15:02:21 +01:00
Jérémie Dumas 2eef4a9b30 Fix compilation issues. 2018-12-28 01:28:11 +01:00
Alec Jacobson 85b93826a2 merge 2018-12-24 16:41:35 -06:00
Jérémie Dumas 8eac86c163 Make teseo happy. 2018-12-01 09:49:11 -05:00
Jérémie Dumas 1d12983ce2 Merge branch 'dev' into multiple-views 2018-11-28 14:05:38 -05:00
Jérémie Dumas b7d36697df python3 -> python 2018-11-28 08:29:23 -05:00
Jérémie Dumas b0c518a05f Fix build for current python bindings. 2018-11-12 22:56:45 +01:00
Jérémie Dumas d696b54ba9 Set minimum python version. 2018-11-05 19:09:17 -05:00
Jérémie Dumas b580234968 Try to make Travis/AppVeyor happy. 2018-11-04 13:38:20 -05:00
Kacper Pluta 75d60e40a8 Documentation and code clean ups (MIQ related) (#971)
* remove commented code

* typo

* clean up list of the arguments

* typo

* typos and different names

* rename files due to a typo and remove double include

* remove comments that do not document the code but are used to comment out code or to store TODOs that should not be placed in the code, anyway.

* clean up the documentation

* remove commented code

* add information to the doc

* improve readability of the code

* typo and a missing space

* fix a typo: missmatch -> mismatch

* remove unnecessary header files

* typos

* changed to camel notation

* clean up

* typo

* add limitations into the documentation

* camelCase

* lost refactor

* unify the variable's names

* clean up

* clean up

* missed refactor

* clean up

* name in the doc

* name in the doc

* further nameing convention changes

* refactored names missed by clion.

* unify names

* align the constructor's args
2018-10-24 13:30:58 -04:00
Roi Poranne 0f40780d5d Multiple viewports. 2018-10-24 11:15:21 -04:00
Jérémie Dumas 8895c712b6 Fix position independent code on Linux. (#941)
Former-commit-id: e21aa88a8b
2018-10-15 12:46:03 -04:00
Jérémie Dumas d3dd83f11b Set default options based on toplevel project. (#940)
* Enable options based on toplevel CMake call.

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update CMakeLists.txt


Former-commit-id: 86d3564a14
2018-10-15 12:05:43 -04:00
Daniele Panozzo ee2599de1a updated cmake files and options
Former-commit-id: 54980dbb68
2018-10-15 10:28:26 -04:00
Jérémie Dumas 628375d4d2 Merge pull request #927 from jdumas/skinny
Move from submodules to cmake external.

Former-commit-id: 824ab2d754
2018-10-14 21:45:31 -04:00
Jérémie Dumas 340521757c Update cmake.
Former-commit-id: c80da2902f
2018-10-14 21:36:41 -04:00
Jérémie Dumas 1ef33b03a2 Move from submodules to cmake external.
Former-commit-id: de5e3215de
2018-10-14 19:35:08 -04:00
Alec Jacobson 1fe4eb190f Revert "Revert "Marching Tetrahedra (#716)" (#924)" (#925)
This reverts commit 65aa93e9ef [formerly 47634615ce].

Former-commit-id: fd8d66156c
2018-10-14 19:17:01 -04:00
Alec Jacobson 65aa93e9ef Revert "Marching Tetrahedra (#716)" (#924)
This reverts commit 7cb42ce972 [formerly d152b6072e].

Former-commit-id: 47634615ce
2018-10-14 19:16:39 -04:00
Francis Williams 7cb42ce972 Marching Tetrahedra (#716)
* Marching Tetrahedra

* dropping cxx11


Former-commit-id: d152b6072e
2018-10-14 19:14:45 -04:00
Jérémie Dumas 69de8515ae Merge remote-tracking branch 'upstream/master' into cgal
Former-commit-id: 5cfc34dd16
2018-08-07 12:04:52 -04:00
Zhongshi 241d83aa15 Remove manual set lib
Former-commit-id: dd657f3cf0
2018-08-04 20:42:15 -07:00
Zhongshi c5ce69a9e0 🐍 switch find pythoninterp and pythonlibs
https://cmake.org/cmake/help/latest/module/FindPythonLibs.html
Former-commit-id: fe35eb05ee
2018-08-04 18:51:08 -07:00
Zhongshi b549521940 🐍 pass additional arguments to setup.py
Former-commit-id: 78e15a30f3
2018-08-04 15:50:43 -07:00
Zhongshi Jiang fd0c6ac8d0 🐍 introduce setup.py and update .travis.yml
Former-commit-id: 5eada092e5
2018-08-03 18:12:53 -07:00
Jérémie Dumas 43616c9c2f Merge remote-tracking branch 'upstream/master' into cgal
Former-commit-id: 6306a6f1dc
2018-08-03 17:10:47 -04:00
Alec Jacobson 769f007559 Merge pull request #700 from jdumas/viewer
Remove model matrix from the viewer.

Former-commit-id: 274dc2de45
2018-07-12 16:52:03 -04:00
Jérémie Dumas 8b734a7749 Fix template instantiations.
Former-commit-id: 761cb5e91e
2018-07-09 16:31:06 -04:00
Alec Jacobson 6b39222c1a Merge branch 'jdumas-docs'
Former-commit-id: b2e4485e20
2018-05-25 08:22:47 -04:00
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
Jérémie Dumas d7742457e3 Merge remote-tracking branch 'upstream/master' into docs
Former-commit-id: 9586718204
2018-04-22 20:05:22 -04:00
Daniele Panozzo 43c481c0ca Merge pull request #747 from jsb/pyigl-shape-diameter
Python bindings for shape_diameter_function

Former-commit-id: 424cf89f27
2018-04-19 21:36:22 +02:00
Janis Born c68759b41d add Python bindings for shape_diameter_function
Former-commit-id: ad61b3abe2
2018-04-13 11:30:08 +02:00
Jérémie Dumas 786b9e3509 Add python readme to the website.
Former-commit-id: d9890133cd
2018-03-28 16:09:53 -04:00
Zhongshi Jiang f8f3f1b48e Update python tutorials to reflect the viewer refactor
Former-commit-id: 8edf097dcf
2018-03-16 20:58:19 -04:00
Janis Born 816e51da05 expose overloaded version of tetrahedralize in pyigl
Former-commit-id: 910482ca50
2018-03-14 11:02:59 +01:00
Jérémie Dumas c1a8e7d9ac Merge pull request #689 from Gjacquenot/master
Fixed Python CMakeLists.txt for CMake 3.10.0

Former-commit-id: c9310ff821
2018-03-11 12:28:42 -04: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
Jérémie Dumas 039ca104c2 Update ImGui menu + update tutorial.
Former-commit-id: b52e8fe180
2018-03-10 10:16:27 -05:00
Jérémie Dumas acf7795a2e Merge remote-tracking branch 'upstream/master' into viewer
Former-commit-id: 3ad541effd
2018-02-17 18:42:41 -05:00
Zhongshi Jiang 914e0b38c6 Typo in doc
Former-commit-id: d9a9e31e4a
2018-02-17 09:52:31 +08:00