MeshKit
1.0
|
#include <AF2DfltTriangleMeshOp.hpp>
Public Member Functions | |
AF2DfltTriangleMeshOp (MKCore *meshkitCore, const MEntVector &meshEntVec) | |
Constructor. | |
virtual | ~AF2DfltTriangleMeshOp () |
Destructor. | |
AF2DfltTriangleMeshOp (const AF2DfltTriangleMeshOp &toCopy) | |
Copy constructor. | |
AF2DfltTriangleMeshOp & | operator= (const AF2DfltTriangleMeshOp &rhs) |
Assignment operator (throws exception) | |
virtual void | execute_this () |
Execute an advancing front algorithm with the default triangle rules. | |
virtual const moab::EntityType * | mesh_types_arr () const |
Get the mesh entity types that this mesh operation might create. | |
virtual void | setup_this () |
Implement GraphNode::setup_this() to set up edge meshers on any bounding facets that don't have edge meshing set up. | |
Static Public Member Functions | |
static bool | can_mesh (iBase_EntityType dimension) |
Implement RegisterMeshOp<AF2DfltTriangleMeshOp>::can_mesh(iBase_EntityType) | |
static bool | can_mesh (ModelEnt *me) |
Implement RegisterMeshOp<AF2DfltTriangleMeshOp>::can_mesh(ModelEnt*) | |
static const char * | name () |
Implement RegisterMeshOp<AF2DfltTriangleMeshOp>::name() | |
static const moab::EntityType * | output_types () |
Implement RegisterMeshOp<AF2DfltTriangleMeshOp>::output_types() | |
Private Member Functions | |
int | getSFIndex () const |
Get the index of the sizing function that is expected to be the effective sizing function for the specified ModelEnt if/when this MeshOp is executed. | |
Static Private Attributes | |
static moab::EntityType | meshTypes [] |
Definition at line 25 of file AF2DfltTriangleMeshOp.hpp.
AF2DfltTriangleMeshOp | ( | MKCore * | meshkitCore, |
const MEntVector & | meshEntVec | ||
) |
Constructor.
Construct an AF2DfltTriangleMeshOp from the MKCore context that it will operate in and the vector of MeshKit entities, which should correspond to geometric surfaces, that it is supposed to mesh.
meshkitCore | a pointer to the MKCore instance |
meshEntVec | the vector of entities that the AF2DfltTriangleMeshOp should attempt to mesh |
Definition at line 51 of file AF2DfltTriangleMeshOp.cpp.
~AF2DfltTriangleMeshOp | ( | ) | [virtual] |
Destructor.
Definition at line 58 of file AF2DfltTriangleMeshOp.cpp.
AF2DfltTriangleMeshOp | ( | const AF2DfltTriangleMeshOp & | toCopy | ) |
Copy constructor.
Initializes a copy of this using the superclass's copy constructor. In the current implementation (May 2016), this will ultimately create a new graph node and add it to the graph.
toCopy | the AF2DfltTriangleMeshOp that should be copied as this AF2DfltTriangleMeshOp is constructed |
Definition at line 63 of file AF2DfltTriangleMeshOp.cpp.
bool can_mesh | ( | iBase_EntityType | dimension | ) | [static] |
Implement RegisterMeshOp<AF2DfltTriangleMeshOp>::can_mesh(iBase_EntityType)
Definition at line 31 of file AF2DfltTriangleMeshOp.cpp.
Implement RegisterMeshOp<AF2DfltTriangleMeshOp>::can_mesh(ModelEnt*)
Definition at line 36 of file AF2DfltTriangleMeshOp.cpp.
void execute_this | ( | ) | [virtual] |
Execute an advancing front algorithm with the default triangle rules.
This method depends on the completed execution of edge meshing for all edges bounding the face. It extracts the meshes of the bounding geometric edges and uses them to initialize the advancing front.
If the algorithm succeeds, the new vertices and triangles are committed to the mesh in MOAB.
Implements GraphNode.
Definition at line 78 of file AF2DfltTriangleMeshOp.cpp.
int getSFIndex | ( | ) | const [private] |
const moab::EntityType * mesh_types_arr | ( | ) | const [virtual] |
Get the mesh entity types that this mesh operation might create.
Implements MeshOp.
Definition at line 261 of file AF2DfltTriangleMeshOp.cpp.
const char * name | ( | ) | [static] |
Implement RegisterMeshOp<AF2DfltTriangleMeshOp>::name()
Definition at line 41 of file AF2DfltTriangleMeshOp.cpp.
AF2DfltTriangleMeshOp & operator= | ( | const AF2DfltTriangleMeshOp & | rhs | ) |
Assignment operator (throws exception)
The superclasses do not implement an assignment operator. Thus this class does not support an assignment operator, and in order to be explicit about that, it throws an exception if an assignment is attempted.
rhs | the AF2DfltTriangleMeshOp that is to be assigned to this AF2DfltTriangleMeshOp |
Definition at line 69 of file AF2DfltTriangleMeshOp.cpp.
const moab::EntityType * output_types | ( | ) | [static] |
Implement RegisterMeshOp<AF2DfltTriangleMeshOp>::output_types()
Return an appropriately terminated array indicating that this MeshOp can add vertices and triangles to the mesh.
Definition at line 46 of file AF2DfltTriangleMeshOp.cpp.
void setup_this | ( | ) | [virtual] |
Implement GraphNode::setup_this() to set up edge meshers on any bounding facets that don't have edge meshing set up.
This method also ensures that the graph dependencies from this node to whatever edge meshing needs to be done are set up.
Implements GraphNode.
Definition at line 266 of file AF2DfltTriangleMeshOp.cpp.
moab::EntityType meshTypes [static, private] |
{moab::MBVERTEX, moab::MBTRI, moab::MBMAXTYPE}
Definition at line 29 of file AF2DfltTriangleMeshOp.hpp.