]> Creatis software - cpPlugins.git/blob - lib/cpPlugins/Plugins/BasicFilters/Cutter.h
Widget integration (step 2/6). WARNING: IT DOES NOT COMPILE YETgit shortlog !
[cpPlugins.git] / lib / cpPlugins / Plugins / BasicFilters / Cutter.h
1 #ifndef __CPPLUGINS__PLUGINS__CUTTER__H__
2 #define __CPPLUGINS__PLUGINS__CUTTER__H__
3
4 #include <cpPlugins/BasicFilters/cpPluginsBasicFilters_Export.h>
5 #include <cpPlugins/Interface/BaseProcessObjects.h>
6
7 class vtkAlgorithm;
8 class vtkPolyDataAlgorithm;
9
10 namespace cpPlugins
11 {
12   namespace BasicFilters
13   {
14     /**
15      */
16     class cpPluginsBasicFilters_EXPORT Cutter
17       : public cpPlugins::Interface::MeshToMeshFilter
18     {
19     public:
20       typedef Cutter                                 Self;
21       typedef cpPlugins::Interface::MeshToMeshFilter Superclass;
22       typedef itk::SmartPointer< Self >              Pointer;
23       typedef itk::SmartPointer< const Self >        ConstPointer;
24
25     public:
26       itkNewMacro( Self );
27       itkTypeMacro( Cutter, cpPluginsInterfaceMeshToMeshFilter );
28
29     public:
30       virtual vtkAlgorithm* GetVTKAlgorithm( );
31       virtual const vtkAlgorithm* GetVTKAlgorithm( ) const;
32
33     protected:
34       Cutter( );
35       virtual ~Cutter( );
36
37       virtual std::string _GenerateData( );
38
39     private:
40       // Purposely not implemented
41       Cutter( const Self& );
42       Self& operator=( const Self& );
43
44     protected:
45       vtkPolyDataAlgorithm* m_Algorithm;
46     };
47
48     // ---------------------------------------------------------------------
49     CPPLUGINS_INHERIT_PROVIDER( Cutter );
50
51   } // ecapseman
52
53 } // ecapseman
54
55 #endif // __CPPLUGINS__PLUGINS__CUTTER__H__
56
57 // eof - $RCSfile$