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
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
54} // end namespace itk
55
56#ifndef ITK_MANUAL_INSTANTIATION
57#include "itkDiffusionTensor3DExtended.txx"
58#endif
59
60#endif
DiffusionTensor3DExtended(const Superclass &tensor)
void SetTensorFromMatrix(Matrix< C, 3, 3 > matrix)
DiffusionTensor3D< DataType > Superclass
Simplified inverse ITK transforms.