MeshKit  1.0
MeshOpProxy Class Reference

Polymorphic behavior for MeshOp classes (as opposed to instances) More...

#include <MeshOpProxy.hpp>

Inheritance diagram for MeshOpProxy:

List of all members.

Public Member Functions

virtual MeshOpcreate (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.

Detailed Description

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.


Member Function Documentation

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 >.

bool can_mesh ( ModelEnt entity) const [pure virtual]

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.

Returns:
an array of MOAB::EntityType terminated by the MOAB::MBMAXTYPE value.

Implemented in RegisterMeshOp< TYPE >.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines