X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=appli%2FcreaNewProject%2FNewProject%2Fbbtk_mySamplePackage_PKG%2Fsrc%2FbbmySamplePackagemySampleBoxWithITK.cxx;fp=appli%2FcreaNewProject%2FNewProject%2Fbbtk_mySamplePackage_PKG%2Fsrc%2FbbmySamplePackagemySampleBoxWithITK.cxx;h=0355f30ebe7ea4ff5873f5d61f38c8a65ec8af16;hb=aea7a7a670afd36baafabc8f924902551f852006;hp=0000000000000000000000000000000000000000;hpb=1da64827ea2514835b5dad8eba5bb13bebe6a4ac;p=crea.git diff --git a/appli/creaNewProject/NewProject/bbtk_mySamplePackage_PKG/src/bbmySamplePackagemySampleBoxWithITK.cxx b/appli/creaNewProject/NewProject/bbtk_mySamplePackage_PKG/src/bbmySamplePackagemySampleBoxWithITK.cxx new file mode 100644 index 0000000..0355f30 --- /dev/null +++ b/appli/creaNewProject/NewProject/bbtk_mySamplePackage_PKG/src/bbmySamplePackagemySampleBoxWithITK.cxx @@ -0,0 +1,71 @@ +//===== +// Don't edit this file. This file is generated from xml description.. +//===== +#include "bbmySamplePackagemySampleBoxWithITK.h" +#include "bbmySamplePackagePackage.h" +namespace bbmySamplePackage +{ + +BBTK_ADD_BLACK_BOX_TO_PACKAGE(mySamplePackage,mySampleBoxWithITK) +BBTK_BLACK_BOX_IMPLEMENTATION(mySampleBoxWithITK,bbtk::AtomicBlackBox); +//===== +// Don't edit this file. This file is generated from xml description.. +//===== +void mySampleBoxWithITK::Process() +{ + +// THE MAIN PROCESSING METHOD BODY +// Here we simply set the input 'In' value to the output 'Out' +// And print out the output value +// INPUT/OUTPUT ACCESSORS ARE OF THE FORM : +// void bbSet{Input|Output}NAME(const TYPE&) +// const TYPE& bbGet{Input|Output}NAME() const +// Where : +// * NAME is the name of the input/output +// (the one provided in the attribute 'name' of the tag 'input') +// * TYPE is the C++ type of the input/output +// (the one provided in the attribute 'type' of the tag 'input') + bbSetOutputOut( bbGetInputIn() ); + std::cout << "Output value = " <