]> Creatis software - bbtk.git/blobdiff - packages/itk/src/bbitkImageRegion.h
Renamed UserBlackBox into AtomicBlackBox which is a better name (versus ComplexBlackB...
[bbtk.git] / packages / itk / src / bbitkImageRegion.h
index 7c98f8facf8dc40e444823d182631007f78c084b..189067b93ec348fe7f1346980673d58319191ccc 100644 (file)
@@ -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<long>);
     BBTK_DECLARE_INPUT(Size,std::vector<long>);
     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<anyImageRegion>()+") from two vectors providing the index and size of the region. The dimension D of the actual itk::ImageRegion<D> created is the max of the sizes of Index and Size (the smallest vector is padded by zeros).");