X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=registration%2FclitkDeformationFieldTransform.h;h=a997d862a83ded735080ddbf5d8597f10c3d459c;hb=e751b47051ae80ecd388418ae39b388f15e627eb;hp=038150173af4abc6aaa1ea7000c6ac75574a6f3c;hpb=47b13d7b1b389978ed3df0abb34039f5920115b4;p=clitk.git diff --git a/registration/clitkDeformationFieldTransform.h b/registration/clitkDeformationFieldTransform.h index 0381501..a997d86 100644 --- a/registration/clitkDeformationFieldTransform.h +++ b/registration/clitkDeformationFieldTransform.h @@ -3,7 +3,7 @@ Authors belong to: - University of LYON http://www.universite-lyon.fr/ - - Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr + - Léon Bérard cancer center http://www.centreleonberard.fr - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr This software is distributed WITHOUT ANY WARRANTY; without even @@ -14,7 +14,7 @@ - BSD See included LICENSE.txt file - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html -======================================================================-====*/ +===========================================================================**/ #ifndef __clitkDeformationFieldTransform_h #define __clitkDeformationFieldTransform_h #include "clitkList.h" @@ -109,10 +109,13 @@ namespace clitk return OutputCovariantVectorType(); } - virtual const JacobianType& GetJacobian(const InputPointType &point ) const + virtual void ComputeJacobianWithRespectToParameters (const InputPointType &p, JacobianType &jacobian) const { - itkExceptionMacro( << "DeformationFieldTransform doesn't declare GetJacobian" ); - return this->m_Jacobian; + itkExceptionMacro( << "DeformationFieldTransform doesn't declare ComputeJacobianWithRespectToParameters" ); + } + virtual void ComputeJacobianWithRespectToPosition (const InputPointType &p, JacobianType &jacobian) const + { + itkExceptionMacro( << "DeformationFieldTransform doesn't declare ComputeJacobianWithRespectToPosition" ); } protected: