X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=itk%2FclitkVectorBSplineInterpolateImageFunctionWithLUT.h;h=5bcbd8aff4f961d60c65bfbc8aed0b46cb5e6327;hb=bffde3a7ae834139793d8c00f73986879146b0e0;hp=e28e7684d8a5c8674c3725bd8d31f227cd23884f;hpb=a87fe1bfb8c6b85456952f0b584d44b1da6cb3fa;p=clitk.git diff --git a/itk/clitkVectorBSplineInterpolateImageFunctionWithLUT.h b/itk/clitkVectorBSplineInterpolateImageFunctionWithLUT.h index e28e768..5bcbd8a 100644 --- a/itk/clitkVectorBSplineInterpolateImageFunctionWithLUT.h +++ b/itk/clitkVectorBSplineInterpolateImageFunctionWithLUT.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 __clitkVectorBSplineInterpolateImageFunctionWithLUT_h #define __clitkVectorBSplineInterpolateImageFunctionWithLUT_h /* ========================================================================= @@ -84,6 +84,15 @@ namespace clitk { //void SetOutputSpacing(const SpacingType & s); //void SetInputImageIsCoefficient(bool inputIsCoef) { mInputIsCoef = inputIsCoef; } + /** Evaluate the function at a ContinuousIndex position. + Overwritten for taking LUT into account (RP: multi-threading-compatible version, + the threadID is actually ignored) */ + virtual OutputType EvaluateAtContinuousIndex(const ContinuousIndexType & index, unsigned int /* threadID */ ) const + { + std::cout << "EvaluateAtContinuousIndex" << std::endl; + return this->EvaluateAtContinuousIndex( index ); + } + /** Evaluate the function at a ContinuousIndex position. Overwritten for taking LUT into account */ virtual OutputType EvaluateAtContinuousIndex(const ContinuousIndexType & index ) const;