MeshKit
1.0
|
Polymorphic behavior for MeshOp classes (as opposed to instances) More...
#include <MeshOpProxy.hpp>
Public Member Functions | |
virtual MeshOp * | create (MKCore *core, const MEntVector &vec)=0 |
Factory method. | |
virtual const char * | name () const =0 |
String name of MeshOp class. | |
virtual const moab::EntityType * | output_types () const =0 |
Get array of mesh entity types produced by MeshOp instances. | |
virtual bool | can_mesh (iBase_EntityType dimension) const =0 |
Check if class can be used to mesh entites of the specified dimension. | |
virtual bool | can_mesh (ModelEnt *entity) const =0 |
Check if class can be used to mesh passed entity. |
Polymorphic behavior for MeshOp classes (as opposed to instances)
Each registered MeshOp sub-class must register via an implementation of this interface. An implementation of this class provides the necessary information about the class as a whole.
Definition at line 19 of file MeshOpProxy.hpp.
virtual bool can_mesh | ( | iBase_EntityType | dimension | ) | const [pure virtual] |
Check if class can be used to mesh entites of the specified dimension.
Implemented in RegisterMeshOp< TYPE >.
Check if class can be used to mesh passed entity.
Implemented in RegisterMeshOp< TYPE >.
Definition at line 41 of file MKCore.cpp.
virtual MeshOp* create | ( | MKCore * | core, |
const MEntVector & | vec | ||
) | [pure virtual] |
Factory method.
Implemented in RegisterMeshOp< TYPE >.
virtual const char* name | ( | ) | const [pure virtual] |
String name of MeshOp class.
Implemented in RegisterMeshOp< TYPE >.
virtual const moab::EntityType* output_types | ( | ) | const [pure virtual] |
Get array of mesh entity types produced by MeshOp instances.
MOAB::EntityType
terminated by the MOAB::MBMAXTYPE
value. Implemented in RegisterMeshOp< TYPE >.