]> Creatis software - bbtk.git/blobdiff - packages/itk/src/bbitkResampleImageFilter.h
=== MAJOR RELEASE ====
[bbtk.git] / packages / itk / src / bbitkResampleImageFilter.h
index a46bf4c892daaa45c41b0d0e0f2b0a935b437e63..54be167cbc2344f1c072e2a57cf527ac071f03d3 100644 (file)
@@ -1,7 +1,7 @@
 #ifdef _USE_ITK_
 
 #include <math.h>
-#include "bbtkUserBlackBox.h"
+#include "bbtkAtomicBlackBox.h"
 #include "itkResampleImageFilter.h"
 #include "bbitkImage.h"
 #include "itkNearestNeighborInterpolateImageFunction.h"
@@ -14,10 +14,10 @@ namespace bbitk
  
   class /*BBTK_EXPORT*/ ResampleImageFilter
     : 
-    public bbtk::UserBlackBox
+    public bbtk::AtomicBlackBox
   {
-    BBTK_USER_BLACK_BOX_INTERFACE(ResampleImageFilter,
-                                 bbtk::UserBlackBox);
+    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);
@@ -33,19 +33,20 @@ namespace bbitk
   };
   
   BBTK_BEGIN_DESCRIBE_BLACK_BOX(ResampleImageFilter,
-                               bbtk::UserBlackBox);
+                               bbtk::AtomicBlackBox);
   BBTK_NAME("ResampleImageFilter");
-  BBTK_AUTHOR("laurent.guigues@creatis.insa-lyon.fr");
+  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);
+            "Input image. Can be any itk::Image<T,D>*",anyImagePointer,"");
   BBTK_INPUT(ResampleImageFilter,Spacing,
-            "Spacing",std::vector<double>);
+            "Spacing",std::vector<double>,"spacing");
   BBTK_INPUT(ResampleImageFilter,Interpolation,
-            "Interpolation",std::string);
+            "Interpolation",std::string,"");
   BBTK_OUTPUT(ResampleImageFilter,Out,
              "Output image. Of the same type and dimension than the input image",
-             anyImagePointer);
+             anyImagePointer,"");
   BBTK_END_DESCRIBE_BLACK_BOX(ResampleImageFilter);