X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=tools%2FclitkConeBeamProjectImageFilter.h;h=fcf8610c5798ab471583a69aa751316ce1e3682f;hb=3716348744181e712832e6a812a012d3b7302141;hp=6ef578a63d94a0951e3bb3a24cf2fac3d44ed9a7;hpb=a26cd8a19e1b9ad8344ab501436045f171a73713;p=clitk.git diff --git a/tools/clitkConeBeamProjectImageFilter.h b/tools/clitkConeBeamProjectImageFilter.h index 6ef578a..fcf8610 100755 --- a/tools/clitkConeBeamProjectImageFilter.h +++ b/tools/clitkConeBeamProjectImageFilter.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 __clitkConeBeamProjectImageFilter_h #define __clitkConeBeamProjectImageFilter_h #include "clitkImageCommon.h" @@ -187,6 +187,16 @@ namespace clitk } } + /** Set the panelshift. */ + void SetPanelShift(double shift) + { + if (m_PanelShift!=shift) + { + m_PanelShift=shift; + m_IsInitialized=false; + } + } + /** Helper method to set the output parameters based on this image */ void SetOutputParametersFromImage( const OutputImagePointer image ); @@ -219,6 +229,7 @@ namespace clitk double m_SourceToScreen; double m_SourceToAxis; double m_ProjectionAngle; + double m_PanelShift; MatrixType m_RigidTransformMatrix; OutputPixelType m_EdgePaddingValue;