]> Creatis software - crea.git/blob - appli/creaNewProject/NewProject/bbtk_mySamplePackage_PKG/src/bbmySamplePackagemySampleBoxWithITK.cxx
fc9cd4873265d9761e4f96f7e8ea232727d5fa88
[crea.git] / appli / creaNewProject / NewProject / bbtk_mySamplePackage_PKG / src / bbmySamplePackagemySampleBoxWithITK.cxx
1
2 #include "bbmySamplePackagemySampleBoxWithITK.h"
3 #include "bbmySamplePackagePackage.h"
4 namespace bbmySamplePackage
5 {
6
7 BBTK_ADD_BLACK_BOX_TO_PACKAGE(mySamplePackage,mySampleBoxWithITK)
8 BBTK_BLACK_BOX_IMPLEMENTATION(mySampleBoxWithITK,bbtk::AtomicBlackBox);
9
10 //
11 // The method     void mySampleBoxWithITK::Process()
12 // have a Template mechanisme and is implemented in the .h file
13 //
14         
15         
16 void mySampleBoxWithITK::bbUserSetDefaultValues()
17 {
18
19 //  SET HERE THE DEFAULT INPUT/OUTPUT VALUES OF YOUR BOX 
20 //    Here we initialize the input 'In' to 0
21         
22         mOutput = 0;
23         bbSetInputLower(200);
24         bbSetInputUpper(1200);
25 }
26
27 void mySampleBoxWithITK::bbUserInitializeProcessing()
28 {
29 //  THE INITIALIZATION METHOD BODY :
30 //    Here does nothing 
31 //    but this is where you should allocate the internal/output pointers 
32 //    if any 
33 }
34
35 void mySampleBoxWithITK::bbUserFinalizeProcessing()
36 {
37 //  THE FINALIZATION METHOD BODY :
38 //    Here does nothing 
39 //    but this is where you should desallocate the internal/output pointers 
40 //    if any
41   
42 }
43
44 }
45 // EO namespace bbmySamplePackage
46
47