]> Creatis software - cpPlugins.git/blob - lib/cpPlugins/Plugins/BasicFilters/TriangleMeshToBinaryImageFilter.h
...
[cpPlugins.git] / lib / cpPlugins / Plugins / BasicFilters / TriangleMeshToBinaryImageFilter.h
1 #ifndef __CPPLUGINS__PLUGINS__TRIANGLEMESHTOBINARYIMAGEFILTER__H__
2 #define __CPPLUGINS__PLUGINS__TRIANGLEMESHTOBINARYIMAGEFILTER__H__
3
4 #include <cpPlugins/BasicFilters/cpPluginsBasicFilters_Export.h>
5 #include <cpPlugins/Interface/BaseProcessObjects.h>
6
7 namespace cpPlugins
8 {
9   namespace BasicFilters
10   {
11     /**
12      */
13     class cpPluginsBasicFilters_EXPORT TriangleMeshToBinaryImageFilter
14       : public cpPlugins::Interface::MeshToImageFilter
15     {
16     public:
17       typedef TriangleMeshToBinaryImageFilter         Self;
18       typedef cpPlugins::Interface::MeshToImageFilter Superclass;
19       typedef itk::SmartPointer< Self >               Pointer;
20       typedef itk::SmartPointer< const Self >         ConstPointer;
21
22     public:
23       itkNewMacro( Self );
24       itkTypeMacro(
25         TriangleMeshToBinaryImageFilter,
26         cpPluginsInterfaceMeshToImageFilter
27         );
28       cpPlugins_Id_Macro(
29         cpPlugins::BasicFilters::TriangleMeshToBinaryImageFilter,
30         MeshToImageFilter
31         );
32
33     protected:
34       TriangleMeshToBinaryImageFilter( );
35       virtual ~TriangleMeshToBinaryImageFilter( );
36
37       virtual std::string _GenerateData( );
38
39       template< class M >
40         inline std::string _GD0( M* mesh );
41
42       template< class M, class I >
43         inline std::string _RealGD( M* mesh );
44
45     private:
46       // Purposely not implemented
47       TriangleMeshToBinaryImageFilter( const Self& );
48       Self& operator=( const Self& );
49     };
50
51   } // ecapseman
52
53 } // ecapseman
54
55 #endif // __CPPLUGINS__PLUGINS__TRIANGLEMESHTOBINARYIMAGEFILTER__H__
56
57 // eof - $RCSfile$