v0.1.0
Fast, portable C library for geometry input/output
|
Provides seamless integration with other 3rd-party libraries. More...
Data Structures | |
struct | gmio_stl_mesh_occshape |
Provides access to all the internal triangles of OpenCascade's TopoDS_Shape . More... | |
struct | gmio_stl_mesh_occmesh |
Provides access to all the triangles of OpenCascade's StlMesh_Mesh . More... | |
struct | gmio_stl_mesh_occmeshvs |
Provides access to all the triangles of OpenCascade's MeshVS_DataSource . More... | |
Functions | |
gmio_stl_mesh_creator | gmio_stl_occmesh_creator (StlMesh_Mesh *mesh) |
Returns a gmio_stl_mesh_creator that will build a new domain in a StlMesh_Mesh object. More... | |
gmio_stl_mesh_creator | gmio_stl_occmesh_creator (const Handle_StlMesh_Mesh &hnd) |
Same as gmio_stl_occmesh_creator(StlMesh_Mesh*) but takes a handle. More... | |
template<typename CHAR , typename TRAITS > | |
gmio_stream | gmio_istream_cpp (std::basic_istream< CHAR, TRAITS > *s) |
Returns a gmio_stream for C++ input stream (cookie will hold s ) More... | |
template<typename CHAR , typename TRAITS > | |
gmio_stream | gmio_ostream_cpp (std::basic_ostream< CHAR, TRAITS > *s) |
Returns a gmio_stream for C++ output stream (cookie will hold s ) More... | |
struct gmio_stream | gmio_stream_qiodevice (QIODevice *device) |
Returns a gmio_stream for QIODevice* (cookie will hold device ) More... | |
Provides seamless integration with other 3rd-party libraries.
gmioSupport
is the bridge between gmio
and other 3rd-party libraries (eg. OpenCascade, Qt, ...)
STL | |||
---|---|---|---|
import | export | header | |
StlMesh_Mesh | yes | yes | stl_occ_mesh.h |
MeshVS_DataSource | no | yes | stl_occ_meshvs.h |
TopoDS_Shape | no | yes | stl_occ_brep.h |
read | write | header | |
---|---|---|---|
Qt QIODevice | yes | yes | stream_qt.h |
std::basic_istream<> | yes | no | stream_cpp.h |
std::basic_ostream<> | no | yes | stream_cpp.h |
To avoid the dependency of gmio
library on some other binaries, compilation of gmioSupport
is left to the developer.
For example if Qt streams are needed then the target project must build somehow gmio_support/stream_qt.cpp
All gmio_support
source files are copied with install target (ie by doing (n)make install
) to PREFIX/src/gmio_support
gmio_stream gmio_istream_cpp | ( | std::basic_istream< CHAR, TRAITS > * | s | ) |
Returns a gmio_stream for C++ input stream (cookie will hold s
)
gmio_stream gmio_ostream_cpp | ( | std::basic_ostream< CHAR, TRAITS > * | s | ) |
Returns a gmio_stream for C++ output stream (cookie will hold s
)
gmio_stl_mesh_creator gmio_stl_occmesh_creator | ( | StlMesh_Mesh * | mesh | ) |
Returns a gmio_stl_mesh_creator that will build a new domain in a StlMesh_Mesh object.
The creator's cookie will point mesh
gmio_stl_mesh_creator gmio_stl_occmesh_creator | ( | const Handle_StlMesh_Mesh & | hnd | ) |
Same as gmio_stl_occmesh_creator(StlMesh_Mesh*) but takes a handle.
The creator's cookie will point to the internal data(ie StlMesh_Mesh*) of handle hnd
struct gmio_stream gmio_stream_qiodevice | ( | QIODevice * | device | ) |
Returns a gmio_stream for QIODevice*
(cookie will hold device
)
Fougue © 2016 | Last Update: Fri Jun 24 2016 |