MeshKit  1.0
MBGeomOp.hpp
Go to the documentation of this file.
00001 /*
00002  * MBGeomOp.hpp
00003  *
00004  *  Created on: Sep 30, 2011
00005  *      Author: iulian
00006  */
00007 
00008 #ifndef MBGEOMOP_HPP_
00009 #define MBGEOMOP_HPP_
00010 
00011 #include "meshkit/MeshScheme.hpp"
00012 
00013 namespace MeshKit {
00014 
00015 class MBGeomOp: public MeshKit::MeshScheme
00016 {
00017 public:
00018   MBGeomOp(MKCore *mk_core, const MEntVector &me_vec);
00019   virtual ~MBGeomOp();
00020 
00021   //set up the geometrization of a model ent (face) for mesh-based geometry
00022   virtual void setup_this();
00023 
00024   // construct the mesh
00025   virtual void execute_this();
00026 
00028   static const char* name()
00029   {
00030     return "MBGeomOp";
00031   }
00032 
00033   static bool can_mesh(iBase_EntityType dim)
00034   {
00035     return false;
00036   }
00037 
00044   static bool can_mesh(ModelEnt *me)
00045   {
00046     return false;// this is not used for meshing, but for geometry creation
00047   }
00048 
00052   static const moab::EntityType* output_types();
00053 
00057   virtual const moab::EntityType* mesh_types_arr() const
00058   {
00059     return output_types();
00060   }
00061 
00062 };
00063 
00064 }
00065 
00066 #endif /* MBGEOMOP_HPP_ */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines