]> Creatis software - clitk.git/blobdiff - common/clitkImageToImageGenericFilter.h
Forgot width
[clitk.git] / common / clitkImageToImageGenericFilter.h
index c065fc921ff3041c00fc6e9041dd584d7fa7bda7..90869c53d1af3e7500bcbc9fd331d756d528cebe 100644 (file)
@@ -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 <joel.schaerer@creatis.insa-lyon.fr>
              David Sarrut <david.sarrut@creatis.insa-lyon.fr>
 
@@ -40,6 +40,7 @@
 #include <vvFromITK.h>
 #include <vvToITK.h>
 #include <list>
+#include <set>
 
 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<vvImage::Pointer> mInputVVImages;
     std::vector<vvImage::Pointer> mOutputVVImages;
 
-    std::vector<std::string> mListOfAllowedPixelType;
-    std::vector<unsigned int> mListOfAllowedDimension;    
+    std::set<std::string> mListOfAllowedPixelTypes;
+    std::set<unsigned int> mListOfAllowedDimensions;
     bool CheckImageType();
     bool CheckDimension();
     bool CheckPixelType();