17 #ifndef __itkElasticBodySplineKernelTransform2_h
18 #define __itkElasticBodySplineKernelTransform2_h
38 template <
class TScalarType =
double,
39 unsigned int NDimensions = 3>
68 itkStaticConstMacro(SpaceDimension,
unsigned int,Superclass::SpaceDimension);
76 this->m_LMatrixComputed=
false;
77 this->m_LInverseComputed=
false;
78 this->m_WMatrixComputed=
false;
82 itkGetConstMacro( Alpha, TScalarType );
85 virtual void SetPoissonRatio(
const TScalarType Nu )
87 if ( Nu > -1.0 && Nu < 0.5 )
89 this->SetAlpha( 12.0 * ( 1.0 - Nu ) - 1.0 );
93 virtual const TScalarType GetPoissonRatio(
void )
const
95 return 1.0 - ( this->m_Alpha + 1.0 ) / 12.0;
111 void PrintSelf(std::ostream& os, Indent indent)
const;
134 void operator=(
const Self&);
140 #ifndef ITK_MANUAL_INSTANTIATION
141 #include "itkElasticBodySplineKernelTransform2.txx"
144 #endif // __itkElasticBodySplineKernelTransform2_h