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

Provides an interface for accessing the underlying(hidden) user mesh. More...

Inheritance diagram for gmio_stl_mesh:
gmio_stl_mesh_occmesh gmio_stl_mesh_occmeshvs gmio_stl_mesh_occshape

Data Fields

const void * cookie
 Opaque pointer on the user mesh, passed as first argument to hook functions. More...
 
uint32_t triangle_count
 Number of triangles in the mesh. More...
 
void(* func_get_triangle )(const void *cookie, uint32_t tri_id, struct gmio_stl_triangle *triangle)
 Pointer on a function that stores the mesh triangle of index tri_id into triangle. More...
 

Detailed Description

Provides an interface for accessing the underlying(hidden) user mesh.

Examples:
/examples/stl_write_file.c.

Field Documentation

const void* gmio_stl_mesh::cookie

Opaque pointer on the user mesh, passed as first argument to hook functions.

Examples:
/examples/stl_write_file.c.
void(* gmio_stl_mesh::func_get_triangle)(const void *cookie, uint32_t tri_id, struct gmio_stl_triangle *triangle)

Pointer on a function that stores the mesh triangle of index tri_id into triangle.

Examples:
/examples/stl_write_file.c.
uint32_t gmio_stl_mesh::triangle_count

Number of triangles in the mesh.

Examples:
/examples/stl_write_file.c.

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