Commit Graph

137 Commits

Author SHA1 Message Date
Hugues Delorme
b0517b2f39 gmio: add get/set_pos functions to gmio_stream 2015-09-18 14:33:23 +02:00
Hugues Delorme
ac7fd554f8 stla: fix two potential bugs in gmio_stla_read()
* more tolerant read of solid name (can even include "solid")
* set the attribute_byte_count to 0 (triangle passed to callback)
2015-09-11 16:34:18 +02:00
Hugues Delorme
e60938ea84 Use Doxygen grouping 2015-09-09 11:44:34 +02:00
Hugues Delorme
16fdbb799c gmio_stl: fix Doxygen warnings about invalid <name> HTML tag 2015-09-09 10:56:42 +02:00
Hugues Delorme
56142b5826 gmio_stl: move param doc inline 2015-07-28 15:14:39 +02:00
Hugues Delorme
c406a8bb92 Replace fougsys.fr -> fougue.pro 2015-07-13 11:44:29 +02:00
Hugues Delorme
f0f30bb8f1 gmio_stl: silent false-positive coverity defect 2015-07-13 11:20:26 +02:00
Hugues Delorme
13b1d32a9a Rename pointer on functions members
xxx_func -> func_xxx
2015-07-10 11:33:05 +02:00
Hugues Delorme
26fc957569 gmio_stl: fix case where solid name is composed of many words 2015-07-10 10:55:02 +02:00
Hugues Delorme
2857f5ca30 gmio_stl: add gmio_stl_get_format_file() 2015-07-10 09:54:22 +02:00
Hugues Delorme
2b099f8edb gmio_stl: simplify doc on STL error codes 2015-06-10 16:11:16 +02:00
Hugues Delorme
9091d714b2 gmio_stl: fix doc about filepath argument in stl_io.h 2015-06-10 15:05:49 +02:00
Hugues Delorme
3508eaa236 gmio_stl: fix regression in gmio_stlb_read() 2015-05-28 17:32:05 +02:00
Hugues Delorme
304e1c39bb gmio_core,stl: add new error code GMIO_ERROR_STDIO 2015-05-28 17:31:36 +02:00
Hugues Delorme
3511859908 Hexadecimal error codes 2015-05-28 16:19:31 +02:00
Hugues Delorme
742de300fe gmio_stl: for passing STL binary header data, replace uint8_t* with new gmio_stlb_header 2015-05-28 16:19:07 +02:00
Hugues Delorme
28d133dfa0 gmio_stl: fix doc 2015-05-28 09:52:56 +02:00
Hugues Delorme
fec6742698 GeomIO -> gmio 2015-05-28 09:40:24 +02:00
Hugues Delorme
fcf5e1b5bd cmake: add doc target 2015-05-28 09:36:24 +02:00
Hugues Delorme
6eb38fcd8b gmio_stl: add option "stl_write_triangles_only" and function gmio_stlb_write_header() 2015-05-27 17:29:48 +02:00
Hugues Delorme
47f3724b3c gmio_stl: fix minor code style issue 2015-05-06 09:01:56 +02:00
Hugues Delorme
19316bc3ee gmio_stl: remove GMIO_LIBSTL_EXPORT from internal function decl 2015-05-06 09:01:38 +02:00
Hugues Delorme
25df817b82 Update copyright 2015-04-30 18:19:45 +02:00
Hugues Delorme
b0fdde43da gmio_stl: rename error GMIO_STL_ERROR_INVALID_REAL32_PREC to GMIO_STL_ERROR_INVALID_FLOAT32_PREC 2015-04-15 17:14:34 +02:00
Hugues Delorme
d3fb4132fb gmio_stl: add option stla_float32_format 2015-04-15 17:11:15 +02:00
Hugues Delorme
32ef47c0d3 gmio_stl: remove needless #include 2015-04-03 11:16:25 +02:00
Hugues Delorme
4fe921c11a gmio_stl: simplify API for write operation 2015-04-02 18:05:01 +02:00
Hugues Delorme
8d8cff6f0e gmio_stl: fix constness of the mesh param in stl_io.h 2015-04-02 17:09:02 +02:00
Hugues Delorme
f0e4c41ed3 gmio_stl: move stl_io options into stl_io_options.h 2015-04-02 17:00:49 +02:00
Hugues Delorme
38c444e7b0 gmio_stl: add gmio_stl_write() and gmio_stl_write_file() 2015-04-02 16:38:14 +02:00
Hugues Delorme
5302ff1ac6 gmio_stl: let gmio_stl_read_file() accept a gmio_task_iface object 2015-04-02 16:09:08 +02:00
Hugues Delorme
06bf919a3a gmio_stl: minor optimizations in stla_write.c 2015-04-02 15:38:50 +02:00
Hugues Delorme
69d68a4ba9 gmio_stl: simplify façade API for stl_io.h 2015-04-02 15:36:57 +02:00
Hugues Delorme
7fc0836c2b gmio_stl: prefix enum values of gmio_stl_format with GMIO_STL_FORMAT 2015-04-02 10:58:10 +02:00
Hugues Delorme
2af6e06380 gmio_stl,support: better consistency of double-inclusion guard macros 2015-04-02 10:53:58 +02:00
Hugues Delorme
9649f47188 doc: fix doxygen warnings 2015-04-02 10:53:55 +02:00
Hugues Delorme
8ed353ac0e gmio_stl: fix minor header licenses issues 2015-04-02 10:53:54 +02:00
Hugues Delorme
306916327d gmio_core,stl: change prefix of enum values for gmio_error and gmio_stl_error 2015-04-02 10:53:51 +02:00
Hugues Delorme
f09fcaec53 gmio_core: prefix values of gmio_endianness with GMIO_ENDIANNESS 2015-04-02 10:53:40 +02:00
Hugues Delorme
45fd39dd7f gmio_stl: fix some cases where STL ascii format won't be detected
New cases:
  * mixed-case <solid> token like Solid, SOLID, ...
  * <solid> token not followed by space char, like solid\n
