]> Creatis software - bbtk.git/blobdiff - packages/itk/src/bbitkBinaryThresholdImageFilter.h
New widget pipeline : progressing ...
[bbtk.git] / packages / itk / src / bbitkBinaryThresholdImageFilter.h
index 6365032c3bd0f21bca1aa4b1f7aabf69441c2d49..eb26cab1f340a7aaf62e3b45984748f45aa43373 100644 (file)
@@ -2,8 +2,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbitkBinaryThresholdImageFilter.h,v $
   Language:  C++
-  Date:      $Date: 2008/10/17 08:18:21 $
-  Version:   $Revision: 1.8 $
+  Date:      $Date: 2008/11/25 11:17:15 $
+  Version:   $Revision: 1.10 $
 =========================================================================*/
 
 /* ---------------------------------------------------------------------
@@ -58,7 +58,7 @@ namespace bbitk
     BBTK_ITK_DELETE();
 
     void bbUserConstructor() { Init(); }
-    void bbUserCopyConstructor() { Init(); }
+    void bbUserCopyConstructor(bbtk::BlackBox::Pointer) { Init(); }
     void Init();
 
   };
@@ -102,7 +102,7 @@ namespace bbitk
     inline void ProcessSwitch();
     template <class T> void Process();
     void bbUserConstructor() { Init(); }
-    void bbUserCopyConstructor() { Init(); }
+    void bbUserCopyConstructor(bbtk::BlackBox::Pointer) { Init(); }
     void Init();
   };
   
@@ -143,7 +143,8 @@ namespace bbitk
  
     typedef BinaryThresholdImageFilter<T> FilterType;
     typename FilterType::Pointer f = FilterType::New("Temp");
-    f->bbSetInputIn( this->bbGetInputIn().get<T*>());
+         typedef T* TPointer; 
+         f->bbSetInputIn( this->bbGetInputIn().get < TPointer > ());
     f->bbSetInputLowerThreshold ( (typename T::PixelType)
                                  this->bbGetInputLowerThreshold() );
     f->bbSetInputUpperThreshold ( (typename T::PixelType)