MeshKit  1.0
register_extern.cpp
Go to the documentation of this file.
00001 #include "meshkit/RegisterMeshOp.hpp"
00002 #ifdef HAVE_CAMAL_TRIADV
00003 #  include "meshkit/CAMALTriAdvance.hpp"
00004 #endif
00005 #ifdef HAVE_CAMAL_TET
00006 #  include "meshkit/CAMALTetMesher.hpp"
00007 #endif
00008 #ifdef HAVE_CAMAL_PAVER
00009 #  include "meshkit/CAMALPaver.hpp"
00010 #endif
00011 #ifdef HAVE_NETGEN
00012 #  include "meshkit/NGTetMesher.hpp"
00013 #endif
00014 #ifdef HAVE_MESQUITE
00015 #  include "meshkit/MesquiteOpt.hpp"
00016 #endif
00017 #ifdef HAVE_TRIANGLE
00018 #  include "meshkit/TriangleMesher.hpp"
00019 #endif
00020 
00021 
00022 
00023 namespace MeshKit {
00024 
00026 extern int register_extern_mesh_ops() { return 1; }
00027 
00031 #define REGISTER_MESH_OP(NAME) \
00032   RegisterMeshOp<NAME> NAME ## _GLOBAL_PROXY
00033 
00034 #ifdef HAVE_CAMAL
00035 
00036 #ifdef HAVE_CAMAL_TRIADV
00037   REGISTER_MESH_OP(CAMALTriAdvance);
00038 #endif
00039 #ifdef HAVE_CAMAL_PAVER
00040   REGISTER_MESH_OP(CAMALPaver);
00041 #endif
00042 #ifdef HAVE_CAMAL_TET
00043   REGISTER_MESH_OP(CAMALTetMesher);
00044 #endif
00045 
00046 #endif
00047 
00048 #ifdef HAVE_TRIANGLE
00049   REGISTER_MESH_OP(TriangleMesher);
00050 #endif
00051 
00052 #ifdef HAVE_NETGEN
00053   REGISTER_MESH_OP(NGTetMesher);
00054 #endif    
00055 
00056 #ifdef HAVE_MESQUITE
00057   REGISTER_MESH_OP(MesquiteOpt);
00058 #endif 
00059 
00060 } // namespace MeshKit
00061 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines