Commit Graph

364 Commits

Author SHA1 Message Date
Matthias Möller
ec3667c198 - improve warning text
- add checkbox to disable warning

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1232 fdac6126-5c0c-442c-9429-916003d36597
2015-03-04 14:51:24 +00:00
Matthias Möller
53b9020496 bringing back the old circulators. marked decrement operator as deprecated. Please use CW/CCW iterators
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1230 fdac6126-5c0c-442c-9429-916003d36597
2015-03-04 12:59:54 +00:00
Matthias Möller
eb877fe9da adding cw and ccw circulators
closes #2406

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1227 fdac6126-5c0c-442c-9429-916003d36597
2015-02-23 16:02:40 +00:00
Matthias Möller
0f9b4c2358 - changed lap_counter to int type
- extent circulator unittests for endings testing now the cases: (--endIter).is_valid and (++(--startIter)).is_valid

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1226 fdac6126-5c0c-442c-9429-916003d36597
2015-02-19 15:47:21 +00:00
Jan Möbius
1af153e52d refs #1382
- Fixed the problem that the end iterator could become valid again if it was incremented.
- Decrementing the start iterator will return an invalid iterator now (Maybe we can implement reverse iterators)
- Removed one check from the iteration, which should result in faster execution of is_valid().



git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1225 fdac6126-5c0c-442c-9429-916003d36597
2015-02-19 09:58:00 +00:00
Matthias Möller
74942b5eb7 fix "relink failed" condition
closes #1244

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1220 fdac6126-5c0c-442c-9429-916003d36597
2015-02-10 14:15:25 +00:00
Hans-Christian Ebke
2aed896a45 Added helpful doxygen descriptions to circulators.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1189 fdac6126-5c0c-442c-9429-916003d36597
2015-01-08 09:29:49 +00:00
Jan Möbius
b3778b230f Updated copyright headers
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1188 fdac6126-5c0c-442c-9429-916003d36597
2015-01-05 15:34:10 +00:00
Hans-Christian Ebke
09190c7c25 Fixed constness of EntityRange begin() and end() methods.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1182 fdac6126-5c0c-442c-9429-916003d36597
2014-11-05 17:03:35 +00:00
Jan Möbius
24bd7be273 Fixed several unused variables
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1150 fdac6126-5c0c-442c-9429-916003d36597
2014-08-29 08:28:47 +00:00
Matthias Möller
040bfbb0f5 fix this ptr
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1146 fdac6126-5c0c-442c-9429-916003d36597
2014-08-28 11:44:20 +00:00
Matthias Möller
d633dfc737 - change name of the types "True" and "False" to "TrueType" and "FalseType" to clearify, that these are types
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1137 fdac6126-5c0c-442c-9429-916003d36597
2014-08-11 09:47:41 +00:00
Jan Möbius
0bc61d5839 OM3 fix
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1129 fdac6126-5c0c-442c-9429-916003d36597
2014-07-31 09:29:42 +00:00
Jan Möbius
f46a7a37bd Typo fixed from last commit
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1059 fdac6126-5c0c-442c-9429-916003d36597
2014-05-13 10:36:57 +00:00
Jan Möbius
3aad61401f Fixed copy paste typos in the vertex face and face face range code
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1058 fdac6126-5c0c-442c-9429-916003d36597
2014-05-13 10:33:24 +00:00
Jan Möbius
e953f9977d - Fixed calc_normals_... functions (Missing this pointer)
- Added unittests for the normal calculation functions 


M    src/OpenMesh/Core/Mesh/PolyMeshT.cc
M    src/Unittests/unittests_trimesh_normal_calculations.cc


git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1036 fdac6126-5c0c-442c-9429-916003d36597
2014-05-04 15:47:22 +00:00
Hans-Christian Ebke
21562a7c38 PolyConnectivity: Added range based circulators courtesy of Kenshi Takayama. (Thanks!)
Also rearranged the code a bit in order to have all range based stuff
in one place and limited line width to 80 chars.

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1035 fdac6126-5c0c-442c-9429-916003d36597
2014-05-02 08:58:56 +00:00
Jan Möbius
db4bfbf3b9 Fix for c++11 call to pointer to member function of type 'VertexIter ()' drops 'const' qualifier (Thanks to Ronald Richter and Kenshi Takayama for the fix)
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1021 fdac6126-5c0c-442c-9429-916003d36597
2014-04-23 10:48:39 +00:00
Jan Möbius
68a3ff3136 The annual License Header Bump (Sorry for the rebuilds ;-) )
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@990 fdac6126-5c0c-442c-9429-916003d36597
2014-02-05 09:01:07 +00:00
Hans-Christian Ebke
a0cf6bac3c OpenMesh: Added convenience method for face centroid computation.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@989 fdac6126-5c0c-442c-9429-916003d36597
2014-01-29 15:05:09 +00:00
Jan Möbius
ae7ae806ae Added HalfedgeLoop iterator to iterate over loops of halfedges (faces, hoes). closes #1979
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@987 fdac6126-5c0c-442c-9429-916003d36597
2014-01-15 15:43:16 +00:00
Hans-Christian Ebke
18d44c13e7 Added more convenient versions of calc_edge_vector to PolyMeshT.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@986 fdac6126-5c0c-442c-9429-916003d36597
2014-01-11 22:52:16 +00:00
Jan Möbius
6c7d87b460 - Fixed crash of std::string initialization
- Fixed documentation mixing primitives



