17 #ifndef __itkKernelTransform2_h
18 #define __itkKernelTransform2_h
22 #include "itkVector.h"
23 #include "itkMatrix.h"
24 #include "itkPointSet.h"
27 #include "vnl/vnl_matrix_fixed.h"
28 #include "vnl/vnl_matrix.h"
29 #include "vnl/vnl_vector.h"
30 #include "vnl/vnl_vector_fixed.h"
31 #include "vnl/vnl_sample.h"
32 #include "vnl/algo/vnl_svd.h"
33 #include "vnl/algo/vnl_qr.h"
78 template <
class TScalarType,
79 unsigned int NDimensions>
124 typedef DefaultStaticMeshTraits< TScalarType,
138 typedef vnl_matrix_fixed<TScalarType, NDimensions, NDimensions>
IMatrixType;
219 this->
m_Stiffness = stiffness > 0 ? stiffness : 0.0;
224 itkGetMacro( Stiffness,
double );
232 virtual void SetAlpha( TScalarType itkNotUsed( Alpha ) ) {};
233 virtual TScalarType
GetAlpha(
void )
const {
return -1.0; }
241 itkSetMacro( PoissonRatio, TScalarType );
248 itkSetMacro( MatrixInversionMethod, std::string );
249 itkGetConstReferenceMacro( MatrixInversionMethod, std::string );
254 void PrintSelf( std::ostream& os, Indent indent )
const;
258 typedef vnl_matrix_fixed<TScalarType, NDimensions, NDimensions>
GMatrixType;
279 typedef vnl_matrix_fixed<TScalarType,NDimensions,NDimensions>
AMatrixType;
439 #ifndef ITK_MANUAL_INSTANTIATION
440 #include "itkKernelTransform2.txx"
443 #endif // __itkKernelTransform2_h