X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fitk%2Fsrc%2FbbitkResampleImageFilter.h;h=8c9ed215bddd1683c6911efdf9e6a71dc75ecfb8;hb=6c5d7746e8e4cb0b5d6e164b917008a7137910fb;hp=a773add7df1161bf3b40f436b1b8ff19d4c9ebad;hpb=e2ad87948c64dcacd5566b9931d969efbe2b031b;p=bbtk.git diff --git a/packages/itk/src/bbitkResampleImageFilter.h b/packages/itk/src/bbitkResampleImageFilter.h index a773add..8c9ed21 100644 --- a/packages/itk/src/bbitkResampleImageFilter.h +++ b/packages/itk/src/bbitkResampleImageFilter.h @@ -1,7 +1,7 @@ #ifdef _USE_ITK_ #include -#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::AtomicBlackBox); BBTK_DECLARE_INPUT(In,anyImagePointer); BBTK_DECLARE_INPUT(Spacing,std::vector); BBTK_DECLARE_INPUT(Interpolation,std::string); @@ -33,20 +33,20 @@ namespace bbitk }; BBTK_BEGIN_DESCRIBE_BLACK_BOX(ResampleImageFilter, - bbtk::UserBlackBox); + bbtk::AtomicBlackBox); BBTK_NAME("ResampleImageFilter"); 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*",anyImagePointer); + "Input image. Can be any itk::Image*",anyImagePointer,""); BBTK_INPUT(ResampleImageFilter,Spacing, - "Spacing",std::vector); + "Spacing",std::vector,"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);