Commit Graph
601 Commits
Author SHA1 Message Date
Alec Jacobson fbd4eb8457 Merge branch 'dev-delaunay-tests-attempt-2' of https://github.com/libigl/libigl into dev-intrinsic-delaunay 2018-10-28 15:47:07 -04:00
Alec Jacobson ebdc43fd30 heat geodesics tutorial 2018-10-28 15:33:22 -04: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
Francis Williams b2e8d0b3d3 Sparse grid bfs (#942)
* Add a utility function which computes a sparse set of epsilon-sized grid cells surrounding an input surface. The function takes a point on the surface as input and finds all those epsilon grid cells that intersect the surface using a breadth first search over the grid space.

* Add a utility function which computes a sparse set of epsilon-sized grid cells surrounding an input surface. The function takes a point on the surface as input and finds all those epsilon grid cells that intersect the surface using a breadth first search over the grid space.


Former-commit-id: 1dbd225d993a5417c7d3bedc3a6ba354cc256956
2018-10-15 13:17:06 -04:00
Alec Jacobson 75577c62d7 change message
Former-commit-id: bb1a0b6d20
2018-10-15 12:50:15 -04:00
Alec Jacobson 7f852d8aee fix options
Former-commit-id: 8a2d93cf14
2018-10-15 12:41:49 -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
Francis Williams 954cd99196 Sparse Voxel Grid (#937)
* Add a utility function which computes a sparse set of epsilon-sized grid cells surrounding an input surface. The function takes a point on the surface as input and finds all those epsilon grid cells that intersect the surface using a breadth first search over the grid space.

* Add a utility function which computes a sparse set of epsilon-sized grid cells surrounding an input surface. The function takes a point on the surface as input and finds all those epsilon grid cells that intersect the surface using a breadth first search over the grid space.


Former-commit-id: 4f030acb67
2018-10-15 11:46:23 -04:00
Alec Jacobson a1e026fbe6 rm tutorial shared
Former-commit-id: 8fd4d1eee9
2018-10-15 11:24:12 -04:00
Daniele Panozzo ee2599de1a updated cmake files and options
Former-commit-id: 54980dbb68
2018-10-15 10:28:26 -04:00
Teseo Schneider 0787113a1b main cmake inclding only one igl
Former-commit-id: 5ee5360fa0
2018-10-14 23:17:12 -04:00
Teseo Schneider ef78023af4 cleanup cmake
Former-commit-id: 3c4d98ce56
2018-10-14 22:48:56 -04:00
Teseo Schneider 242a4485af added download of data and cleaned up cmake
Former-commit-id: b63e31340f
2018-10-14 22:33:37 -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 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
Zhongshi 2726464472 Adding 2D version of SCAF for Bijective Maps and a tutorial (#752)
* Add scaf code

Add the tutorial entry

Tutorial entry for SCAF. still need polishing

Put -4 in the energy computation of scaf:SymmD

* 🏫 Insert SCAF to 711

Fixes in tutorial.md

updating tutorial.html

Fix for gcc 4.8

Remove 4.1

Refactoring scaf WIP

Further refactoring WIP

Code Cleaning

* 🔨 Improve SLIM interface

* ♻️ refactor SCAF with less lines

* ♻️ refactor harmonic with boundary

*  Add direct signature for scaf

* 📝 Change tutorial order wip

* 🏫 Timer in SLIM tutorial makes more sense

*  Add direct interface for SLIM

* 🎨 format SCAF code.

* 🐍 Python binding for slim and scaf

* 🐍 expose SLIMData (maybe elevate its status more in the future)

* 👽 🐍 deprecate PYBIND11_PLUGIN

*  harmonic with holes

* ♻️ SCAF, Decouple Initialization to tutorial

* 🏫 SCAF tutorial improvement

* 🏫 Tutorial order; insert scaf

* 🎨 Removing Adjusted_grad

*     🏫 Inserted SCAF, not messing around with tutorials order until the new page is online

* 💚 Fix for static build

* ♻️ Uniform SLIM and SCAF and  python binding canonical

* 🐛 Change in ScafData

* 🍎 Fix namespace for build

*  Introduced Mapping Energy Type to replace adhoc SLIMEnergy

* ♻️ Refactor subroutines from SLIM

* Revert python changes

* leave fill hole outside harmonic

* Revert Python changes

* hole fill

* Minor Fixes for SCAF

SCAF->IGL_SCAF
Topological_hole_fill 
"<igl/XXX>" in slim tutorial


Former-commit-id: 4edf5dede5
2018-10-14 17:55:36 -04:00
Alec Jacobson 56eee0e3a4 Merge pull request #859 from jdumas/imgui
Update ImGui bindings.

Former-commit-id: 908da7473c
2018-10-14 15:40:58 -04:00
hanxiao c415f21858 Merge branch 'function_rename' of https://github.com/fwilliams/libigl into fwilliams-function_rename
Former-commit-id: 62b9246c73
2018-10-14 14:07:27 -04:00
Kacper Pluta 142546d2e9 remove a path refering to a non-existing file
Former-commit-id: 8f218eb2c1
2018-10-10 14:18:47 +03:00
ZM-LT 859b9b618b fix header.
Former-commit-id: 3027e21300
2018-08-17 00:02:38 +02:00
ZM-LT 174ac59db6 update M_PI to igl::PI. header file inclusion for some files are also added.
Former-commit-id: 7565b77de7
2018-08-09 23:04:36 +02:00
Jérémie Dumas 209b81e56c Update ImGui bindings.
Warnings: potentially breaking changes on the ImGui, may require user to
adapt their UI code.

Former-commit-id: ce723d8c00
2018-08-03 20:56:10 -04:00
Francis Williams a9c3b6d50a rename components.[h|cpp] to vertex_components.[h|cpp]
Former-commit-id: 989a144269
2018-07-22 23:25:13 -04:00
Francis Williams 18a1eaf38c we have the functions igl::components() and igl::facet_components() for computing connected components on vertices and faces respectively.
The naming here is super confusing (and someone wasted a couple of hours because they didn't know that facet_components existed).

This change improves discoverability in 2 ways:
1 - More consistent naming by changint `components()` to `vertex_components()` which hints that there may exist a `facet_component()` function.
2 - Reference `facet_components()` in the docs for `vertex_components()` and vice versa


Former-commit-id: 43a7d250f5
2018-07-20 15:20:51 -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 2a993b3846 Add file formats + cheatsheet to the website.
Former-commit-id: 355245250a
2018-03-24 13:38:21 -04:00
Jérémie Dumas d761aad302 Move images.
Former-commit-id: e443104c15
2018-03-18 13:43:14 -04:00
Jérémie Dumas 7f2dd8eed0 WIP doc website.
Former-commit-id: b0122aa8be
2018-03-17 20:08:42 -04:00
Daniele Panozzo 4861edf61d Merge pull request #710 from jdumas/master
Update multi-mesh tutorial

Former-commit-id: 85eec4da42
2018-03-17 16:19:09 -04:00
Jérémie Dumas 84b7752587 Remove attribute class + add a unique id in ViewerData.
Former-commit-id: 6d41528ced
2018-03-17 13:20:59 -04:00
Zhongshi Jiang d2decbcfa4 fix tutorial 106
Former-commit-id: a78cf9e6be
2018-03-15 00:00:18 -04:00
Zhongshi Jiang 8118afaa79 Some fixes on tutorial page
Fixes in tutorial.md
html



Former-commit-id: a8e3fcea24
2018-03-14 22:40:15 -04:00
Zhongshi Jiang f5bf4fc9dc Change all CMakeLists.txt so don't need to specify project name
Former-commit-id: 6d775fbc1f
2018-03-14 22:29:45 -04:00
Daniele Panozzo c7b35bca80 removed unnecessary file shapeup_local_projections.h/.cpp
Former-commit-id: 8bf80967c4
2018-03-10 20:39:34 -05:00
Daniele Panozzo 9584791899 Merge commit '144c3f008c45a3151c394b74eb511de9b7d6d55f [formerly 807b0e55f5]'
# Conflicts:
#	optional/index.html
#	tutorial/CMakeLists.txt
#	tutorial/tutorial.html


Former-commit-id: 6cdadb0ba8
2018-03-10 19:53:25 -05: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 e47cf8ae94 Merge remote-tracking branch 'upstream/master' into viewer
Former-commit-id: 93ac038d96
2018-03-01 20:18:46 -05:00
Jérémie Dumas 162d26a78d Merge remote-tracking branch 'upstream/master' into cgal
Former-commit-id: 35d6d67311
2018-03-01 19:13:37 -05:00
Jérémie Dumas 43f4586290 Without attributes.
Former-commit-id: 239a05da56
2018-02-26 17:08:00 -05:00
Jérémie Dumas 84be1f9f10 Color selected mesh in red.
Former-commit-id: 84be11b1b2
2018-02-23 19:45:15 -05:00
Alec Jacobson 5c32bd7478 cleanup
Former-commit-id: f50084cacb
2018-02-23 09:55:07 -05:00
Alec Jacobson b5e6c1cf42 Merge branch 'master' of github.com:libigl/libigl into alecjacobson
Former-commit-id: a67b163413
2018-02-23 09:38:41 -05:00
Alec Jacobson 57a8279606 use int for callbacks; use corect backspace code
Former-commit-id: b86117ea06
2018-02-23 09:36:15 -05:00
Alec Jacobson b77c5ba4a9 revert 107; do not rely on imgui
Former-commit-id: eb1d95e246
2018-02-23 09:18:49 -05:00
Alec Jacobson 8dfe25ba14 only compile 106 if imgui is selected
Former-commit-id: fcc97bc619
2018-02-23 09:17:24 -05:00
Alec Jacobson bc54d78a76 usage instructions
Former-commit-id: 10f5ef44c2
2018-02-23 09:16:49 -05:00