]> Creatis software - bbtk.git/blobdiff - packages/itk/src/bbitkAnyImageToTypedImage.h
Renamed UserBlackBox into AtomicBlackBox which is a better name (versus ComplexBlackB...
[bbtk.git] / packages / itk / src / bbitkAnyImageToTypedImage.h
index 5fad5fc4682cf731bfcc5e9e0d3bff07ec5f10d7..beb8a20378d251a04d8523fd9edcab0533e81612 100644 (file)
@@ -3,19 +3,19 @@
 #ifndef __bbitkAnyImageToTypedImage_h_INCLUDED__
 #define __bbitkAnyImageToTypedImage_h_INCLUDED__
 
-#include "bbtkUserBlackBox.h"
+#include "bbtkAtomicBlackBox.h"
 #include "bbitkImage.h"
 
 namespace bbitk
 {
 
   //=================================================================
-  // UserBlackBox declaration
+  // BlackBox declaration
   template <class itkImageTypePointer>
-  class AnyImageToTypedImage : public bbtk::UserBlackBox
+  class AnyImageToTypedImage : public bbtk::AtomicBlackBox
   {  
     BBTK_USER_BLACK_BOX_INTERFACE(AnyImageToTypedImage,
-                                 bbtk::UserBlackBox);
+                                 bbtk::AtomicBlackBox);
     BBTK_DECLARE_INPUT(In,anyImagePointer);
     BBTK_DECLARE_OUTPUT(Out,itkImageTypePointer);
     BBTK_PROCESS(DoIt);
@@ -24,7 +24,7 @@ namespace bbitk
   //=================================================================
   
   //=================================================================
-  // UserBlackBox description
+  // BlackBox description
   BBTK_BEGIN_DESCRIBE_TEMPLATE_BLACK_BOX(AnyImageToTypedImage);
   BBTK_NAME(bbtk::HumanTypeName<anyImagePointer>() + "To"+bbtk::HumanTypeName<T>());
   BBTK_AUTHOR("laurent.guigues@creatis.insa-lyon.fr");
@@ -59,12 +59,12 @@ namespace bbitk
   //=================================================================
 
   //=================================================================
-  // UserBlackBox declaration
+  // BlackBox declaration
   template <class itkImageTypePointer, class itkImageTypeConstPointer>
-  class AnyImageToConstTypedImage : public bbtk::UserBlackBox
+  class AnyImageToConstTypedImage : public bbtk::AtomicBlackBox
   {  
     BBTK_USER_BLACK_BOX_INTERFACE(AnyImageToConstTypedImage,
-                                 bbtk::UserBlackBox);
+                                 bbtk::AtomicBlackBox);
     BBTK_DECLARE_INPUT(In,anyImagePointer);
     BBTK_DECLARE_OUTPUT(Out,itkImageTypeConstPointer);
     BBTK_PROCESS(DoIt);
@@ -73,7 +73,7 @@ namespace bbitk
   //=================================================================
   
   //=================================================================
-  // UserBlackBox description
+  // BlackBox description
   BBTK_BEGIN_DESCRIBE_TEMPLATE2_BLACK_BOX(AnyImageToConstTypedImage);
   BBTK_NAME("Convert<"+bbtk::TypeName<anyImagePointer>() + "," +
            bbtk::TypeName<T2>()+">");