Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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>
31{
32public:
33 typedef TData DataType;
37 typedef SmartPointer<Self> Pointer;
38 typedef SmartPointer<const Self> ConstPointer;
39 typedef BSplineInterpolateImageFunction<ImageType, TCoordRep, double>
41
44
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 );
50protected:
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
itkTypeMacro(DiffusionTensor3DBSplineInterpolateImageFunction, DiffusionTensor3DInterpolateImageFunctionReimplementation)
DiffusionTensor3DInterpolateImageFunctionReimplementation< DataType, TCoordRep > Superclass
BSplineInterpolateImageFunction< ImageType, TCoordRep, double > BSplineInterpolateFunction
Simplified inverse ITK transforms.