v0.1.0
Fast, portable C library for geometry input/output
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Modules
Data Fields
gmio_stl_read_options Struct Reference

Options of function gmio_stl_read() More...

Data Fields

struct gmio_memblock stream_memblock
 Used by the stream to bufferize I/O operations. More...
 
struct gmio_task_iface task_iface
 Optional interface by which the I/O operation can be controlled. More...
 
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. More...
 

Detailed Description

Options of function gmio_stl_read()

Field Documentation

gmio_streamsize_t(* gmio_stl_read_options::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.

Useful only with STL ascii format. If set to NULL then by default gmio_stream::func_size() is called.

The resulting stream size is passed to gmio_task_iface::func_handle_progress() as the max_value argument.

See also
gmio_stla_infos_get_streamsize()
struct gmio_memblock gmio_stl_read_options::stream_memblock

Used by the stream to bufferize I/O operations.

If null, then a temporary memblock is created with the global default constructor function

See also
gmio_memblock_isnull()
gmio_memblock_default()
struct gmio_task_iface gmio_stl_read_options::task_iface

Optional interface by which the I/O operation can be controlled.


The documentation for this struct was generated from the following file:
Fougue © 2016