#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);
//=================================================================
//=================================================================
- // 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");
//=================================================================
//=================================================================
- // 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);
//=================================================================
//=================================================================
- // UserBlackBox description
+ // BlackBox description
BBTK_BEGIN_DESCRIBE_TEMPLATE2_BLACK_BOX(AnyImageToConstTypedImage);
BBTK_NAME("Convert<"+bbtk::TypeName<anyImagePointer>() + "," +
bbtk::TypeName<T2>()+">");