Max Lyon
|
59677ea03e
|
improve binary documentation
|
2021-03-02 11:14:55 +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
|
414c3507f2
|
only add properties with property creator when they not already exist
|
2021-03-02 01:22:56 +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
|
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
|
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 |
|
Max Lyon
|
cb1365f199
|
fix indentation
|
2021-01-19 15:39:58 +01:00 |
|
Alexandra Heuschling
|
cc75d6a040
|
clean up code
|
2021-01-18 16:02:31 +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
|
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 |
|
Alexandra Heuschling
|
1aa8e25bb8
|
fix indentation and add comments
|
2020-12-04 17:26:37 +01:00 |
|
Alexandra Heuschling
|
3b6424c1a7
|
add support for signed char
|
2020-12-01 16:34:40 +01:00 |
|
Max Lyon
|
fcb7680610
|
use omlog instead of clog
|
2020-11-30 20:52:06 +01:00 |
|
Max Lyon
|
9c4679f903
|
add missing endl
|
2020-11-30 20:51:56 +01:00 |
|
Alexandra Heuschling
|
11c092e8e2
|
add support for vector types
|
2020-11-29 17:38:34 +01:00 |
|
Alexandra Heuschling
|
0b18560655
|
remove debugg output
|
2020-11-29 17:37:46 +01:00 |
|
Alexandra Heuschling
|
8b79e67a39
|
add if-statement so that reader still supports older versions
|
2020-11-26 17:51:43 +01:00 |
|
Alexandra Heuschling
|
e81a771656
|
update version of OM file
|
2020-11-26 17:50:02 +01:00 |
|
Alexandra Heuschling
|
5af470edd5
|
move function from OMFormat.hh to typename.hh
|
2020-11-26 17:48:53 +01:00 |
|
Alexandra Heuschling
|
2f6fde338d
|
add property to be able to restore data from file
|
2020-11-17 21:35:07 +01:00 |
|
Alexandra Heuschling
|
3f9bdce467
|
add check for types
|
2020-11-17 21:26:43 +01:00 |
|
Alexandra Heuschling
|
6ba0ccc175
|
add helper functions for type recognition
|
2020-11-17 21:25:30 +01:00 |
|
Alexandra Heuschling
|
ede7dca790
|
Merge branch 'CustomProperties' of https://www.graphics.rwth-aachen.de:9000/OpenMesh/OpenMesh into CustomProperties
# Conflicts:
# src/OpenMesh/Core/IO/writer/OMWriter.cc
|
2020-11-10 16:48:50 +01:00 |
|
Alexandra Heuschling
|
53e68c18a1
|
add function to OMReader, to be consistent with OMWriter
|
2020-11-10 16:43:34 +01:00 |
|
Max Lyon
|
fa345b5e22
|
Merge branch 'master' into CustomProperties
|
2020-11-09 17:04:20 +01:00 |
|
Max Lyon
|
4436f3299d
|
cast to pointers instead of references
|
2020-11-09 15:28:01 +01:00 |
|
Alexandra Heuschling
|
2d1ebf5a8c
|
implement two ways of finding out the type of property
|
2020-11-05 21:27:02 +01:00 |
|
Alexandra Heuschling
|
afaa48ac8b
|
add new type to PropertyType enum
|
2020-11-05 21:26:16 +01:00 |
|
Alexandra Heuschling
|
b50dafaf34
|
add enum PropertyType, so that properties can be restored from .om files
|
2020-11-05 20:03:51 +01:00 |
|
Jan Möbius
|
5f3f57e8cb
|
Change stl reader behaviour on extension .stl , Don't check for the solid keyword explicitly
|
2020-10-09 09:33:28 +02:00 |
|
Jan Möbius
|
2667c669c4
|
Change stl reader behaviour on extension .stl , Don't check for the solid keyword explicitly
|
2020-10-09 09:31:19 +02:00 |
|
Jan Möbius
|
673f85e6b3
|
Merge branch 'master' into remove_compile_order_check
|
2020-06-24 09:28:35 +02:00 |
|
Martin Marinov
|
8ac6e07c43
|
Fix a bug where the OM format write code tries to access the second character in property names that have 0 or 1 characters. Also improve the code quality.
|
2020-06-08 16:37:19 +01:00 |
|
Martin Marinov
|
061bd7ee6a
|
Fix a size_t to int cast warning
|
2020-05-13 02:14:14 +01:00 |
|
Max Lyon
|
d1da33cd1d
|
write face normals as double
|
2020-02-10 09:19:09 +01:00 |
|
Max Lyon
|
7ee8e6e9f6
|
inline is_double specialization
|
2020-02-06 08:27:47 +01:00 |
|
Max Lyon
|
0e8c46ab84
|
add missing include and is_double function
|
2020-02-05 22:15:27 +01:00 |
|
Max Lyon
|
63dd997489
|
let OMReader and OMWriter read and write double positions and normals
|
2020-02-05 22:13:36 +01:00 |
|
Max Lyon
|
337fb4571d
|
add methods to import to set positions and normals from doubles
|
2020-02-05 22:12:53 +01:00 |
|
Max Lyon
|
2356364085
|
add methods to export the check if positions or normals are double and get them as doubles
|
2020-02-05 22:11:10 +01:00 |
|
Max Lyon
|
ee752ce996
|
fix unsed variables in writers
|
2019-12-09 11:15:09 +01:00 |
|
Jan Möbius
|
e13452336c
|
Removed temp file
|
2019-09-03 08:22:46 +02:00 |
|
Jan Möbius
|
70c0123bfe
|
PLY: add short/ushort support to readInteger.
|
2019-09-03 08:20:12 +02:00 |
|
Jan Möbius
|
d28df7edcb
|
PLY: convert readInteger into a template
|
2019-09-03 08:18:41 +02:00 |
|