#include "bbmySamplePackagemySampleBoxWithITK.h" #include "bbmySamplePackagePackage.h" namespace bbmySamplePackage { BBTK_ADD_BLACK_BOX_TO_PACKAGE(mySamplePackage,mySampleBoxWithITK) BBTK_BLACK_BOX_IMPLEMENTATION(mySampleBoxWithITK,bbtk::AtomicBlackBox); // // The method mySampleBoxWithITK::Process() // has a Template mechanism and is implemented in the .h file // void mySampleBoxWithITK::bbUserSetDefaultValues() { // SET HERE THE DEFAULT INPUT/OUTPUT VALUES OF YOUR BOX // Here we initialize the inputs 'Lower' and 'Upper' mOutput = 0; bbSetInputLower(200); bbSetInputUpper(1200); } void mySampleBoxWithITK::bbUserInitializeProcessing() { // THE INITIALIZATION METHOD BODY : // Here does nothing // but this is where you should allocate the internal/output pointers // if any } void mySampleBoxWithITK::bbUserFinalizeProcessing() { // THE FINALIZATION METHOD BODY : // Here does nothing // but this is where you should desallocate the internal/output pointers // if any } } // EO namespace bbmySamplePackage