|
MeshKit
1.0
|
Utility class for registering MeshOps with MKCore. More...
#include <RegisterMeshOp.hpp>

Public Member Functions | |
| RegisterMeshOp () | |
| Register a new MeshOp factory. | |
| MeshOp * | create (MKCore *core, const MEntVector &vec) |
| Implementation of factory method. | |
| const char * | name () const |
| Call TYPE::name() to get name for class. | |
| const moab::EntityType * | output_types () const |
| Call TYPE::output_types. | |
| bool | can_mesh (iBase_EntityType dimension) const |
| Call TYPE::can_mesh(iBase_EntityType) | |
| bool | can_mesh (ModelEnt *entity) const |
Implementation of can_mesh() method for proxy of TYPE. | |
Utility class for registering MeshOps with MKCore.
This template class provides two related functionalities:
To use this class, simply declare a global variable templated with the type of the MeshOp to be registered.
| TYPE | The MeshOp sub-class to register |
Definition at line 26 of file RegisterMeshOp.hpp.
| RegisterMeshOp | ( | ) | [inline] |
Register a new MeshOp factory.
Definition at line 32 of file RegisterMeshOp.hpp.
| bool can_mesh | ( | iBase_EntityType | dimension | ) | const [inline, virtual] |
Call TYPE::can_mesh(iBase_EntityType)
Ask if the class is capable of meshing an entity of the specified dimension.
Implements MeshOpProxy.
Definition at line 56 of file RegisterMeshOp.hpp.
Implementation of can_mesh() method for proxy of TYPE.
TYPE::can_mesh() if HAVE_CAN_MESH is true. default MeshOpProxy::can_mesh() value if HAVE_CAN_MESH is false. Implements MeshOpProxy.
Definition at line 64 of file RegisterMeshOp.hpp.
| MeshOp* create | ( | MKCore * | core, |
| const MEntVector & | vec | ||
| ) | [inline, virtual] |
Implementation of factory method.
Implements MeshOpProxy.
Definition at line 36 of file RegisterMeshOp.hpp.
| const char* name | ( | ) | const [inline, virtual] |
Call TYPE::name() to get name for class.
Implements MeshOpProxy.
Definition at line 40 of file RegisterMeshOp.hpp.
| const moab::EntityType* output_types | ( | ) | const [inline, virtual] |
Call TYPE::output_types.
Returns an array of MOAB::EntityType values, terminated by a value of MOAB::MBMAXTYPE .
Implements MeshOpProxy.
Definition at line 48 of file RegisterMeshOp.hpp.