]> Creatis software - clitk.git/blobdiff - filters/clitkImageConvertGenericFilter.h
build segmentation by default as it is needed for vv
[clitk.git] / filters / clitkImageConvertGenericFilter.h
index 19caaefec6916465e453f0a3fe56bc78cfeb5d6d..8bbca3c0890bbf5ea8093094b7fa52417d34e596 100644 (file)
@@ -52,6 +52,9 @@ namespace clitk {
     
     // Members functions
     void SetOutputPixelType(std::string p) { mOutputPixelTypeName = p; }
+    bool IsWarningOccur() { return mWarningOccur; }
+    std::string & GetWarning() { return mWarning; }
+    void EnableDisplayWarning(bool b) { mDisplayWarning = b; }
 
     //--------------------------------------------------------------------
     // Main function called each time the filter is updated
@@ -61,6 +64,9 @@ namespace clitk {
   protected:
     template<unsigned int Dim> void InitializeImageType();
     std::string mOutputPixelTypeName;
+    std::string mWarning;
+    bool mWarningOccur;
+    bool mDisplayWarning;
 
     template<class InputImageType, class OutputPixelType> void UpdateWithOutputType();