X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=tools%2FclitkCropImageGenericFilter.h;h=a1d668e1ca92e646935ca81eddb63a78aa019227;hb=5bff4d89c8ca42336267c36974e9ceb6fe2ac843;hp=2a16b9dcf0447197821507fbf9f341b552c7ebd9;hpb=523a9f961d83eaed5ec3365a07b9f6be35b538f0;p=clitk.git diff --git a/tools/clitkCropImageGenericFilter.h b/tools/clitkCropImageGenericFilter.h old mode 100755 new mode 100644 index 2a16b9d..a1d668e --- a/tools/clitkCropImageGenericFilter.h +++ b/tools/clitkCropImageGenericFilter.h @@ -1,9 +1,9 @@ /*========================================================================= Program: vv http://www.creatis.insa-lyon.fr/rio/vv - Authors belong to: + 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,60 +14,57 @@ - BSD See included LICENSE.txt file - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html -======================================================================-====*/ +===========================================================================**/ #ifndef CLITKCROPIMAGEGENERICFILTER_H #define CLITKCROPIMAGEGENERICFILTER_H -// clitk +// clitk #include "clitkIO.h" #include "clitkImageToImageGenericFilter.h" #include "clitkCropLikeImageFilter.h" #include "clitkAutoCropFilter.h" +#include "clitkCropImage_ggo.h" // itk #include //-------------------------------------------------------------------- -namespace clitk +namespace clitk { - template class ITK_EXPORT CropImageGenericFilter: - public ImageToImageGenericFilter > + public ImageToImageGenericFilter { public: //-------------------------------------------------------------------- CropImageGenericFilter(); - + //-------------------------------------------------------------------- typedef CropImageGenericFilter Self; - typedef ImageToImageGenericFilter > Superclass; + typedef ImageToImageGenericFilter Superclass; typedef itk::SmartPointer Pointer; typedef itk::SmartPointer ConstPointer; - + typedef args_info_clitkCropImage args_info_type; + //-------------------------------------------------------------------- - itkNewMacro(Self); + itkNewMacro(Self); itkTypeMacro( CropImageGenericFilter, LightObject ); //-------------------------------------------------------------------- - void SetArgsInfo(const ArgsInfoType & a); + void SetArgsInfo(const args_info_type& a); //-------------------------------------------------------------------- // Main function called each time the filter is updated - template + template void UpdateWithInputImageType(); protected: template void InitializeImageType(); - ArgsInfoType mArgsInfo; + args_info_type mArgsInfo; };// end class //-------------------------------------------------------------------- } // end namespace clitk -#ifndef ITK_MANUAL_INSTANTIATION -#include "clitkCropImageGenericFilter.txx" -#endif - #endif // #define CLITKCROPIMAGEGENERICFILTER_H