v0.1.0
Fast, portable C library for geometry input/output
|
Provides an interface for the creation of the underlying(hidden) user mesh. More...
Data Fields | |
void * | cookie |
Opaque pointer on the user mesh, passed as first argument to hook functions. More... | |
void(* | func_begin_solid )(void *cookie, const struct gmio_stl_mesh_creator_infos *infos) |
Optional pointer on a function that handles declaration of a solid. More... | |
void(* | func_add_triangle )(void *cookie, uint32_t tri_id, const struct gmio_stl_triangle *triangle) |
Pointer on a function that adds a triangle to the user mesh. More... | |
void(* | func_end_solid )(void *cookie) |
Optional pointer on a function that finalizes creation of the user mesh. More... | |
Provides an interface for the creation of the underlying(hidden) user mesh.
void* gmio_stl_mesh_creator::cookie |
Opaque pointer on the user mesh, passed as first argument to hook functions.
void(* gmio_stl_mesh_creator::func_add_triangle)(void *cookie, uint32_t tri_id, const struct gmio_stl_triangle *triangle) |
Pointer on a function that adds a triangle to the user mesh.
The argument triangle
is the triangle to be added, note that struct gmio_stl_triangle::attribute_byte_count is meaningless for STL ascii.
The argument tri_id
is the index of the mesh triangle
void(* gmio_stl_mesh_creator::func_begin_solid)(void *cookie, const struct gmio_stl_mesh_creator_infos *infos) |
Optional pointer on a function that handles declaration of a solid.
void(* gmio_stl_mesh_creator::func_end_solid)(void *cookie) |
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
Fougue © 2016 | Last Update: Fri Jun 24 2016 |