33 # error C++ compiler required
36 #ifndef GMIO_SUPPORT_STL_OCC_MESH_H
37 #define GMIO_SUPPORT_STL_OCC_MESH_H
40 #include "../gmio_stl/stl_mesh.h"
41 #include "../gmio_stl/stl_mesh_creator.h"
45 #include <StlMesh_Mesh.hxx>
46 #include <StlMesh_MeshTriangle.hxx>
47 #include <TColgp_SequenceOfXYZ.hxx>
67 inline const StlMesh_Mesh*
mesh()
const {
return m_mesh; }
70 static void get_triangle(
73 void init_C_members();
78 const StlMesh_MeshTriangle* ptr_triangle;
79 const TColgp_SequenceOfXYZ* ptr_vec_vertices;
82 const StlMesh_Mesh* m_mesh;
83 int m_mesh_domain_count;
86 std::vector<triangle_data> m_vec_triangle_data;
88 const StlMesh_SequenceOfMeshTriangle* m_seq_triangle;
89 const TColgp_SequenceOfXYZ* m_seq_vertex;
const StlMesh_Mesh * mesh() const
Definition: stl_occ_mesh.h:67
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.
Provides an interface for accessing the underlying(hidden) user mesh.
Definition: stl_mesh.h:30
const void * cookie
Opaque pointer on the user mesh, passed as first argument to hook functions.
Definition: stl_mesh.h:34
STL mesh triangle.
Definition: stl_triangle.h:30
Provides access to all the triangles of OpenCascade's StlMesh_Mesh.
Definition: stl_occ_mesh.h:61
Provides an interface for the creation of the underlying(hidden) user mesh.
Definition: stl_mesh_creator.h:71
Global declarations for the support module.