X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=tools%2FclitkConeBeamProjectImageFilter.h;h=2269bd4d811c044d19d90b6ae9d9dd145f8ebbe0;hb=edd658a40af1c6c53860e8d0ca04372e17e803b8;hp=6ef578a63d94a0951e3bb3a24cf2fac3d44ed9a7;hpb=d49f3092be1942988e841f49a71f3d1586610c34;p=clitk.git diff --git a/tools/clitkConeBeamProjectImageFilter.h b/tools/clitkConeBeamProjectImageFilter.h index 6ef578a..2269bd4 100755 --- a/tools/clitkConeBeamProjectImageFilter.h +++ b/tools/clitkConeBeamProjectImageFilter.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;