]> Creatis software - cpPlugins.git/blob - lib/cpExtensions/Algorithms/SecondRankDiffusionTensorToPolyData.h
18612638ed59883c21706c205cfa0a626913f8a4
[cpPlugins.git] / lib / cpExtensions / Algorithms / SecondRankDiffusionTensorToPolyData.h
1 // -------------------------------------------------------------------------
2 // @author Leonardo Florez-Valencia (florez-l@javeriana.edu.co)
3 // -------------------------------------------------------------------------
4
5 #ifndef __CPEXTENSIONS__ALGORITHMS__SECONDRANKDIFFUSIONTENSORTOPOLYDATA__H__
6 #define __CPEXTENSIONS__ALGORITHMS__SECONDRANKDIFFUSIONTENSORTOPOLYDATA__H__
7
8 #include <cpExtensions/cpExtensions_Export.h>
9
10 #include <vtkPolyDataAlgorithm.h>
11
12 namespace cpExtensions
13 {
14   namespace Algorithms
15   {
16     /**
17      */
18     template< class I >
19     class cpExtensions_EXPORT SecondRankDiffusionTensorToPolyData
20       : public vtkPolyDataAlgorithm
21     {
22     public:
23       typedef SecondRankDiffusionTensorToPolyData Self;
24
25     public:
26       static Self* New( );
27       vtkTypeMacro( SecondRankDiffusionTensorToPolyData, vtkPolyDataAlgorithm );
28
29       void SetInputData( const I* image );
30
31     protected:
32       SecondRankDiffusionTensorToPolyData( );
33       virtual ~SecondRankDiffusionTensorToPolyData( );
34
35       virtual int RequestData(
36         vtkInformation* , vtkInformationVector**, vtkInformationVector*
37         );
38
39     private:
40       SecondRankDiffusionTensorToPolyData( const Self& other );
41       Self& operator=( const Self& other );
42
43     protected:
44       typename I::ConstPointer m_ITKImage;
45     };
46
47   } // ecapseman
48
49 } // ecapseman
50
51 #endif // __CPEXTENSIONS__ALGORITHMS__SECONDRANKDIFFUSIONTENSORTOPOLYDATA__H__
52
53 // eof - $RCSfile$