]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Interface/Mesh.hxx
...
[cpPlugins.git] / lib / cpPlugins / Interface / Mesh.hxx
index 980321dd76521581cc510cb5199e5f353853fb67..e897f617458dbf0a2ccd6758c568c72002293329 100644 (file)
@@ -1,6 +1,32 @@
 #ifndef __CPPLUGINS__INTERFACE__MESH__HXX__
 #define __CPPLUGINS__INTERFACE__MESH__HXX__
 
+#include <cpPlugins/Interface/Macros.h>
+
+#include <itkMesh.h>
+#include <itkQuadEdgeMesh.h>
+
+// -------------------------------------------------------------------------
+#define cpPlugins_Mesh_Import( N, T, D )                                \
+  cpPlugins_TEMPLATE_IMPORT(                                            \
+    2(class cpPlugins_Interface_EXPORT itk::N< T, D >)                  \
+    )
+
+// -------------------------------------------------------------------------
+
+#ifndef cpPlugins_Interface_EXPORTS
+
+cpPlugins_Mesh_Import( Mesh, float, 2 );
+cpPlugins_Mesh_Import( Mesh, double, 2 );
+cpPlugins_Mesh_Import( Mesh, float, 3 );
+cpPlugins_Mesh_Import( Mesh, double, 3 );
+cpPlugins_Mesh_Import( QuadEdgeMesh, float, 2 );
+cpPlugins_Mesh_Import( QuadEdgeMesh, double, 2 );
+cpPlugins_Mesh_Import( QuadEdgeMesh, float, 3 );
+cpPlugins_Mesh_Import( QuadEdgeMesh, double, 3 );
+
+#endif // cpPlugins_Interface_EXPORTS
+
 // -------------------------------------------------------------------------
 template< class M >
 void cpPlugins::Interface::Mesh::