Commit Graph

738 Commits

Author SHA1 Message Date
Jan Möbius
471e62003e Added unittest for vector cross product
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@754 fdac6126-5c0c-442c-9429-916003d36597
2012-10-31 07:40:50 +00:00
Jan Möbius
1188a4c2bf Updated documentation to include halfedge and edge colors
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@753 fdac6126-5c0c-442c-9429-916003d36597
2012-10-22 07:33:31 +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
Jan Möbius
5a2c848369 Updated changelog
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@751 fdac6126-5c0c-442c-9429-916003d36597
2012-10-18 07:37:23 +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
Isaak Lim
fc7acde663 - added precision option to openmesh writers
refs #1075

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@746 fdac6126-5c0c-442c-9429-916003d36597
2012-10-15 10:28:14 +00:00
Isaak Lim
1d6e590a0f now the QtViewer App tries to load textures for PLY (and other formats) too, if possible
closes #1077

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@745 fdac6126-5c0c-442c-9429-916003d36597
2012-10-08 14:11:48 +00:00
Isaak Lim
eea5f4304a added another unittest to check if the user options are returned correctly in the OM reader
refs #1077


git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@744 fdac6126-5c0c-442c-9429-916003d36597
2012-10-08 13:30:39 +00:00
Isaak Lim
6aa98b5b7c - now the OM reader also checks user options
- added some corresponding unittests

refs #1077

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@743 fdac6126-5c0c-442c-9429-916003d36597
2012-10-08 13:25:36 +00:00
Isaak Lim
8c41187816 added some more unittests for the PLY loader with different user options
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@742 fdac6126-5c0c-442c-9429-916003d36597
2012-10-08 12:39:43 +00:00
Isaak Lim
b409f83040 - the PLY reader now checks the options set by the user and will skip components that are not requested
- modified the loading unittest to test this behavior

refs #1077

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@741 fdac6126-5c0c-442c-9429-916003d36597
2012-10-08 11:44:29 +00:00
Isaak Lim
51edc31eba added unittests (trimesh and polymesh) for split_copy
closes #1027


