]> Creatis software - bbtk.git/blobdiff - packages/itk/src/bbitkResampleImageFilter.h
no message
[bbtk.git] / packages / itk / src / bbitkResampleImageFilter.h
index 03fbd59a6d292980f7a6480f2af20e94e30b227d..7380db2b322626e60d3ef3e036b098897de75041 100644 (file)
@@ -2,8 +2,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbitkResampleImageFilter.h,v $
   Language:  C++
-  Date:      $Date: 2009/05/18 10:45:44 $
-  Version:   $Revision: 1.10 $
+  Date:      $Date: 2011/05/03 12:24:22 $
+  Version:   $Revision: 1.11 $
 =========================================================================*/
 
 /* ---------------------------------------------------------------------
@@ -48,12 +48,11 @@ namespace bbitk
     : 
     public bbtk::AtomicBlackBox
   {
-    BBTK_BLACK_BOX_INTERFACE(ResampleImageFilter,
-                                 bbtk::AtomicBlackBox);
-    BBTK_DECLARE_INPUT(In,anyImagePointer);
-    BBTK_DECLARE_INPUT(Spacing,std::vector<double>);
-    BBTK_DECLARE_INPUT(Interpolation,std::string);
-    BBTK_DECLARE_OUTPUT(Out,anyImagePointer);
+    BBTK_BLACK_BOX_INTERFACE(ResampleImageFilter, bbtk::AtomicBlackBox);
+       BBTK_DECLARE_INPUT(In,anyImagePointer);
+       BBTK_DECLARE_INPUT(Spacing,std::vector<double>);
+       BBTK_DECLARE_INPUT(Interpolation,std::string);
+       BBTK_DECLARE_OUTPUT(Out,anyImagePointer);
     BBTK_PROCESS(ProcessSwitch);
   private :
     inline void ProcessSwitch();
@@ -69,15 +68,10 @@ namespace bbitk
   BBTK_AUTHOR("laurent.guigues at creatis.insa-lyon.fr");
   BBTK_DESCRIPTION("Resamples an image");
   BBTK_CATEGORY("image;filter");
-  BBTK_INPUT(ResampleImageFilter,In,
-            "Input image. Can be any itk::Image<T,D>*",anyImagePointer,"");
-  BBTK_INPUT(ResampleImageFilter,Spacing,
-            "Spacing",std::vector<double>,"spacing");
-  BBTK_INPUT(ResampleImageFilter,Interpolation,
-            "Interpolation",std::string,"");
-  BBTK_OUTPUT(ResampleImageFilter,Out,
-             "Output image. Of the same type and dimension than the input image",
-             anyImagePointer,"");
+  BBTK_INPUT(ResampleImageFilter,In,"Input image. Can be any itk::Image<T,D>*",anyImagePointer,"");
+  BBTK_INPUT(ResampleImageFilter,Spacing,"Spacing",std::vector<double>,"spacing");
+  BBTK_INPUT(ResampleImageFilter,Interpolation,"Interpolation: Linear (default) || BSpline || NearestNeighbor)  ",std::string,"");
+  BBTK_OUTPUT(ResampleImageFilter,Out,"Output image. Of the same type and dimension than the input image",anyImagePointer,"");
   BBTK_END_DESCRIBE_BLACK_BOX(ResampleImageFilter);
  //===================================================
  
@@ -203,7 +197,6 @@ namespace bbitk
        }       
        
 
-}
-// EO namespace bbtk
+} // EO namespace bbitk
 
-#endif 
+#endif   // _USE_ITK_