DMRITool  v0.1.1-139-g860d86b4
Diffusion MRI Tool
itkDWIGenerator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: DWI Generator
4 
5  Copyright (c) Pew-Thian Yap, Jian Cheng. All rights reserved.
6  See http://www.unc.edu/~ptyap/ for details.
7 
8  This software is distributed WITHOUT ANY WARRANTY; without even
9  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
10  PURPOSE. See the above copyright notices for more information.
11 
12  =========================================================================*/
13 
14 #ifndef __itkDWIGenerator_h
15 #define __itkDWIGenerator_h
16 
17 
18 #include "itkDWIGeneratorBase.h"
19 
20 namespace itk
21 {
22 
29 template <class TOutputImage, class TScalarImage=Image<float,3> >
30 class ITK_EXPORT DWIGenerator : public DWIGeneratorBase<TOutputImage, TScalarImage>
31 {
32 public:
34  typedef DWIGenerator Self;
36  typedef SmartPointer<Self> Pointer;
37 
39  itkNewMacro(Self);
40 
43 
55 
57  itkStaticConstMacro(OutputImageDimension, unsigned int, OutputImageType::ImageDimension);
58 
62 
69 
73 
76 
77  itkSetNDebugMacro( BackgroundDiffusionParameterValues, STDVectorType );
78  itkGetMacro( BackgroundDiffusionParameterValues, STDVectorType );
79 
80 
82  itkSetStringMacro(FileName);
83  itkGetStringMacro(FileName);
84 
85 protected:
86  DWIGenerator();
87  ~DWIGenerator();
88 
89  typename LightObject::Pointer InternalClone() const ITK_OVERRIDE;
90  void PrintSelf(std::ostream& os, Indent indent) const ITK_OVERRIDE;
91 
93  void GenerateData();
94 
95  std::string m_FileName;
96 
97  STDVectorType m_BackgroundDiffusionParameterValues;
98 
99 private:
100  DWIGenerator(const Self&); //purposely not implemented
101  void operator=(const Self&); //purposely not implemented
102 
103 
104 };
105 
106 
107 } //namespace ITK
108 
109 #if ITK_TEMPLATE_EXPLICIT
110 # include "Templates/itkDWIGenerator+-.h"
111 #endif
112 
113 #if !defined(ITK_MANUAL_INSTANTIATION) && !defined(__itkDWIGenerator_hxx)
114 #include "itkDWIGenerator.hxx"
115 #endif
116 
117 #endif // __itkSparseDWIGenerator_h
Superclass::DiffusionParameterValuesType DiffusionParameterValuesType
#define itkSetNDebugMacro(name, type)
Definition: utlITKMacro.h:100
NDArray is a N-Dimensional array class (row-major, c version)
Definition: utlFunctors.h:131
Superclass::STDVectorPointer STDVectorPointer
Superclass::OutputImagePointer OutputImagePointer
Superclass::ScalarImageType ScalarImageType
SmartPointer< Self > Pointer
Superclass::OutputImageSizeType OutputImageSizeType
OutputImageType::RegionType OutputImageRegionType
std::vector< PrecisionType > STDVectorType
Superclass::OutputImageInternalPixelType OutputImageInternalPixelType
CylinderModelType::Pointer CylinderModelPointer
OutputImageType::SpacingType OutputImageSpacingType
STL namespace.
Superclass::OutputImageIndexType OutputImageIndexType
Superclass::OutputImageType OutputImageType
Superclass::MatrixType MatrixType
Superclass::OutputImageDirectionType OutputImageDirectionType
#define ITK_OVERRIDE
Definition: utlITKMacro.h:46
Superclass::ScalarImagePointer ScalarImagePointer
Superclass::CylinderModelType CylinderModelType
Superclass::DiffusionParameterContainerType DiffusionParameterContainerType
utl_shared_ptr< STDVectorType > STDVectorPointer
std::vector< double > DiffusionParameterValuesType
utl_shared_ptr< MatrixType > MatrixPointer
DWIGeneratorBase< TOutputImage, TScalarImage > Superclass
OutputImageType::PixelType OutputImagePixelType
Superclass::MatrixPointer MatrixPointer
ScalarImageType::Pointer ScalarImagePointer
OutputImageType::IndexType OutputImageIndexType
OutputImageType::InternalPixelType OutputImageInternalPixelType
Generate DWI data based on provided parameter file.
std::vector< DiffusionParameterValuesType > DiffusionParameterContainerType
Superclass::STDVectorType STDVectorType
OutputImageType::SizeType OutputImageSizeType
Superclass::CylinderModelPointer CylinderModelPointer
OutputImageType::PointType OutputImagePointType
Generate DWI data based on provided parameter file.
OutputImageType::Pointer OutputImagePointer
Superclass::OutputImagePixelType OutputImagePixelType
DWIGenerator Self
Superclass::OutputImageSpacingType OutputImageSpacingType
OutputImageType::DirectionType OutputImageDirectionType
Superclass::PrecisionType PrecisionType
Superclass::OutputImagePointType OutputImagePointType
Superclass::OutputImageRegionType OutputImageRegionType