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