X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkImageToImageGenericFilter.h;h=90869c53d1af3e7500bcbc9fd331d756d528cebe;hb=058940b4508314ecc063b466f7da6f324a796826;hp=c065fc921ff3041c00fc6e9041dd584d7fa7bda7;hpb=9bcf64b7f7c5a7f0a39843df634c05b5d9e4e237;p=clitk.git diff --git a/common/clitkImageToImageGenericFilter.h b/common/clitkImageToImageGenericFilter.h index c065fc9..90869c5 100644 --- a/common/clitkImageToImageGenericFilter.h +++ b/common/clitkImageToImageGenericFilter.h @@ -3,8 +3,8 @@ Program: clitk Module: $RCSfile: clitkImageToImageGenericFilter.h,v $ Language: C++ - Date: $Date: 2010/01/29 07:27:31 $ - Version: $Revision: 1.2 $ + Date: $Date: 2010/02/03 13:08:52 $ + Version: $Revision: 1.4 $ Author : Joel Schaerer David Sarrut @@ -40,6 +40,7 @@ #include #include #include +#include namespace clitk { @@ -84,6 +85,7 @@ namespace clitk { // Information on available image types void PrintAvailableImageTypes(); + std::string GetAvailableImageTypes(); bool CheckDimension(unsigned int d); bool CheckPixelType(std::string pt); @@ -114,8 +116,8 @@ namespace clitk { std::vector mInputVVImages; std::vector mOutputVVImages; - std::vector mListOfAllowedPixelType; - std::vector mListOfAllowedDimension; + std::set mListOfAllowedPixelTypes; + std::set mListOfAllowedDimensions; bool CheckImageType(); bool CheckDimension(); bool CheckPixelType();