diff --git a/doc/mainpage.dox b/doc/mainpage.dox index a29fa1e..b7515ed 100644 --- a/doc/mainpage.dox +++ b/doc/mainpage.dox @@ -6,7 +6,7 @@ file formats(eg. STL) gmio aims to be fast, - portable(C90 conformance) and feature-rich. + portable(C99 conformance) and feature-rich. Main highlights: \li Abstract streams that does not tie the user to C stream(\c FILE*) @@ -14,7 +14,16 @@ \li Operations can be easily aborted \li Progress report about the I/O operation - Current version only supports the STereoLithography format(STL), see module \ref gmio_stl + + Supported formats | Read | Write +--------------------------|--------|--------- +STL ascii | yes | yes +STL binary(little-endian) | yes | yes +STL binary(big-endian) | yes | yes +AMF uncompressed | no | yes +AMF zip | no | yes +AMF zip64 | no | yes + \section build Building gmio diff --git a/src/gmio_stl/stl_mesh_creator.h b/src/gmio_stl/stl_mesh_creator.h index d1702e0..31c5200 100644 --- a/src/gmio_stl/stl_mesh_creator.h +++ b/src/gmio_stl/stl_mesh_creator.h @@ -51,10 +51,8 @@ struct gmio_stl_mesh_creator_infos /*! Format of the input STL mesh */ enum gmio_stl_format format; - /*! Null terminated C-string holding the STL mesh(solid) name - * - * Available only if STL ASCII format, \c NULL otherwise - */ + /*! Null terminated C-string holding the STL mesh(solid) name. + * Available only if STL ASCII format, \c NULL otherwise */ const char* stla_solid_name; /*! Total size (in bytes) of the input stream @@ -66,16 +64,12 @@ struct gmio_stl_mesh_creator_infos */ gmio_streamsize_t stla_stream_size; - /*! Contains the header data(80 bytes) - * - * Available only if binary STL, \c NULL otherwise - */ + /*! Contains the header data(80 bytes). + * Available only if binary STL, \c NULL otherwise */ const struct gmio_stlb_header* stlb_header; - /*! Count of mesh facets(triangles) - * - * Available only if binary STL, \c 0 otherwise - */ + /*! Count of mesh facets(triangles). + * Available only if binary STL, \c 0 otherwise */ uint32_t stlb_triangle_count; }; @@ -109,8 +103,7 @@ struct gmio_stl_mesh_creator /*! Optional pointer on a function that finalizes creation of the user mesh * * The function is called at the end of the read process, ie. after all - * triangles have been added - */ + * triangles have been added */ void (*func_end_solid)(void* cookie); }; diff --git a/src/gmio_support/stream_qt.cpp b/src/gmio_support/stream_qt.cpp index d8101ca..651f265 100644 --- a/src/gmio_support/stream_qt.cpp +++ b/src/gmio_support/stream_qt.cpp @@ -31,7 +31,6 @@ #include #include - #include QT_USE_NAMESPACE diff --git a/src/gmio_support/stream_qt.h b/src/gmio_support/stream_qt.h index cb4549d..cd24b20 100644 --- a/src/gmio_support/stream_qt.h +++ b/src/gmio_support/stream_qt.h @@ -28,7 +28,7 @@ ****************************************************************************/ /*! \file stream_qt.h - * Support of Qt's QIODevice (requires at least Qt4) + * Support of Qt's \c QIODevice (requires at least Qt4) * * \addtogroup gmio_support * @{