]> Creatis software - cpPlugins.git/blob - lib/cpPlugins/Plugins/IO/MeshWriter.h
db13601e8739362b78e76a392f2a053804f78d69
[cpPlugins.git] / lib / cpPlugins / Plugins / IO / MeshWriter.h
1 #ifndef __CPPLUGINS__PLUGINS__MESHWRITER__H__
2 #define __CPPLUGINS__PLUGINS__MESHWRITER__H__
3
4 #include <cpPlugins/IO/cpPluginsIO_Export.h>
5 #include <cpPlugins/Interface/BaseProcessObjects.h>
6
7 class vtkDataWriter;
8
9 namespace cpPlugins
10 {
11   namespace IO
12   {
13     /**
14      */
15     class cpPluginsIO_EXPORT MeshWriter
16       : public cpPlugins::Interface::MeshSink
17     {
18     public:
19       typedef MeshWriter                      Self;
20       typedef cpPlugins::Interface::MeshSink  Superclass;
21       typedef itk::SmartPointer< Self >       Pointer;
22       typedef itk::SmartPointer< const Self > ConstPointer;
23
24     public:
25       itkNewMacro( Self );
26       itkTypeMacro( MeshWriter, cpPluginsInterfaceMeshSink );
27
28     protected:
29       MeshWriter( );
30       virtual ~MeshWriter( );
31
32       virtual std::string _GenerateData( );
33
34     private:
35       // Purposely not implemented
36       MeshWriter( const Self& );
37       Self& operator=( const Self& );
38     };
39
40     // ---------------------------------------------------------------------
41     CPPLUGINS_INHERIT_PROVIDER( MeshWriter );
42
43   } // ecapseman
44
45 } // ecapseman
46
47 #endif // __CPPLUGINS__PLUGINS__MESHWRITER__H__
48
49 // eof - $RCSfile$