#ifdef _USE_ITK_
#include <math.h>
-#include "bbtkUserBlackBox.h"
+#include "bbtkAtomicBlackBox.h"
#include "itkResampleImageFilter.h"
#include "bbitkImage.h"
#include "itkNearestNeighborInterpolateImageFunction.h"
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);
};
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);