#include "bbPackRecalageDuplicateImageBox.h" #include "bbPackRecalagePackage.h" namespace bbPackRecalage { BBTK_ADD_BLACK_BOX_TO_PACKAGE(PackRecalage,DuplicateImageBox) BBTK_BLACK_BOX_IMPLEMENTATION(DuplicateImageBox,bbtk::AtomicBlackBox); void DuplicateImageBox::Process() { vtkImageData *duplicate = vtkImageData::New(); bbGetInputIn()->ShallowCopy(duplicate); bbSetOutputOut(duplicate); } void DuplicateImageBox::bbUserSetDefaultValues() { bbSetInputIn(NULL); bbSetOutputOut(NULL); } void DuplicateImageBox::bbUserInitializeProcessing() { // THE INITIALIZATION METHOD BODY : // Here does nothing // but this is where you should allocate the internal/output pointers // if any } void DuplicateImageBox::bbUserFinalizeProcessing() { // THE FINALIZATION METHOD BODY : // Here does nothing // but this is where you should desallocate the internal/output pointers // if any } } // EO namespace bbPackRecalage