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 #ifdef HAVE_TETGEN
00021 #  include "meshkit/TGTetMesher.hpp"
00022 #endif
00023 
00024 
00025 namespace MeshKit {
00026 
00028 extern int register_extern_mesh_ops() { return 1; }
00029 
00033 #define REGISTER_MESH_OP(NAME) \
00034   RegisterMeshOp<NAME> NAME ## _GLOBAL_PROXY
00035 
00036 #ifdef HAVE_CAMAL
00037 
00038 #ifdef HAVE_CAMAL_TRIADV
00039   REGISTER_MESH_OP(CAMALTriAdvance);
00040 #endif
00041 #ifdef HAVE_CAMAL_PAVER
00042   REGISTER_MESH_OP(CAMALPaver);
00043 #endif
00044 #ifdef HAVE_CAMAL_TET
00045   REGISTER_MESH_OP(CAMALTetMesher);
00046 #endif
00047 
00048 #endif
00049 
00050 #ifdef HAVE_TRIANGLE
00051   REGISTER_MESH_OP(TriangleMesher);
00052 #endif
00053 
00054 #ifdef HAVE_NETGEN
00055   REGISTER_MESH_OP(NGTetMesher);
00056 #endif    
00057 
00058 #ifdef HAVE_TETGEN
00059   REGISTER_MESH_OP(TGTetMesher);
00060 #endif
00061 
00062 #ifdef HAVE_MESQUITE
00063   REGISTER_MESH_OP(MesquiteOpt);
00064 #endif 
00065 
00066 } // namespace MeshKit
00067 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines