X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fitk%2Fsrc%2FbbitkImageRegion.h;h=189067b93ec348fe7f1346980673d58319191ccc;hb=2b7ac5ab18a67097a812e20a5ecba3dac63f29cc;hp=7c98f8facf8dc40e444823d182631007f78c084b;hpb=e4de8cde07118f7b9059aaf5460645c61491bb0d;p=bbtk.git diff --git a/packages/itk/src/bbitkImageRegion.h b/packages/itk/src/bbitkImageRegion.h index 7c98f8f..189067b 100644 --- a/packages/itk/src/bbitkImageRegion.h +++ b/packages/itk/src/bbitkImageRegion.h @@ -6,7 +6,7 @@ #include "itkImageRegion.h" #include "bbtkMessageManager.h" #include "bbtkAny.h" -#include "bbtkUserBlackBox.h" +#include "bbtkAtomicBlackBox.h" namespace bbitk { @@ -44,9 +44,9 @@ namespace bbitk //======================================================================= /// Black Box which creates an anyImageRegion class /*BBTK_EXPORT*/ ImageRegionCreator - : public bbtk::UserBlackBox + : public bbtk::AtomicBlackBox { - BBTK_USER_BLACK_BOX_INTERFACE(ImageRegionCreator,bbtk::UserBlackBox); + BBTK_USER_BLACK_BOX_INTERFACE(ImageRegionCreator,bbtk::AtomicBlackBox); BBTK_DECLARE_INPUT(Index,std::vector); BBTK_DECLARE_INPUT(Size,std::vector); BBTK_DECLARE_OUTPUT(Out,anyImageRegion); @@ -57,7 +57,7 @@ namespace bbitk }; - BBTK_BEGIN_DESCRIBE_BLACK_BOX(ImageRegionCreator,bbtk::UserBlackBox); + BBTK_BEGIN_DESCRIBE_BLACK_BOX(ImageRegionCreator,bbtk::AtomicBlackBox); BBTK_NAME("ImageRegion"); BBTK_AUTHOR("laurent.guigues@creatis.insa-lyon.fr"); BBTK_DESCRIPTION("Creates a generic ImageRegion ("+bbtk::TypeName()+") from two vectors providing the index and size of the region. The dimension D of the actual itk::ImageRegion created is the max of the sizes of Index and Size (the smallest vector is padded by zeros).");