X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=tools%2FclitkAffineTransformGenericFilter.h;h=482114b0adfd4d9e342855a7817c20cbdf8e1076;hb=5578995d9a82792833333eeb3dd5c8ecac967293;hp=ebb17b5df675eed4b1c3d0b6d447d2b73f3309b0;hpb=0b7c9b1e1215634b02cbd38d4e4ba101d6111ba8;p=clitk.git diff --git a/tools/clitkAffineTransformGenericFilter.h b/tools/clitkAffineTransformGenericFilter.h index ebb17b5..482114b 100644 --- a/tools/clitkAffineTransformGenericFilter.h +++ b/tools/clitkAffineTransformGenericFilter.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 clitkAffineTransformGenericFilter_h #define clitkAffineTransformGenericFilter_h @@ -73,7 +73,7 @@ namespace clitk //---------------------------------------- // Set & Get - //---------------------------------------- + //---------------------------------------- void SetArgsInfo(const args_info_type & a) { m_ArgsInfo=a; @@ -82,28 +82,34 @@ namespace clitk } - //---------------------------------------- + //---------------------------------------- // Update - //---------------------------------------- + //---------------------------------------- void Update(); + + //---------------------------------------- + // Compute bounding box + //---------------------------------------- + vnl_vector ComputeSize(vnl_vector inputSize, vnl_matrix transformationMatrix, bool returnMin); + protected: - //---------------------------------------- + //---------------------------------------- // Constructor & Destructor - //---------------------------------------- + //---------------------------------------- AffineTransformGenericFilter(); ~AffineTransformGenericFilter() {}; - //---------------------------------------- + //---------------------------------------- // Templated members - //---------------------------------------- + //---------------------------------------- template void UpdateWithDim(std::string PixelType, int Components); template void UpdateWithDimAndPixelType(); template void UpdateWithDimAndVectorType(); - //---------------------------------------- + //---------------------------------------- // Data members //---------------------------------------- args_info_type m_ArgsInfo;