X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=appli%2FcreaNewProject%2FNewProject%2Fbbtk_mySamplePackage_PKG%2Fsrc%2FbbmySamplePackagemySampleBoxWithVTK.cxx;fp=appli%2FcreaNewProject%2FNewProject%2Fbbtk_mySamplePackage_PKG%2Fsrc%2FbbmySamplePackagemySampleBoxWithVTK.cxx;h=b2d91e3ced268f5377cd48f4228cae9151b09d3d;hb=aea7a7a670afd36baafabc8f924902551f852006;hp=0000000000000000000000000000000000000000;hpb=1da64827ea2514835b5dad8eba5bb13bebe6a4ac;p=crea.git diff --git a/appli/creaNewProject/NewProject/bbtk_mySamplePackage_PKG/src/bbmySamplePackagemySampleBoxWithVTK.cxx b/appli/creaNewProject/NewProject/bbtk_mySamplePackage_PKG/src/bbmySamplePackagemySampleBoxWithVTK.cxx new file mode 100644 index 0000000..b2d91e3 --- /dev/null +++ b/appli/creaNewProject/NewProject/bbtk_mySamplePackage_PKG/src/bbmySamplePackagemySampleBoxWithVTK.cxx @@ -0,0 +1,71 @@ +//===== +// Don't edit this file. This file is generated from xml description.. +//===== +#include "bbmySamplePackagemySampleBoxWithVTK.h" +#include "bbmySamplePackagePackage.h" +namespace bbmySamplePackage +{ + +BBTK_ADD_BLACK_BOX_TO_PACKAGE(mySamplePackage,mySampleBoxWithVTK) +BBTK_BLACK_BOX_IMPLEMENTATION(mySampleBoxWithVTK,bbtk::AtomicBlackBox); +//===== +// Don't edit this file. This file is generated from xml description.. +//===== +void mySampleBoxWithVTK::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 = " <