Slicer  5.1
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
itkDiffusionTensor3DNearestNeighborInterpolateFunction.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 itkDiffusionTensor3DNearestNeighborInterpolateFunction_h
15 #define itkDiffusionTensor3DNearestNeighborInterpolateFunction_h
16 
18 
19 namespace itk
20 {
21 
27 template <class TData, class TCoordRep = double>
29  public DiffusionTensor3DInterpolateImageFunction<TData, TCoordRep>
30 {
31 public:
32  typedef TData DataType;
37  typedef typename Superclass::PointType PointType;
38  typedef SmartPointer<Self> Pointer;
39  typedef SmartPointer<const Self> ConstPointer;
40  typedef ImageFunction<DiffusionImageType, DataType, double> ImageFunctionType;
42 
45 
46  itkNewMacro( Self );
47  // /Evaluate the value of a tensor at a given position
48 // TensorDataType Evaluate( const PointType &point ) ;
49  TensorDataType EvaluateAtContinuousIndex( const ContinuousIndexType & index ) const override;
50 
51 protected:
52 };
53 
54 } // end namespace itk
55 
56 #ifndef ITK_MANUAL_INSTANTIATION
57 #include "itkDiffusionTensor3DNearestNeighborInterpolateFunction.txx"
58 #endif
59 
60 #endif
Simplified inverse ITK transforms.
TensorDataType EvaluateAtContinuousIndex(const ContinuousIndexType &index) const override
itkTypeMacro(DiffusionTensor3DNearestNeighborInterpolateFunction, DiffusionTensor3DInterpolateImageFunction)