37 #ifndef GMIO_STL_IO_OPTIONS_H
38 #define GMIO_STL_IO_OPTIONS_H
42 #include "../gmio_core/endian.h"
43 #include "../gmio_core/stream.h"
44 #include "../gmio_core/task_iface.h"
45 #include "../gmio_core/text_format.h"
Options of function gmio_stl_read()
Definition: stl_io_options.h:53
enum gmio_float_text_format stla_float32_format
The format used when writting float values as strings.
Definition: stl_io_options.h:141
bool stl_write_triangles_only
Flag allowing to skip writting of any header/footer data, but just triangles.
Definition: stl_io_options.h:122
struct gmio_task_iface task_iface
See gmio_stl_read_options::task_iface.
Definition: stl_io_options.h:108
struct gmio_stlb_header stlb_header
Header data(80-bytes)
Definition: stl_io_options.h:160
bool stla_dont_check_lc_numeric
See gmio_stl_read_options::stla_dont_check_lc_numeric.
Definition: stl_io_options.h:111
bool stla_dont_check_lc_numeric
Flag allowing to disable checking of the current locale's numeric formatting category.
Definition: stl_io_options.h:93
struct gmio_memblock stream_memblock
Used by the stream to bufferize I/O operations.
Definition: stl_io_options.h:62
struct gmio_task_iface task_iface
Optional interface by which the I/O operation can be controlled.
Definition: stl_io_options.h:65
const char * stla_solid_name
Name of the solid to appear in solid [name] facet normal ...
Definition: stl_io_options.h:132
Global declarations for the STL module.
Options of function gmio_stl_write()
Definition: stl_io_options.h:102
int64_or_long gmio_streamsize_t
Type able to represent the size(in bytes) of a stream.
Definition: stream.h:58
struct gmio_memblock stream_memblock
See gmio_stl_read_options::stream_memblock.
Definition: stl_io_options.h:105
gmio_float_text_format
This enum defines the various formats to textually represent a float.
Definition: text_format.h:43
uint8_t stla_float32_prec
The maximum number of significant digits when writting float values.
Definition: stl_io_options.h:149
Stream that can get input from an arbitrary data source or can write output to an arbitrary data sink...
Definition: stream.h:79
gmio_streamsize_t(* func_stla_get_streamsize)(struct gmio_stream *stream, struct gmio_memblock *stream_memblock)
Optional pointer to a function that returns the size(in bytes) of the STL ascii data to read...
Definition: stl_io_options.h:78
Basic memory block.
Definition: memblock.h:59
Defines an interface through which a task can be controlled.
Definition: task_iface.h:43