git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@740 fdac6126-5c0c-442c-9429-916003d36597
2012-10-08 10:13:55 +00:00
Jan Möbius
0411effc88 Missed return of options
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@739 fdac6126-5c0c-442c-9429-916003d36597
2012-10-08 09:49:14 +00:00
Jan Möbius
19ceb62d1e Made unittest for obj crash when colors are requested but not available
Made OBJ reader aware of user requests (Warning! Old default behaviour was wrong, because the reader read everything, without checking for the user options!)

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@738 fdac6126-5c0c-442c-9429-916003d36597
2012-10-08 09:45:20 +00:00
Jan Möbius
505ab99324 Updated License Headers
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@737 fdac6126-5c0c-442c-9429-916003d36597
2012-10-08 07:33:20 +00:00
Jan Möbius
f3312397a5 Updated License Headers
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@736 fdac6126-5c0c-442c-9429-916003d36597
2012-10-08 07:30:49 +00:00
Jan Möbius
0624a524ca Keywords
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@735 fdac6126-5c0c-442c-9429-916003d36597
2012-10-08 07:25:00 +00:00
Jan Möbius
d99a162550 Added more advanced version of the mixxed decimater
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@734 fdac6126-5c0c-442c-9429-916003d36597
2012-10-08 07:23:50 +00:00
Jan Möbius
59159b941e Fixed the usage of vector traits such that the traits are used and not the vector types value_type. (Thanks to Mario Deuss for the patch)
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@733 fdac6126-5c0c-442c-9429-916003d36597
2012-10-06 10:16:53 +00:00
Jan Möbius
f305367159 Updated changelog
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@732 fdac6126-5c0c-442c-9429-916003d36597
2012-10-02 13:23:41 +00:00
Jan Möbius
1525696214 Added Internal branch
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/branches/trunk@730 fdac6126-5c0c-442c-9429-916003d36597
2012-10-02 07:56:31 +00:00
Jan Möbius
fd8ed29ed5 Mixed not ready yet. Keep for next release
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@729 fdac6126-5c0c-442c-9429-916003d36597
2012-10-02 07:54:57 +00:00
Isaak Lim
19ab724a82 took out workaround in McDecimater, since the RandomNumberGenerator is fixed now
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@728 fdac6126-5c0c-442c-9429-916003d36597
2012-10-01 09:24:55 +00:00
Isaak Lim
4a49deb7ad - fixed the RandomNumberGenerator, where it numbers greater than 1.0 could be returned
- activated the corresponding unit tests

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@727 fdac6126-5c0c-442c-9429-916003d36597
2012-10-01 09:12:43 +00:00
Jan Möbius
849ee4d293 Docu and indents
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@726 fdac6126-5c0c-442c-9429-916003d36597
2012-10-01 07:12:25 +00:00
Jan Möbius
d085da3b89 Output message, if out of range
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@725 fdac6126-5c0c-442c-9429-916003d36597
2012-10-01 07:11:58 +00:00
Jan Möbius
9875b209c6 Write a float
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@724 fdac6126-5c0c-442c-9429-916003d36597
2012-10-01 07:11:39 +00:00
Jan Möbius
073cfd74d3 Avoid double next_halfedge_handle call in collapse_ok
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@723 fdac6126-5c0c-442c-9429-916003d36597
2012-10-01 07:11:05 +00:00
Jan Möbius
a1315c1dd9 Added getter for resolution
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@722 fdac6126-5c0c-442c-9429-916003d36597
2012-10-01 07:09:40 +00:00
Jan Möbius
339b4d34d4 Documentation and indents
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@721 fdac6126-5c0c-442c-9429-916003d36597
2012-10-01 07:09:01 +00:00
Jan Möbius
92f6c3a1c5 Disabled RNG unit test
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@720 fdac6126-5c0c-442c-9429-916003d36597
2012-09-28 15:54:35 +00:00
Jan Möbius
18a6b27cfe Unittest for random number generator
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@719 fdac6126-5c0c-442c-9429-916003d36597
2012-09-28 15:28:38 +00:00
Jan Möbius
ecb76539f3 Check for invalid HE handle
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@718 fdac6126-5c0c-442c-9429-916003d36597
2012-09-28 15:05:25 +00:00
Isaak Lim
e5ee41bca2 - added double cast
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@717 fdac6126-5c0c-442c-9429-916003d36597
2012-09-28 14:17:37 +00:00
Isaak Lim
020f990aab - took out static_cast in McDecimater
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@716 fdac6126-5c0c-442c-9429-916003d36597
2012-09-28 13:27:00 +00:00
Jan Möbius
60e0cb36a1 Documentaion
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@715 fdac6126-5c0c-442c-9429-916003d36597
2012-09-28 13:19:17 +00:00
Isaak Lim
0f5235c28e - some small fixes
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@714 fdac6126-5c0c-442c-9429-916003d36597
2012-09-28 13:15:38 +00:00
Isaak Lim
e0ed6ad954 - added random number generator to Core/Utils that generates a double between 0.0 and 1.0 with garantueed precision
- use this random number generator for the McDecimater under Windows, since RAND_MAX is not large enough

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@713 fdac6126-5c0c-442c-9429-916003d36597
2012-09-28 13:07:33 +00:00
Jan Möbius
9478350b30 Removed debug stuff from mixed decimater
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@712 fdac6126-5c0c-442c-9429-916003d36597
2012-09-28 09:40:41 +00:00
Jan Möbius
ccfe862f80 Minor speedup of McDecimater
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@711 fdac6126-5c0c-442c-9429-916003d36597
2012-09-28 09:38:21 +00:00
Jan Möbius
26e59ab6d7 Added reset function to base decimater
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@710 fdac6126-5c0c-442c-9429-916003d36597
2012-09-28 09:34:14 +00:00
Jan Möbius
398844b1c6 Removed OpenMP stuff
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@709 fdac6126-5c0c-442c-9429-916003d36597
2012-09-28 09:33:48 +00:00
Jan Möbius
db14a8a186 Removed unused parameter
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@708 fdac6126-5c0c-442c-9429-916003d36597
2012-09-27 10:24:03 +00:00
Jan Möbius
301b020b3d Added new clean function removing only primitives
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@707 fdac6126-5c0c-442c-9429-916003d36597
2012-09-27 10:23:42 +00:00
Jan Möbius
c5874871e0 Added new clean function removing only primitives
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@706 fdac6126-5c0c-442c-9429-916003d36597
2012-09-27 10:23:35 +00:00
Isaak Lim
10b271fb56 - added functionaliy for the STLWriter to also write to ostreams
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@705 fdac6126-5c0c-442c-9429-916003d36597
2012-09-27 10:18:43 +00:00
Isaak Lim
7d50c6def6 - added the functionality to read meshes from istreams with the STLReader
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@704 fdac6126-5c0c-442c-9429-916003d36597
2012-09-26 15:02:18 +00:00