2015-03-31 16:18:35 +02:00
Hugues Delorme
f58b6e56b4 gmio_core: add string_utils.h 2015-03-31 16:16:04 +02:00
Hugues Delorme
047f24c6dc gmio_stla: improve error report for input operation, accept mixed-case text 2015-03-31 15:56:36 +02:00
Hugues Delorme
0f3b8d1e59 Improve use of inlined functions 2015-03-31 10:10:26 +02:00
Hugues Delorme
cb39f6e8e6 gmio_stl: fix minor doc issues in stl_io.h 2015-03-30 17:26:38 +02:00
Hugues Delorme
9f5cbf6297 Make all inline functions declared as "static" 2015-03-30 10:53:34 +02:00
Hugues Delorme
ac56054988 gmio_core: make error functions internal and inline 2015-03-30 10:26:39 +02:00
Hugues Delorme
922367f3b1 gmio_stl: add helper functions for gmio_stl_mesh_creator 2015-03-30 10:18:18 +02:00
Hugues Delorme
762ca148cb gmio_stl: minor optimizations 2015-03-30 09:57:48 +02:00
Hugues Delorme
ae82134463 gmio_stl: simplify options in stl_io.h 2015-03-30 09:30:55 +02:00
Hugues Delorme
d73515e9fe gmio_core: make GMIO_HOST_ENDIANNESS a value of gmio_endianness 2015-03-30 09:15:20 +02:00
Hugues Delorme
e15e3f8142 Direct link to the license file 2015-03-30 09:05:25 +02:00
Hugues Delorme
b91b5ad196 gmio_stl: simpler API for gmio_stl_get_format() 2015-03-23 18:21:52 +01:00
Hugues Delorme
6fd9399fdd gmio_stl: new STL read facade functions 2015-03-23 18:21:04 +01:00
Hugues Delorme
1c9ccb6b61 gmio_stl: fix GCC -Wenum-compare warnings 2015-03-20 11:42:57 +01:00
Hugues Delorme
828f970da5 Use configure-time constant for the host's endianness 2015-03-20 11:42:55 +01:00
Hugues Delorme
d4019706a8 gmio_stla: fix bug that would leave stream_size to 0 in gmio_transfer::handle_progress_func() 2015-03-20 11:42:53 +01:00
Hugues Delorme
6b7ead1f24 Improve indentation 2015-03-20 11:42:38 +01:00
Hugues Delorme
e78c398026 gmio_stl: fix crash in case input gmio_transfer is null in gmio_stlb_read() 2015-03-19 16:40:50 +01:00
Hugues Delorme
71b9faff4f gmio_stl: fix sprintf() format issue 2015-03-18 16:27:43 +01:00
Hugues Delorme
d137aac506 gmio_stl: more doc 2015-03-13 12:49:35 +01:00
Hugues Delorme
5d29d48de0 Move GMIO_C_LINKAGE_BEGIN where really useful 2015-03-13 11:07:07 +01:00
Hugues Delorme
86a05d38bb gmio_core: move some helper functions into internal/
This applies to gmio_stream and gmio_transfer helper functions
2015-03-13 11:04:14 +01:00
Hugues Delorme
9ecdd222ea Extend API to support progress handling 2015-03-13 10:32:18 +01:00
Hugues Delorme
8d81cf5922 gmio_core: merge gmio_task_control into gmio_transfer 2015-03-12 17:46:40 +01:00
Hugues Delorme
85481e2e89 doc: effort to make it complete 2015-03-05 10:06:22 +01:00
Hugues Delorme
c0cdd90f96 Rename some internal implementation stuff 2015-03-03 16:54:13 +01:00
Hugues Delorme
31e8daca93 Removed needless comment lines and doxygen tags 2015-03-03 11:37:38 +01:00
Hugues Delorme
0b0152dbb3 Rename gmio_realXX_t to gmio_floatXX_t (XX = 32,64) 2015-03-03 10:44:45 +01:00
Hugues Delorme
ae25e86825 Four spaces indentation 2015-03-03 10:35:36 +01:00
Hugues Delorme
7e32cf99d5 Fix Visual C++ C4267 warnings (conversion from size_t to uint32_t) 2015-03-03 10:29:47 +01:00
Hugues Delorme
819aec00d4 gmio_core: add utility file min_max.h 2015-03-02 18:00:10 +01:00
Hugues Delorme
edf3beca79 gmio_core: rename _ascii_ functions and files to _string_ 2015-03-02 17:54:57 +01:00
Hugues Delorme
1518324fba Add licence files and headers 2015-03-02 17:38:33 +01:00
Hugues Delorme
4f8bdc4a6f Minor doc improvements 2015-03-02 16:49:52 +01:00
Hugues Delorme
0a98161182 gmio_stl: use anonymous enum instead of #define for constants 2015-03-02 16:43:42 +01:00
Hugues Delorme
15518d5a0d stl: consider FLOAT_token as an alias of ID_token 2015-01-29 13:27:07 +01:00
Hugues Delorme
0d43396116 Minor code improvement 2015-01-29 13:25:50 +01:00
Hugues Delorme
3350d8936f Minor doc and indentation improvements 2015-01-28 22:39:03 +01:00
Hugues Delorme
72228a82dc gmio_stl: new API for read/write functions 2014-11-21 11:41:29 +01:00
Hugues Delorme
d2380c7b37 Improve generated documentation 2014-11-21 11:39:23 +01:00
Hugues Delorme
666f90857a gmio_core: limit task_control to interruption request (no progress report feature) 2014-11-20 09:25:43 +01:00
Hugues Delorme
60db7e397a gmio_stl: case insensitive comparison on the first letter in parsing_find_token() 2014-11-20 09:23:03 +01:00
Hugues Delorme
4fa3e7f380 Use = {0} init instead of memset() where applicable 2014-11-19 09:41:10 +01:00
Hugues Delorme
5c959616aa Minor doc improvements 2014-11-19 09:39:56 +01:00
Hugues Delorme
f1e0b1a169 Rename gmio_stl_geom->gmio_stl_mesh and gmio_stl_geom_creator->gmio_stl_mesh_creator 2014-03-31 15:52:04 +02:00
Hugues Delorme
121181bf15 Fix minor code style issues 2014-03-31 15:39:21 +02:00
Hugues Delorme
085644a5e5 Rename FougDataX to gmio (GeoMetry Input/Output) 2014-03-28 16:33:35 +01:00