]> Creatis software - cpPlugins.git/blob - lib/cpInstances/DataObjects/Mesh.h
f15c1b4e372bb5a35de7bcb63186f056b3f06f5d
[cpPlugins.git] / lib / cpInstances / DataObjects / Mesh.h
1 #ifndef __cpInstances__Mesh__h__
2 #define __cpInstances__Mesh__h__
3
4 #define ITK_MANUAL_INSTANTIATION
5 #include <cpInstances/cpPluginsDataObjects_Export.h>
6 #include <cpInstances/DataObjects/Mesh_Demanglers.h>
7 #include <cpPlugins/Pipeline/DataObject.h>
8
9 namespace cpInstances
10 {
11   namespace DataObjects
12   {
13     /**
14      */
15     class cpPluginsDataObjects_EXPORT Mesh
16       : public cpPlugins::Pipeline::DataObject
17     {
18     public:
19       typedef Mesh                            Self;
20       typedef cpPlugins::Pipeline::DataObject Superclass;
21       typedef itk::SmartPointer< Self >       Pointer;
22       typedef itk::SmartPointer< const Self > ConstPointer;
23
24     public:
25       itkNewMacro( Self );
26       itkTypeMacro( Mesh, DataObject );
27       cpPlugins_Id_Macro( Mesh, Object );
28       cpPlugins_Compatibility_Macro;
29
30     public:
31       virtual void SetITK( itk::LightObject* o ) override;
32       virtual void SetVTK( vtkObjectBase* o ) override;
33
34     protected:
35       Mesh( );
36       virtual ~Mesh( );
37
38       template< class _TMesh >
39       inline void _ITK_2_VTK( _TMesh* mesh );
40
41     private:
42       // Purposely not implemented
43       Mesh( const Self& );
44       Self& operator=( const Self& );
45     };
46
47   } // ecapseman
48
49 } // ecapseman
50
51 #endif // __cpInstances__Mesh__h__
52
53 // eof - $RCSfile$