14 #ifndef itkDiffusionTensor3DInterpolateImageFunction_h 15 #define itkDiffusionTensor3DInterpolateImageFunction_h 17 #include <itkObject.h> 18 #include "itkDiffusionTensor3D.h" 21 #include <itkImageFunction.h> 31 template <
class TData,
class TCoordRep =
double>
33 public ImageFunction<Image<DiffusionTensor3D<TData>, 3>,
34 DiffusionTensor3D<TData>,
49 typedef ImageFunction<Image<DiffusionTensor3D<TData>, 3>,
50 DiffusionTensor3D<TData>,
70 virtual TensorDataType
Evaluate(
const PointType&
point )
const ITK_OVERRIDE
72 ContinuousIndexType index;
74 this->GetInputImage()->TransformPhysicalPointToContinuousIndex(
point, index );
99 virtual TensorDataType
EvaluateAtIndex(
const IndexType & index )
const ITK_OVERRIDE
101 return this->GetInputImage()->GetPixel( index );
114 #ifndef ITK_MANUAL_INSTANTIATION 115 #include "itkDiffusionTensor3DInterpolateImageFunction.txx"
Superclass::IndexType IndexType
DiffusionImageType::Pointer DiffusionImageTypePointer
virtual TensorDataType Evaluate(const PointType &point) const ITK_OVERRIDE
SmartPointer< Self > Pointer
TensorDataType::RealValueType TensorRealType
Simplified inverse ITK transforms.
DiffusionTensor3D< TensorType > TensorDataType
virtual TensorDataType EvaluateAtIndex(const IndexType &index) const ITK_OVERRIDE
Point< double, 3 > PointType
Superclass::ContinuousIndexType ContinuousIndexType
DiffusionTensor3DInterpolateImageFunction()
itkTypeMacro(DiffusionTensor3DInterpolateImageFunction, ImageFunction)
Image< TensorDataType, 3 > DiffusionImageType
unsigned long m_LatestTime
DiffusionTensor3DInterpolateImageFunction Self
SmartPointer< const Self > ConstPointer
virtual TensorDataType EvaluateAtContinuousIndex(const ContinuousIndexType &index) const ITK_OVERRIDE=0
ImageFunction< Image< DiffusionTensor3D< TData >, 3 >, DiffusionTensor3D< TData >, TCoordRep > Superclass