]> Creatis software - cpPlugins.git/blob - plugins/cpPluginsIO/ImageWriter.h
First dump for version 0.1.0
[cpPlugins.git] / plugins / cpPluginsIO / ImageWriter.h
1 #ifndef __CPPLUGINSIO__IMAGEWRITER__H__
2 #define __CPPLUGINSIO__IMAGEWRITER__H__
3
4 #include <cpPluginsIO/cpPluginsIO_Export.h>
5 #include <cpPlugins/ProcessObject.h>
6
7 namespace cpPluginsIO
8 {
9   /**
10    */
11   class cpPluginsIO_EXPORT ImageWriter
12     : public cpPlugins::ProcessObject
13   {
14   public:
15     typedef ImageWriter                     Self;
16     typedef cpPlugins::ProcessObject        Superclass;
17     typedef itk::SmartPointer< Self >       Pointer;
18     typedef itk::SmartPointer< const Self > ConstPointer;
19
20   public:
21     itkNewMacro( Self );
22     itkTypeMacro( ImageWriter, cpPlugins::ProcessObject );
23     cpPlugins_Id_Macro( ImageWriter, IO );
24
25   protected:
26     ImageWriter( );
27     virtual ~ImageWriter( );
28
29     virtual std::string _GenerateData( ) override;
30
31     template< class I >
32       inline std::string _GD0( I* image );
33
34     template< class I >
35       inline std::string _GD1( I* image );
36
37   private:
38     // Purposely not implemented
39     ImageWriter( const Self& );
40     Self& operator=( const Self& );
41   };
42
43 } // ecapseman
44
45 #endif // __CPPLUGINSIO__IMAGEWRITER__H__
46
47 // eof - $RCSfile$