]> Creatis software - cpPlugins.git/blob - lib/cpPlugins/Plugins/IO/MeshWriter.h
Generic MPR+Plugins application base updated.
[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       cpPlugins_Id_Macro(
28         cpPlugins::IO::MeshWriter, "MeshWriter"
29         );
30
31     public:
32       virtual bool ExecConfigurationDialog( QWidget* parent );
33
34     protected:
35       MeshWriter( );
36       virtual ~MeshWriter( );
37
38       virtual std::string _GenerateData( );
39
40     private:
41       // Purposely not implemented
42       MeshWriter( const Self& );
43       Self& operator=( const Self& );
44     };
45
46     // ---------------------------------------------------------------------
47     CPPLUGINS_INHERIT_PROVIDER( MeshWriter );
48
49   } // ecapseman
50
51 } // ecapseman
52
53 #endif // __CPPLUGINS__PLUGINS__MESHWRITER__H__
54
55 // eof - $RCSfile$