Orfeo Toolbox  3.16
itkDiffusionTensor3D.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Insight Segmentation & Registration Toolkit
4  Module: $RCSfile: itkDiffusionTensor3D.h,v $
5  Language: C++
6  Date: $Date: 2010-04-09 21:20:50 $
7  Version: $Revision: 1.14 $
8 
9  Copyright (c) Insight Software Consortium. All rights reserved.
10  See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
11 
12  This software is distributed WITHOUT ANY WARRANTY; without even
13  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14  PURPOSE. See the above copyright notices for more information.
15 
16 =========================================================================*/
17 #ifndef __itkDiffusionTensor3D_h
18 #define __itkDiffusionTensor3D_h
19 
20 // Undefine an eventual DiffusionTensor3D macro
21 #ifdef DiffusionTensor3D
22 #undef DiffusionTensor3D
23 #endif
24 
26 
27 
28 namespace itk
29 {
30 
78 template < typename TComponent >
79 class DiffusionTensor3D: public SymmetricSecondRankTensor<TComponent,3>
80 {
81 public:
85 
87  typedef typename Superclass::ValueType ValueType;
89 #if defined(__GNUC__) && !defined(__INTEL_COMPILER) && (__GNUC__ == 3)
91 #else
93 #endif
96 
99 
102 
104  DiffusionTensor3D(const Superclass& r);
107 
109  template < typename TCoordRepB >
111  :SymmetricSecondRankTensor<TComponent,3>(pa) { }
112 
114  Self& operator= (const Superclass & r);
115  Self& operator= (const ComponentType& r);
117 
119  template < typename TCoordRepB >
121  {
123  return *this;
124  }
125 
128 
131 
134 
137 
138 };
139 
140 } // end namespace itk
142 
143 // Define instantiation macro for this template.
144 #define ITK_TEMPLATE_DiffusionTensor3D(_, EXPORT, x, y) namespace itk { \
145  _(1(class EXPORT DiffusionTensor3D< ITK_TEMPLATE_1 x >)) \
146  namespace Templates { typedef DiffusionTensor3D< ITK_TEMPLATE_1 x > \
147  DiffusionTensor3D##y; } \
148  }
149 
150 #if ITK_TEMPLATE_EXPLICIT
151 # include "Templates/itkDiffusionTensor3D+-.h"
152 #endif
153 
154 #if ITK_TEMPLATE_TXX
155 # include "itkDiffusionTensor3D.txx"
156 #endif
157 
158 #endif

Generated at Sat May 18 2013 23:36:25 for Orfeo Toolbox with doxygen 1.8.3.1