]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Interface/Instances_itkMesh.cxx
XML IO added. Workspace singleton added to simplify pipeline definition and execution.
[cpPlugins.git] / lib / cpPlugins / Interface / Instances_itkMesh.cxx
index 575db644e7a7123f5239947d133cf6514334886e..c721b5e261a4cf41fb9bfadf7f5a1015df6df457 100644 (file)
@@ -1,14 +1,23 @@
+#include <cpPlugins/Interface/Macros.h>
+
 #undef ITK_MANUAL_INSTANTIATION
 #include <itkMesh.h>
 #include <itkQuadEdgeMesh.h>
 
-template class itk::Mesh< float, 2 >;
-template class itk::Mesh< float, 3 >;
-template class itk::Mesh< double, 2 >;
-template class itk::Mesh< double, 3 >;
-template class itk::QuadEdgeMesh< float, 2 >;
-template class itk::QuadEdgeMesh< float, 3 >;
-template class itk::QuadEdgeMesh< double, 2 >;
-template class itk::QuadEdgeMesh< double, 3 >;
+// -------------------------------------------------------------------------
+#define cpPlugins_Mesh_Export( N, T, D )                                \
+  cpPlugins_TEMPLATE_EXPORT(                                            \
+    2(class cpPlugins_Interface_EXPORT itk::N< T, D >)                  \
+    )
+
+// -------------------------------------------------------------------------
+cpPlugins_Mesh_Export( Mesh, float, 2 );
+cpPlugins_Mesh_Export( Mesh, double, 2 );
+cpPlugins_Mesh_Export( Mesh, float, 3 );
+cpPlugins_Mesh_Export( Mesh, double, 3 );
+cpPlugins_Mesh_Export( QuadEdgeMesh, float, 2 );
+cpPlugins_Mesh_Export( QuadEdgeMesh, double, 2 );
+cpPlugins_Mesh_Export( QuadEdgeMesh, float, 3 );
+cpPlugins_Mesh_Export( QuadEdgeMesh, double, 3 );
 
 // eof - $RCSfile$