Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Loading...
Searching...
No Matches
itkDiffusionTensor3DExtended.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 itkDiffusionTensor3DExtended_h
15#define itkDiffusionTensor3DExtended_h
16
17#include <itkDiffusionTensor3D.h>
18#include <itkMatrix.h>
19
20namespace itk
21{
22
29
30template <class T>
31class DiffusionTensor3DExtended : public DiffusionTensor3D<T>
32{
33public:
34 typedef T DataType;
36 typedef DiffusionTensor3D<DataType> Superclass;
37 typedef Matrix<DataType, 3, 3> MatrixType;
38
41 // /Get a Symmetric matrix representing the tensor
43
44 // /Set the Tensor from a symmetric matrix
45 template <class C>
46 void SetTensorFromMatrix(Matrix<C, 3, 3> matrix);
47
48 // /Cast the component values of the tensor
49 template <class C>
51};
52
53} // end namespace itk
54
55#ifndef ITK_MANUAL_INSTANTIATION
56# include "itkDiffusionTensor3DExtended.txx"
57#endif
58
59#endif
DiffusionTensor3DExtended(const Superclass &tensor)
void SetTensorFromMatrix(Matrix< C, 3, 3 > matrix)
DiffusionTensor3D< DataType > Superclass
Simplified inverse ITK transforms.