Commit Graph

1369 Commits

Author SHA1 Message Date
Max Lyon
9b85f7713e make it so that CCW iter ranges are the reverse of CW iter ranges, i.e. they do not start with the same element anymore 2021-03-09 15:32:44 +01:00
Max Lyon
b2bcded8ec add access to cw and ccw ranges in SmartHandles 2021-03-09 10:57:17 +01:00
Max Lyon
0fc413d74e add cw and ccw version for ranges 2021-03-09 09:04:25 +01:00
Max Lyon
b3821e6289 allow custom start for vih_range and voh_range 2021-03-09 09:03:55 +01:00
Max Lyon
e8b5529320 fix a warning 2021-03-02 12:11:04 +01:00
Max Lyon
59677ea03e improve binary documentation 2021-03-02 11:14:55 +01:00
Max Lyon
ee53f78b65 fix indentation 2021-03-02 11:14:46 +01:00
Max Lyon
f21bbed42a minor code improvements in binary struct 2021-03-02 10:28:16 +01:00
Max Lyon
657128e6d4 store and restore individual elements of vectors if the data is not densely packed in the vector 2021-03-02 02:11:18 +01:00
Max Lyon
c1f3a4d3d1 add missing PropHandle specialization for MeshHandle 2021-03-02 02:08:17 +01:00
Max Lyon
414c3507f2 only add properties with property creator when they not already exist 2021-03-02 01:22:56 +01:00
Max Lyon
a1b3729d32 add string for type std::string 2021-03-02 01:22:19 +01:00
Max Lyon
f004b02505 prevent access to first element of vector when vector is empty when writing properties 2021-03-01 21:12:43 +01:00
Alexandra Heuschling
5fd6d8ce44 Merge branch 'CustomProperties' of https://www.graphics.rwth-aachen.de:9000/OpenMesh/OpenMesh into CustomProperties 2021-02-26 19:19:37 +01:00
Alexandra Heuschling
d1cad96bfc clean up code 2021-02-26 19:15:40 +01:00
Alexandra Heuschling
6eb87d89fd clean up old code 2021-02-26 19:13:09 +01:00
Alexandra Heuschling
0b7aea5dee add property creator for basic std::vector 2021-02-26 19:10:57 +01:00
Alexandra Heuschling
5c0066b490 adapt store/restore functions as well as size of, so that
for std::vector the size is stored if desired
2021-02-26 19:04:20 +01:00
Alexandra Heuschling
cf45a5d3cc support each type of std::vector for storing and restoring 2021-02-26 19:01:23 +01:00
Jan
b7a9f8af46 Merge branch 'master' into CustomProperties 2021-02-17 17:16:37 +01:00
Jan Möbius
0031513835 Fixed a crash in the modified butterfly subdivider with vertices with valance larger than 30. 2021-02-16 13:13:15 +01:00
Jan Möbius
d92b5ce5ab Merge branch 'optional_header_installing' into 'master'
add cmake variable that controls if headers should be installed or not

See merge request OpenMesh/OpenMesh!298
2021-02-14 20:30:08 +00:00
Max Lyon
b32d5ef803 add cmake variable that controls if headers should be installed or not 2021-02-14 18:41:06 +01:00
Jan Möbius
b291682540 Warn in documentation about using reference to mesh itself when adding verticies 2021-02-12 10:44:22 +01:00
Jan Möbius
ce49891c49 Throw assertion in debug when adding topologically degenerate faces
closes #66
2021-01-25 16:06:36 +01:00
Max Lyon
b15dec6839 make bigobj public 2021-01-22 14:24:17 +01:00
Jan Möbius
2504cac566 Replace remaining PROJECT_NAMES with CMAKE_PROJECT_NAMES 2021-01-20 16:27:55 +01:00
Jan Möbius
b7dec01397 Merge branch 'master' into VERSION_file_removal 2021-01-20 13:02:13 +01:00
Jan Möbius
90bb606aa6 Removed the old vci get version call 2021-01-20 12:29:24 +01:00
Alexandra Heuschling
a4345d4875 Merge branch 'CustomProperties' of https://www.graphics.rwth-aachen.de:9000/OpenMesh/OpenMesh into CustomProperties 2021-01-19 17:06:11 +01:00
Alexandra Heuschling
28c71fec82 add /bigobj to compile options for visual studio 2021-01-19 17:05:41 +01:00
Max Lyon
e61eb85fd2 Merge branch 'peristent_property_manager' into CustomProperties
# Conflicts:
#	src/OpenMesh/Core/IO/writer/OMWriter.cc
#	src/Unittests/unittests_read_write_OM.cc
2021-01-19 15:53:29 +01:00
Max Lyon
cb1365f199 fix indentation 2021-01-19 15:39:58 +01:00
Max Lyon
2fba57e123 add method to property manager to set property persistent 2021-01-19 15:34:41 +01:00
Alexandra Heuschling
cc75d6a040 clean up code 2021-01-18 16:02:31 +01:00
Alexandra Heuschling
f46f4b2348 use std::find_if instead of raw loop to follow style guides 2021-01-17 15:30:47 +01:00
Alexandra Heuschling
0d9a2bcf3c add OPENMESHDLLEXPORT macro for the windows build 2021-01-16 17:56:55 +01:00
Alexandra Heuschling
830fc2554c pass variable property_handle by const reference 2021-01-16 17:09:59 +01:00
Jan Möbius
b9cd4027ea Merge branch 'cmake-library' into 'master'
use CMake library

See merge request OpenMesh/OpenMesh!288
2021-01-15 10:12:11 +01:00
Patrick Schmidt
312b155955 Disable debug output when writing .om file 2021-01-14 18:54:50 +01:00
Alexandra Heuschling
74132eff65 support now face coords for OM reader/writer 2021-01-13 14:15:08 +01:00
Alexandra Heuschling
bdd10562d2 add binary for handles and add string recognition support for meshhandle 2021-01-06 23:30:31 +01:00
Alexandra Heuschling
d2d38ce22c adapte property creator, so that it uses string_for_value_type (void) for
type string recognition

Signed-off-by: Alexandra Heuschling <aheuschling@cox.informatik.rwth-aachen.de>
2021-01-05 17:53:44 +01:00
Alexandra Heuschling
1bb7e232f7 adapted property, so that is uses static function string_for_value_type (void)
from binary struct for string identification
2021-01-05 17:52:44 +01:00
Alexandra Heuschling
6932a33414 added static function string_for_value_type (void) to binary struct
and adapted each instance
2021-01-05 17:50:52 +01:00
Alexandra Heuschling
d835958b6b add binary struct for openmesh vector of size 5 2021-01-05 17:49:21 +01:00
Alexandra Heuschling
ef529c8b52 refactor functionality. Types can now be registered 2020-12-21 15:22:46 +01:00
Max Lyon
d095500098 fix wrong doxygen path 2020-12-07 14:07:41 +01:00
Max Lyon
2372e6ce4e remove deprecated code 2020-12-07 14:07:17 +01:00
Max Lyon
139719433a fix wrong endif comment 2020-12-07 14:07:03 +01:00