48 # error C++ compiler required
55 #include "../gmio_stl/stl_mesh.h"
57 #include <Poly_Triangulation.hxx>
58 #include <TopoDS_Shape.hxx>
78 const TopoDS_Shape*
shape()
const {
return m_shape; }
81 static void get_triangle(
84 void init_C_members();
89 const TColgp_Array1OfPnt* ptr_nodes;
91 struct triangle_data {
92 const Poly_Triangle* ptr_triangle;
93 const face_data* ptr_face_data;
96 std::vector<face_data> m_vec_face_data;
97 std::vector<triangle_data> m_vec_triangle_data;
98 const TopoDS_Shape* m_shape;
115 TopoDS_Shape&
shape() {
return m_shape; }
118 static void end_solid(
void*
cookie);
119 void (*m_func_end_solid_occpolytri)(
void*
cookie);
120 TopoDS_Shape m_shape;
Provides creation of an OpenCascade TopoDS_Shape containing no geometrical surfaces but only a Poly_T...
Definition: stl_occ_brep.h:111
TopoDS_Shape & shape()
Definition: stl_occ_brep.h:115
Provides an interface for accessing the underlying(hidden) user mesh.
Definition: stl_mesh.h:43
STL support of OpenCascade's Poly_Triangulation.
const void * cookie
Opaque pointer on the user mesh, passed as first argument to hook functions.
Definition: stl_mesh.h:47
void * cookie
Opaque pointer on the user mesh, passed as first argument to hook functions.
Definition: stl_mesh_creator.h:82
STL mesh triangle.
Definition: stl_triangle.h:43
Provides access to the internal triangles of an OpenCascade TopoDS_Shape.
Definition: stl_occ_brep.h:73
Provides creation of an OpenCascade Poly_Triangulation.
Definition: stl_occ_polytri.h:99
gmio_stl_mesh_creator_occshape()
Global declarations for the support module.
const TopoDS_Shape * shape() const
Definition: stl_occ_brep.h:78