ANIMA  4.0
animaSimuBlochIR-GRE.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <itkImageToImageFilter.h>
4 
5 namespace anima
6 {
7 
8 template< class TImage>
9 class SimuBlochIRGRE:public itk::ImageToImageFilter< TImage, TImage >
10 {
11 public:
14  typedef itk::ImageToImageFilter <TImage, TImage> Superclass;
15  typedef itk::SmartPointer <Self> Pointer;
16 
17  typedef typename Superclass::OutputImageRegionType OutputImageRegionType;
18 
20  itkNewMacro(Self)
21 
22 
23  itkTypeMacro(SimuBlochIRGRE, ImageToImageFilter)
24 
25  itkSetMacro(TR, double)
26  itkGetMacro(TR, double)
27 
28  itkSetMacro(TE, double)
29  itkGetMacro(TE, double)
30 
31  itkSetMacro(TI, double)
32  itkGetMacro(TI, double)
33 
34 
35  void SetInputT1(const TImage* T1);
36 
38  void SetInputT2s(const TImage* T2s);
39 
41  void SetInputM0(const TImage* M0);
42 
43 protected:
45  virtual ~SimuBlochIRGRE() {}
46 
48  virtual void DynamicThreadedGenerateData(const OutputImageRegionType &outputRegionForThread) ITK_OVERRIDE;
49 
50 private:
51  ITK_DISALLOW_COPY_AND_ASSIGN(SimuBlochIRGRE);
52 
53  double m_TR;
54  double m_TE;
55  double m_TI;
56 };
57 
58 } // end of namespace anima
59 
60 #include "animaSimuBlochIR-GRE.hxx"
void SetInputT2s(const TImage *T2s)
void SetInputT1(const TImage *T1)
Superclass::OutputImageRegionType OutputImageRegionType
itk::ImageToImageFilter< TImage, TImage > Superclass
void SetInputM0(const TImage *M0)
itk::SmartPointer< Self > Pointer
virtual void DynamicThreadedGenerateData(const OutputImageRegionType &outputRegionForThread) ITK_OVERRIDE