|
MeshKit
1.0
|
A class for generating facet-based mesh of geometric surfaces INPUT: one or more ModelEnts representing geometric surfaces MESH TYPE(S): MBEDGE, MBVERTEX, MBTRI OUTPUT: a set of triangles, edges and verticesfor each ModelEnt DEPENDENCIES: meshkit build with iGeom interface. More...
#include <meshkit/SurfaceFacetMeshReader.hpp>

Public Member Functions | |
| SurfaceFacetMeshReader (MKCore *mk, const MEntVector &ments) | |
| Construction function for the Solid CAD Surface Mesher. | |
| ~SurfaceFacetMeshReader () | |
| Decstructor function for the Solid CAD Surface Mesher. | |
| virtual void | setup_this () |
| Pure virtual, derived class must define. | |
| virtual void | execute_this () |
| Pure virtual, derived class must define. | |
| virtual const moab::EntityType * | mesh_types_arr () const |
| Return the mesh entity types operated on by this scheme. | |
| void | set_mesh_params (double faceting_tolerance=0, double geom_resabs=0) |
Static Public Member Functions | |
| static bool | can_mesh (iBase_EntityType dim) |
| Function returning whether this scheme can mesh entities of the specified dimension. | |
| static bool | can_mesh (ModelEnt *me) |
| Function returning whether this scheme can mesh the specified entity. | |
| static const char * | name () |
| Get the class name. | |
| static const moab::EntityType * | output_types () |
| Function that names the output types of this meshing class. | |
Private Member Functions | |
| void | facet (ModelEnt *surf) |
| Function to for creating triangles and adding them to the ModelEntity's meshset. | |
| double | vtx2vtx_dist (iGeom::EntityHandle vtx1, iMesh::EntityHandle vtx2) |
Private Attributes | |
| double | facet_tol |
| double | geom_res |
| MKCore * | mk |
A class for generating facet-based mesh of geometric surfaces INPUT: one or more ModelEnts representing geometric surfaces MESH TYPE(S): MBEDGE, MBVERTEX, MBTRI OUTPUT: a set of triangles, edges and verticesfor each ModelEnt DEPENDENCIES: meshkit build with iGeom interface.
This class uses the facets generated for the visualization of solid models in typical CAD software to represent a geometric surface as mesh. Upon execution, this class will call for the facet data and store it as part of the ModelEnt's mesh.
Definition at line 37 of file SurfaceFacetMeshReader.hpp.
| SurfaceFacetMeshReader | ( | MKCore * | mk, |
| const MEntVector & | ments | ||
| ) |
Construction function for the Solid CAD Surface Mesher.
Definition at line 22 of file SurfaceFacetMeshReader.cpp.
Decstructor function for the Solid CAD Surface Mesher.
Definition at line 28 of file SurfaceFacetMeshReader.cpp.
| static bool can_mesh | ( | iBase_EntityType | dim | ) | [inline, static] |
Function returning whether this scheme can mesh entities of the specified dimension.
| dim | entity dimension |
Definition at line 58 of file SurfaceFacetMeshReader.hpp.
Function returning whether this scheme can mesh the specified entity.
Used by MeshOpFactory to find scheme for an entity.
| me | ModelEnt being queried |
Definition at line 67 of file SurfaceFacetMeshReader.hpp.
| void execute_this | ( | ) | [virtual] |
Pure virtual, derived class must define.
Implements GraphNode.
Definition at line 77 of file SurfaceFacetMeshReader.cpp.
Function to for creating triangles and adding them to the ModelEntity's meshset.
| surf | ModelEntity for the surface to be meshed. |
Definition at line 93 of file SurfaceFacetMeshReader.cpp.
| virtual const moab::EntityType* mesh_types_arr | ( | ) | const [inline, virtual] |
Return the mesh entity types operated on by this scheme.
moab::MBMAXTYPE Implements MeshOp.
Definition at line 79 of file SurfaceFacetMeshReader.hpp.
| static const char* name | ( | ) | [inline, static] |
Get the class name.
Definition at line 71 of file SurfaceFacetMeshReader.hpp.
| const moab::EntityType * output_types | ( | ) | [static] |
Function that names the output types of this meshing class.
moab::MBMAXTYPE Definition at line 19 of file SurfaceFacetMeshReader.cpp.
| void set_mesh_params | ( | double | faceting_tolerance = 0, |
| double | geom_resabs = 0 |
||
| ) |
Definition at line 186 of file SurfaceFacetMeshReader.cpp.
| void setup_this | ( | ) | [virtual] |
Pure virtual, derived class must define.
Implements GraphNode.
Definition at line 32 of file SurfaceFacetMeshReader.cpp.
| double vtx2vtx_dist | ( | iGeom::EntityHandle | vtx1, |
| iMesh::EntityHandle | vtx2 | ||
| ) | [private] |
Definition at line 193 of file SurfaceFacetMeshReader.cpp.
double facet_tol [private] |
Definition at line 85 of file SurfaceFacetMeshReader.hpp.
double geom_res [private] |
Definition at line 86 of file SurfaceFacetMeshReader.hpp.
Definition at line 87 of file SurfaceFacetMeshReader.hpp.