![]() |
v0.4.1
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 the internal triangles of an OpenCascade TopoDS_Shape . More... | |
struct | gmio_stl_mesh_creator_occshape |
Provides creation of an OpenCascade TopoDS_Shape containing no geometrical surfaces but only a Poly_Triangulation structure. More... | |
struct | gmio_stl_mesh_occmesh |
Provides access to all the triangles of an OpenCascade StlMesh_Mesh . More... | |
struct | gmio_stl_mesh_creator_occmesh |
Provides creation of a new domain within an OpenCascade StlMesh_Mesh . More... | |
struct | gmio_stl_mesh_occmeshvs |
Provides access to all the triangles of an OpenCascade MeshVS_DataSource . More... | |
struct | gmio_stl_mesh_occpolytri |
Provides access to the triangles of an OpenCascade Poly_Triangulation . More... | |
struct | gmio_stl_mesh_creator_occpolytri |
Provides creation of an OpenCascade Poly_Triangulation . More... | |
Functions | |
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 | yes1 | yes | stl_occ_brep.h |
Poly_Triangulation | yes | yes | stl_occ_polytri.h |
1 The resulting TopoDS_Shape
object has no geometrical surface but only a Poly_Triangulation
structure containing all the triangles.
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
)
struct gmio_stream gmio_stream_qiodevice | ( | QIODevice * | device | ) |
Returns a gmio_stream for QIODevice*
(cookie will hold device
)
Fougue © 2017 | Last Update: Fri Apr 14 2017 |