X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=itk%2FclitkBackProjectImageFilter.h;h=8ff8def40ec2cbf344ee7d4bd643d20d4f680623;hb=558d4fd8a368c33ce690a286d81f91fe0d93d333;hp=93e588ac5159866e8789d4fc9724c7f55c7f4462;hpb=a26cd8a19e1b9ad8344ab501436045f171a73713;p=clitk.git diff --git a/itk/clitkBackProjectImageFilter.h b/itk/clitkBackProjectImageFilter.h index 93e588a..8ff8def 100644 --- a/itk/clitkBackProjectImageFilter.h +++ b/itk/clitkBackProjectImageFilter.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 __clitkBackProjectImageFilter_h #define __clitkBackProjectImageFilter_h #include "clitkTransformUtilities.h" @@ -148,6 +148,11 @@ namespace clitk } } + void SetPanelShift(double x, double y) + { + m_PanelShift[0] = x; + m_PanelShift[1] = y; + } // itkSetMacro(IsoCenter, OutputPointType); // itkGetConstReferenceMacro(IsoCenter, OutputPointType) // itkSetMacro( SourceToScreen, double ); @@ -237,8 +242,7 @@ namespace clitk void BeforeThreadedGenerateData(void ); // Threaded Generate Data - void ThreadedGenerateData(const OutputImageRegionType & outputRegionForThread, int threadId ); - + void ThreadedGenerateData(const OutputImageRegionType & outputRegionForThread, itk::ThreadIdType threadId ); //------------------------------------------------ //Member data @@ -258,6 +262,7 @@ namespace clitk double m_SourceToAxis; OutputPixelType m_EdgePaddingValue; double m_ProjectionAngle; + double m_PanelShift[2]; // Output image info OutputSizeType m_OutputSize; // Size of the output image