git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@973 fdac6126-5c0c-442c-9429-916003d36597
2013-10-16 11:16:21 +00:00
Hans-Christian Ebke
dc5785e812 Put mesh_cast methods into surrounding namespace so clang finds them.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@960 fdac6126-5c0c-442c-9429-916003d36597
2013-09-23 09:35:47 +00:00
Hans-Christian Ebke
a7d3a16a28 Corrected documentation for mesh_cast related stuff.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@959 fdac6126-5c0c-442c-9429-916003d36597
2013-09-20 14:21:55 +00:00
Jan Möbius
ee37edb46b - Fixed segfault of copy_all_properties if one property has been removed before. (Thanks to Simon Flöry for the patch)
- Added unittest for this case



git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@951 fdac6126-5c0c-442c-9429-916003d36597
2013-08-29 07:17:03 +00:00
Jan Möbius
cb25e07252 cppcheck
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@936 fdac6126-5c0c-442c-9429-916003d36597
2013-08-21 07:52:33 +00:00
Jan Möbius
201c0ceecb OM 3 change
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@935 fdac6126-5c0c-442c-9429-916003d36597
2013-08-20 15:45:10 +00:00
Jan Möbius
29011e25d2 Updated license headers
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@922 fdac6126-5c0c-442c-9429-916003d36597
2013-08-11 10:26:11 +00:00
Hans-Christian Ebke
ef1727f21a Added mesh cast for meshes with different but identical traits.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@920 fdac6126-5c0c-442c-9429-916003d36597
2013-08-09 09:57:18 +00:00
Isaak Lim
2eeb756b6a - marked current_halfedge_handle as deprecated
- updated code to fix related warnings
- added some unittests to ensure unchanged behaviour when replacing current_halfedge_handle

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@917 fdac6126-5c0c-442c-9429-916003d36597
2013-08-08 12:47:48 +00:00
Hans-Christian Ebke
cb16ac26d6 Removed unnecessary parameters from circulator members.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@916 fdac6126-5c0c-442c-9429-916003d36597
2013-08-08 10:15:53 +00:00
Isaak Lim
7bababee5c updated the documentation for the improved iterators and circulators
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@915 fdac6126-5c0c-442c-9429-916003d36597
2013-08-08 09:22:50 +00:00
Jan Möbius
daea181b2f Next set
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@908 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 11:32:50 +00:00
Jan Möbius
0217136b5e Next changeset
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@907 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 11:18:44 +00:00
Jan Möbius
e21e113b50 Replaced all .handle() calls
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@904 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 10:43:06 +00:00
Jan Möbius
50dc9e8478 Next change set for the new interface
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@902 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 10:26:50 +00:00
Jan Möbius
afda61f067 First set of changes to the new circulators
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@898 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 09:40:10 +00:00
Jan Möbius
17fdd5a08c Removed extra typename keyword in non template code
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@896 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 09:26:22 +00:00
Hans-Christian Ebke
d48d9466af Fixing operator-> in circulators.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@895 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 09:24:06 +00:00
Hans-Christian Ebke
26f9e84e59 Added stream operator for FVIter.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@894 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 09:24:04 +00:00
Hans-Christian Ebke
7e8fd1e6fc Added a whole bunch of assertions to PolyConnectivity.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@893 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 09:19:16 +00:00
Matthias Möller
f9211ab883 - add missing includes
- fix msvc warning/preprocessor operator

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@892 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 08:50:58 +00:00
Hans-Christian Ebke
7a2d40d8a6 Rewrite for all circulators complete.
Conflicts:
	src/OpenMesh/Core/Mesh/CirculatorsT.hh

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@891 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 08:03:44 +00:00
Hans-Christian Ebke
b548bf221f Rewrote vertex-centered circulators.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@890 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 08:03:42 +00:00
Jan Möbius
5c2285eabe Wrong variable type
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@875 fdac6126-5c0c-442c-9429-916003d36597
2013-07-24 11:26:46 +00:00
Jan Möbius
0510d14f62 Two more fixes
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@871 fdac6126-5c0c-442c-9429-916003d36597
2013-07-24 11:20:58 +00:00
Jan Möbius
a1ebb8b7b5 size_t fix in arrykernel
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@867 fdac6126-5c0c-442c-9429-916003d36597
2013-07-24 08:25:05 +00:00
Jan Möbius
435d714121 size_t fix in polyconnectivity
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@866 fdac6126-5c0c-442c-9429-916003d36597
2013-07-24 08:23:36 +00:00
Jan Möbius
273c1581d7 size_t fix in polyconnectivity
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@865 fdac6126-5c0c-442c-9429-916003d36597
2013-07-24 08:22:35 +00:00