]> Creatis software - bbtk.git/blobdiff - packages/itk/src/bbitkBinaryThresholdImageFilter.h
.
[bbtk.git] / packages / itk / src / bbitkBinaryThresholdImageFilter.h
index c66255c351b7a9ff735a32351eb28965b7072e79..e6fdd1060b9602b0d1762d2077c0c234e72cb7bb 100644 (file)
@@ -2,8 +2,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbitkBinaryThresholdImageFilter.h,v $
   Language:  C++
-  Date:      $Date: 2009/03/23 12:55:49 $
-  Version:   $Revision: 1.11 $
+  Date:      $Date: 2009/05/15 14:57:58 $
+  Version:   $Revision: 1.12 $
 =========================================================================*/
 
 /* ---------------------------------------------------------------------
@@ -57,9 +57,6 @@ namespace bbitk
     BBTK_ITK_PROCESS();
     BBTK_ITK_DELETE();
 
-    void bbUserConstructor() { Init(); }
-    void bbUserCopyConstructor(bbtk::BlackBox::Pointer) { Init(); }
-    void Init();
 
   };
   
@@ -101,9 +98,6 @@ namespace bbitk
   private :
     inline void ProcessSwitch();
     template <class T> void Process();
-    void bbUserConstructor() { Init(); }
-    void bbUserCopyConstructor(bbtk::BlackBox::Pointer) { Init(); }
-    void Init();
   };
   
   BBTK_BEGIN_DESCRIBE_BLACK_BOX(BinaryThresholdImageFilterGeneric,
@@ -159,17 +153,19 @@ namespace bbitk
 
     bbtkDebugDecTab("Core",9);
   }
-  
-  template <class T>
-  void BinaryThresholdImageFilter<T>::Init()
-  {
-    bbSetInputLowerThreshold(0);
-    bbSetInputUpperThreshold(100);
-    bbSetInputInsideValue(255);
-    bbSetInputOutsideValue(0);
-  }
 
-  void BinaryThresholdImageFilterGeneric::Init()
+       
+////-- 
+//  template <class T>
+//  void BinaryThresholdImageFilter<T>::bbUserSetDefaultValues()
+//  {
+//    bbSetInputLowerThreshold(0);
+//    bbSetInputUpperThreshold(100);
+//    bbSetInputInsideValue(255);
+//    bbSetInputOutsideValue(0);
+//  }
+
+  void BinaryThresholdImageFilterGeneric::bbUserSetDefaultValues()
   {
     bbSetInputLowerThreshold(0);
     bbSetInputUpperThreshold(100);
@@ -177,6 +173,32 @@ namespace bbitk
     bbSetInputOutsideValue(0);
   }
 
+ //--
+
+       template <class T>
+       void BinaryThresholdImageFilter<T>::bbUserInitializeProcessing()
+       {
+       }
+       
+       void BinaryThresholdImageFilterGeneric::bbUserInitializeProcessing()
+       {
+       }
+       
+//--
+       
+       //--
+       
+       template <class T>
+       void BinaryThresholdImageFilter<T>::bbUserFinalizeProcessing()
+       {
+       }
+       
+       void BinaryThresholdImageFilterGeneric::bbUserFinalizeProcessing()
+       {
+       }
+       
+       
+       
 }
 // EO namespace bbtk