Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Loading...
Searching...
No Matches
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
21namespace itk
22{
28template <class TData, class TCoordRep = double>
30{
31public:
32 typedef TData DataType;
36 typedef SmartPointer<Self> Pointer;
37 typedef SmartPointer<const Self> ConstPointer;
38 typedef BSplineInterpolateImageFunction<ImageType, TCoordRep, double> BSplineInterpolateFunction;
39
42
44 // /Get the Spline Order, supports 0th - 5th order splines. The default is a 1st order spline.
45 itkGetMacro(SplineOrder, int);
46 // /Set the Spline Order, supports 0th - 5th order splines. The default is a 1st order spline.
47 itkSetMacro(SplineOrder, unsigned int);
48
49protected:
50 void AllocateInterpolator() override;
51
53 unsigned int m_SplineOrder;
54 typename BSplineInterpolateFunction::Pointer bSplineInterpolateFunction[6];
55};
56
57} // end namespace itk
58
59#ifndef ITK_MANUAL_INSTANTIATION
60# include "itkDiffusionTensor3DBSplineInterpolateImageFunction.txx"
61#endif
62
63#endif
itkTypeMacro(DiffusionTensor3DBSplineInterpolateImageFunction, DiffusionTensor3DInterpolateImageFunctionReimplementation)
DiffusionTensor3DInterpolateImageFunctionReimplementation< DataType, TCoordRep > Superclass
BSplineInterpolateImageFunction< ImageType, TCoordRep, double > BSplineInterpolateFunction
Simplified inverse ITK transforms.