Slicer  5.3
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
itkDiffusionTensor3DBSplineInterpolateImageFunction.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Diffusion Applications
4  Module: $HeadURL$
5  Language: C++
6  Date: $Date$
7  Version: $Revision$
8 
9  Copyright (c) Brigham and Women's Hospital (BWH) All Rights Reserved.
10 
11  See License.txt or http://www.slicer.org/copyright/copyright.txt for details.
12 
13 ==========================================================================*/
14 #ifndef itkDiffusionTensor3DBSplineInterpolateImageFunction_h
15 #define itkDiffusionTensor3DBSplineInterpolateImageFunction_h
16 
18 #include <itkBSplineInterpolateImageFunction.h>
19 #include <itkImage.h>
20 
21 namespace itk
22 {
28 template <class TData, class TCoordRep = double>
31 {
32 public:
33  typedef TData DataType;
36  typedef typename Superclass::ImageType ImageType;
37  typedef SmartPointer<Self> Pointer;
38  typedef SmartPointer<const Self> ConstPointer;
39  typedef BSplineInterpolateImageFunction<ImageType, TCoordRep, double>
41 
44 
45  itkNewMacro( Self );
46  // /Get the Spline Order, supports 0th - 5th order splines. The default is a 1st order spline.
47  itkGetMacro( SplineOrder, int );
48  // /Set the Spline Order, supports 0th - 5th order splines. The default is a 1st order spline.
49  itkSetMacro( SplineOrder, unsigned int );
50 protected:
51  void AllocateInterpolator() override;
52 
54  unsigned int m_SplineOrder;
55  typename BSplineInterpolateFunction::Pointer bSplineInterpolateFunction[6];
56 };
57 
58 } // end namespace itk
59 
60 #ifndef ITK_MANUAL_INSTANTIATION
61 #include "itkDiffusionTensor3DBSplineInterpolateImageFunction.txx"
62 #endif
63 
64 #endif
Simplified inverse ITK transforms.
BSplineInterpolateImageFunction< ImageType, TCoordRep, double > BSplineInterpolateFunction
itkTypeMacro(DiffusionTensor3DBSplineInterpolateImageFunction, DiffusionTensor3DInterpolateImageFunctionReimplementation)
DiffusionTensor3DInterpolateImageFunctionReimplementation< DataType, TCoordRep > Superclass