29 #ifndef NEMOSYS_SMESHGEOMESH_H_ 30 #define NEMOSYS_SMESHGEOMESH_H_ 32 #include "nemosys_export.h" 50 void write(
const std::string &fileName)
override;
51 void report(std::ostream &out)
const override;
53 void setSMeshMesh(std::unique_ptr<SMESH_Mesh> &&
mesh,
54 std::shared_ptr<SMESH_Gen> gen);
55 const SMESH_Mesh &getSMESHMesh()
const;
58 void resetNative()
override;
61 static void GMToSMESH(
const GeoMesh& geoMesh, SMESH_Mesh &outMesh);
63 std::shared_ptr<SMESH_Gen>
gen_;
64 std::unique_ptr<SMESH_Mesh>
mesh_;
70 #endif // NEMOSYS_SMESHGEOMESH_H_
geoMeshBase * New(MeshType meshType)
Create a new mesh object.
std::shared_ptr< meshBase > mesh
std::unique_ptr< SMESH_Mesh > mesh_
std::shared_ptr< SMESH_Gen > gen_
abstract class to specify geometry and mesh data