]> Creatis software - cpPlugins.git/blob - lib/cpPlugins/Interface/Mesh.hxx
MPR finished
[cpPlugins.git] / lib / cpPlugins / Interface / Mesh.hxx
1 #ifndef __CPPLUGINS__INTERFACE__MESH__HXX__
2 #define __CPPLUGINS__INTERFACE__MESH__HXX__
3
4 #include <itkMesh.h>
5 #include <itkQuadEdgeMesh.h>
6
7 // -------------------------------------------------------------------------
8 #define cpPlugins_Mesh_Import( N, T, D )                                \
9   cpPlugins_TEMPLATE_IMPORT(                                            \
10     2(class cpPlugins_Interface_EXPORT itk::N< T, D >)                  \
11     )
12
13 // -------------------------------------------------------------------------
14
15 #ifndef cpPlugins_Interface_EXPORTS
16
17 cpPlugins_Mesh_Import( Mesh, float, 2 );
18 cpPlugins_Mesh_Import( Mesh, double, 2 );
19 cpPlugins_Mesh_Import( Mesh, float, 3 );
20 cpPlugins_Mesh_Import( Mesh, double, 3 );
21 cpPlugins_Mesh_Import( QuadEdgeMesh, float, 2 );
22 cpPlugins_Mesh_Import( QuadEdgeMesh, double, 2 );
23 cpPlugins_Mesh_Import( QuadEdgeMesh, float, 3 );
24 cpPlugins_Mesh_Import( QuadEdgeMesh, double, 3 );
25
26 #endif // cpPlugins_Interface_EXPORTS
27
28 // -------------------------------------------------------------------------
29 template< class M >
30 void cpPlugins::Interface::Mesh::
31 SetITK( itk::Object* object )
32 {
33   std::cerr << "SetITKMesh: TODO" << std::endl;
34   std::exit( 1 );
35 }
36
37 #endif // __CPPLUGINS__INTERFACE__MESH__HXX__
38
39 // eof - $RCSfile$