DMRITool  v0.1.1-139-g860d86b4
Diffusion MRI Tool
itkSamplingSchemeQSpaceIncrementalEstimationFilter.h
Go to the documentation of this file.
1 
18 #ifndef __itkSamplingSchemeQSpaceIncrementalEstimationFilter_h
19 #define __itkSamplingSchemeQSpaceIncrementalEstimationFilter_h
20 
22 #include "itkSamplingScheme3D.h"
23 
24 
25 namespace itk
26 {
27 
35 template <class TSamplingType>
37  : public SamplingSchemeQSpaceEstimationFilter<TSamplingType>
38 {
39 
40 public:
44  typedef SmartPointer< Self > Pointer;
45  typedef SmartPointer< const Self > ConstPointer;
46 
47  typedef TSamplingType SamplingType;
48  typedef typename SamplingType::Pointer SamplingPointer;
49 
50  typedef typename Superclass::ValueType ValueType;
51  typedef typename Superclass::MatrixType MatrixType;
53  typedef typename Superclass::STDVectorType STDVectorType;
54  typedef typename Superclass::STDVectorPointer STDVectorPointer;
55  typedef typename Superclass::IndexVectorType IndexVectorType;
56  typedef typename Superclass::Index2DVectorType Index2DVectorType;
57  typedef typename Superclass::Index2DVectorPointer Index2DVectorPointer;
58 
61  itkNewMacro(Self);
62 
63  itkSetMacro(TessellationOrder, unsigned int);
64  itkGetMacro(TessellationOrder, unsigned int);
65 
66  itkSetMacro(FineOrientations, MatrixPointer);
67  itkGetMacro(FineOrientations, MatrixPointer);
68 
69  void GenerateData() ITK_OVERRIDE;
70 
71  // static void IndicesOfMaximalDistance(const MatrixType& mat, unsigned int& r1, unsigned int& r2);
72 
73 protected:
75  ~SamplingSchemeQSpaceIncrementalEstimationFilter(){}
76 
77  void Initialization() ITK_OVERRIDE;
78 
80  unsigned int m_TessellationOrder;
81 
83  MatrixPointer m_FineOrientations;
84 
85 private:
86  SamplingSchemeQSpaceIncrementalEstimationFilter(const Self &); //purposely not implemented
87  void operator=(const Self &); //purposely not implemented
88 
89 };
90 
91 }
92 
93 #if !defined(ITK_MANUAL_INSTANTIATION) && !defined(__itkSamplingSchemeQSpaceIncrementalEstimationFilter_hxx)
95 #endif
96 
97 #endif
98 
#define ITK_OVERRIDE
Definition: utlITKMacro.h:46
base class for the filters to estimate the sampling scheme in Q-space