Jan Möbius
45c5dab747
Allow PolyConnectivity::delete_edge to mark an edge as deleted, if there are no faces incident.
...
Added unittest.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@834 fdac6126-5c0c-442c-9429-916003d36597
2013-06-05 13:58:32 +00:00
Jan Möbius
7d9ada2e55
Fixed some clang compiler warnings
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@831 fdac6126-5c0c-442c-9429-916003d36597
2013-06-05 08:23:24 +00:00
Jan Möbius
ee648b6da1
Try to get rid of memory leak in IOManager
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@830 fdac6126-5c0c-442c-9429-916003d36597
2013-06-05 07:33:16 +00:00
Isaak Lim
adf464de77
the normal deviation module now also is a priority module in the commandlineDecimater tool
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@829 fdac6126-5c0c-442c-9429-916003d36597
2013-06-03 09:00:42 +00:00
Isaak Lim
84bc25ffd1
- added an explanation on how to use multiple modules to the commandlineDecimater help output
...
- added decimater related help output to DecimaterGui when 'h' is pressed as the application is running
refs #1580
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@827 fdac6126-5c0c-442c-9429-916003d36597
2013-05-30 15:11:38 +00:00
Hans-Christian Ebke
f552be05fa
Enabled initialization of invalid PropertyManager.
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@826 fdac6126-5c0c-442c-9429-916003d36597
2013-05-23 09:36:41 +00:00
Isaak Lim
c15f0f60f5
- fixed writing face indices in different configurations regarding vertex texture coordinates and vertex normals
...
- adjusted the intial patch provided by Robert Luo
refs #1560
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@824 fdac6126-5c0c-442c-9429-916003d36597
2013-05-16 11:11:41 +00:00
Isaak Lim
83722b8e5f
- fixed a bug with OBJReader that prevented the material color to be loaded correctly
...
- added a corresponding unittest
Thanks for the patch by Karthik Nathan
closes #1473
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@823 fdac6126-5c0c-442c-9429-916003d36597
2013-04-25 11:03:53 +00:00
Jan Möbius
3d72b7dbc1
vector_type min(const vector_type& _rhs) and vector_type max(const vector_type& _rhs) are declared const now. (Thanks to Vladimir Chalupecky for the hint)
...
minimize and maximize return vector_type& (reference) instead of vector_type (value) to allow chaining p.minimize(p1).minimize(p2). (Thanks to Vladimir Chalupecky for the hint)
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@822 fdac6126-5c0c-442c-9429-916003d36597
2013-04-02 12:39:47 +00:00
Jan Möbius
82135f21ab
Missing this pointer
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@820 fdac6126-5c0c-442c-9429-916003d36597
2013-03-05 07:35:35 +00:00
Isaak Lim
7aab2ad475
updated the documentation for IO Options
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@819 fdac6126-5c0c-442c-9429-916003d36597
2013-03-04 17:09:45 +00:00
Isaak Lim
837c866abb
- added color float support for the OM OFF reader/writer
...
- added corresponding unittests
- small fix for the PLY writer
Note that for reading binary OFF files with color floats, the user has to set the flag, that floats are expected
closes #1410
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@818 fdac6126-5c0c-442c-9429-916003d36597
2013-03-04 16:36:20 +00:00
Isaak Lim
57b3908771
- the OM PLY writer and reader can now also handle color floats
...
- added corresponding unittests
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@817 fdac6126-5c0c-442c-9429-916003d36597
2013-03-01 15:32:46 +00:00
Isaak Lim
2857da21b6
- added a ColorFloat flag to Options, which can be set to write and read RGBA values as float instead of unsigned char
...
- added color_is_float function which checks if the ColorFloat flag was set
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@816 fdac6126-5c0c-442c-9429-916003d36597
2013-02-27 13:30:37 +00:00
Isaak Lim
951aa17bd9
- added color_cast from Vec4f to Vec4i and Vec4ui
...
- added colori and colorAi functions to BaseExporter which return Vec3i and Vec4i respectively
- adjusted the PLYWriter to use colori and colorAi for writing ascii files
refs #1405
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@815 fdac6126-5c0c-442c-9429-916003d36597
2013-02-27 13:25:42 +00:00
Isaak Lim
fcc40c78c2
added color_cast from Vec3f and Vec4f to Vec3i and Vec3ui
...
refs #1405
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@812 fdac6126-5c0c-442c-9429-916003d36597
2013-02-26 14:33:29 +00:00
Isaak Lim
708af7068f
patch from a generous contributor for the OpenMesh PLY writer works as expected
...
refs #1405
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@811 fdac6126-5c0c-442c-9429-916003d36597
2013-02-26 12:52:19 +00:00
Isaak Lim
740d23ed36
- read_mesh now throws a compile error if an Options::Flag enum is passed as an argument instead of an Options object
...
- added a unit test for writing and reading vertex colors to and from an OFF file. The default color type Vec3uc from DefaultTraits in Traits.hh is used.
refs #1404
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@809 fdac6126-5c0c-442c-9429-916003d36597
2013-02-25 13:30:56 +00:00
Hans-Christian Ebke
9a69c39b60
Undo: Some singular changes. (Sorry about that.)
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@808 fdac6126-5c0c-442c-9429-916003d36597
2013-02-20 12:25:03 +00:00
Hans-Christian Ebke
7d9d01a7e2
PropertyManager: Added PropertyManager::propertyExists() method.
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@807 fdac6126-5c0c-442c-9429-916003d36597
2013-02-20 12:19:26 +00:00
Hans-Christian Ebke
152719a838
Some singular changes.
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@806 fdac6126-5c0c-442c-9429-916003d36597
2013-02-20 12:19:25 +00:00
Jan Möbius
e826572afc
Fixed warning
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@805 fdac6126-5c0c-442c-9429-916003d36597
2013-02-19 14:43:27 +00:00
Jan Möbius
da9bfe2578
Fixed various warnings
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@804 fdac6126-5c0c-442c-9429-916003d36597
2013-02-18 17:19:41 +00:00
Jan Möbius
6ba9774194
Fixed various warnings
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@803 fdac6126-5c0c-442c-9429-916003d36597
2013-02-18 17:17:01 +00:00
Jan Möbius
2d754b31be
Missing include, preventing build on VS2012
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@799 fdac6126-5c0c-442c-9429-916003d36597
2013-01-30 15:22:31 +00:00
Jan Möbius
9d1d1a1a0d
Fixed another static occurence in the Hausdorff module
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@798 fdac6126-5c0c-442c-9429-916003d36597
2013-01-30 07:03:04 +00:00
Jan Möbius
1dfb93c687
Fixed another static occurence in the Hausdorff module
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@797 fdac6126-5c0c-442c-9429-916003d36597
2013-01-30 07:01:51 +00:00
Jan Möbius
9ed294c929
Make Hausdorff module thread safe. Removed static point vector. (Thanks to Falko Löffler for the fix)
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@796 fdac6126-5c0c-442c-9429-916003d36597
2013-01-29 09:00:06 +00:00
Jan Möbius
feaf69d499
Wrong documentation about return type. closes #1387
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@795 fdac6126-5c0c-442c-9429-916003d36597
2013-01-23 09:32:00 +00:00
Jan Möbius
eec3ac3b98
Made STL Reader work, with the clear = false flag.
...
Redundant lookup removed.
( Thanks to Peter Newman for the patch)
closes #1370
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@783 fdac6126-5c0c-442c-9429-916003d36597
2013-01-08 07:24:43 +00:00
Jan Möbius
b025acaaa6
Make delete_face function work without edge status
...
Added unittests for delete_face
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@782 fdac6126-5c0c-442c-9429-916003d36597
2013-01-06 15:51:58 +00:00
Jan Möbius
7bb796cd7c
Moved version to 2.4
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@780 fdac6126-5c0c-442c-9429-916003d36597
2012-12-20 10:51:47 +00:00
Jan Möbius
54535f2da9
Prepare 2.3.1 for release
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@779 fdac6126-5c0c-442c-9429-916003d36597
2012-12-20 08:13:53 +00:00
Jan Möbius
484d6529f8
Fixed bug in OBJ reader, where some faces could be missing
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@777 fdac6126-5c0c-442c-9429-916003d36597
2012-12-11 08:44:02 +00:00
Jan Möbius
91b0ac9df0
Fixed missing cast in importer which lead to problems when using different vector type. (Thanks to Mario Deuss for the fix)
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@776 fdac6126-5c0c-442c-9429-916003d36597
2012-12-10 15:22:00 +00:00
Jan Möbius
0f9d7dcb41
Replaced fabs by the std methods to fix errors when using norms with double vectors
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@775 fdac6126-5c0c-442c-9429-916003d36597
2012-12-05 17:59:57 +00:00
Jan Möbius
7540cfabca
Fixed copy and paste typo in split_copy for face handle
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@773 fdac6126-5c0c-442c-9429-916003d36597
2012-11-30 07:16:24 +00:00
Jan Möbius
618f7df524
Tried to fix documentation
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@772 fdac6126-5c0c-442c-9429-916003d36597
2012-11-27 12:08:12 +00:00
Jan Möbius
824ee5db29
More documentation for the is_boundary functions
...
Unittest for is_boundary (Vertices, faces)
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@770 fdac6126-5c0c-442c-9429-916003d36597
2012-11-27 11:19:22 +00:00
Jan Möbius
0ef541d266
Return vertex handles of newly added vertices in split and split copy when passing points instead of handles
...
closes #1316
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@769 fdac6126-5c0c-442c-9429-916003d36597
2012-11-26 12:52:24 +00:00
Jan Möbius
8a650cd761
Bumped version to 2.4 after release
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@764 fdac6126-5c0c-442c-9429-916003d36597
2012-11-12 14:46:20 +00:00
Jan Möbius
dc094d817d
Docu fix
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@760 fdac6126-5c0c-442c-9429-916003d36597
2012-11-06 07:41:28 +00:00
Jan Möbius
b93dffdc67
Fixed warnings in Composite computation (extra;)
...
Fixed missing this pointer in PolyMeshT.hh
Added unittest for dihedral angle function
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@757 fdac6126-5c0c-442c-9429-916003d36597
2012-11-02 07:28:25 +00:00
Isaak Lim
cb981241c4
- fixed typedef problems
...
- split unittests for uniform and adaptive subdivider
refs #261
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@756 fdac6126-5c0c-442c-9429-916003d36597
2012-10-31 11:58:22 +00:00
Isaak Lim
485356abab
- removed a wrong assertion in the refine method for vector handles
...
- added unittests for the adaptive composite subdivider
closes #261
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@755 fdac6126-5c0c-442c-9429-916003d36597
2012-10-31 10:29:40 +00:00
Isaak Lim
fcd018e85a
added documentation note (regarding std::ios_base::openmode flags) for read with istream
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@752 fdac6126-5c0c-442c-9429-916003d36597
2012-10-18 11:09:34 +00:00
Isaak Lim
953529bf7d
fixed doxygen warnings
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@750 fdac6126-5c0c-442c-9429-916003d36597
2012-10-15 15:01:06 +00:00
Isaak Lim
176dab0a80
only set precision for writers that write ascii
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@749 fdac6126-5c0c-442c-9429-916003d36597
2012-10-15 14:46:52 +00:00
Isaak Lim
1707f09f0d
- added precision option to MeshIO and IOManager
...
refs #1157
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@748 fdac6126-5c0c-442c-9429-916003d36597
2012-10-15 13:52:32 +00:00
Isaak Lim
d370b6e06c
- added some documentation to the BaseWriter
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@747 fdac6126-5c0c-442c-9429-916003d36597
2012-10-15 10:42:13 +00:00