]> Creatis software - crea.git/blob - appli/creaNewProject/NewProject/bbtk_mySamplePackage_PKG/src/bbmySamplePackagemySampleBoxWithVTK.cxx
b2d91e3ced268f5377cd48f4228cae9151b09d3d
[crea.git] / appli / creaNewProject / NewProject / bbtk_mySamplePackage_PKG / src / bbmySamplePackagemySampleBoxWithVTK.cxx
1 //===== 
2 // Don't edit this file. This file is generated from xml description.. 
3 //===== 
4 #include "bbmySamplePackagemySampleBoxWithVTK.h"
5 #include "bbmySamplePackagePackage.h"
6 namespace bbmySamplePackage
7 {
8
9 BBTK_ADD_BLACK_BOX_TO_PACKAGE(mySamplePackage,mySampleBoxWithVTK)
10 BBTK_BLACK_BOX_IMPLEMENTATION(mySampleBoxWithVTK,bbtk::AtomicBlackBox);
11 //===== 
12 // Don't edit this file. This file is generated from xml description.. 
13 //===== 
14 void mySampleBoxWithVTK::Process()
15 {
16
17 // THE MAIN PROCESSING METHOD BODY
18 //   Here we simply set the input 'In' value to the output 'Out'
19 //   And print out the output value
20 // INPUT/OUTPUT ACCESSORS ARE OF THE FORM :
21 //    void bbSet{Input|Output}NAME(const TYPE&)
22 //    const TYPE& bbGet{Input|Output}NAME() const 
23 //    Where :
24 //    * NAME is the name of the input/output
25 //      (the one provided in the attribute 'name' of the tag 'input')
26 //    * TYPE is the C++ type of the input/output
27 //      (the one provided in the attribute 'type' of the tag 'input')
28     bbSetOutputOut( bbGetInputIn() );
29     std::cout << "Output value = " <<bbGetOutputOut() << std::endl;
30   
31 }
32 //===== 
33 // Don't edit this file. This file is generated from xml description.. 
34 //===== 
35 void mySampleBoxWithVTK::bbUserSetDefaultValues()
36 {
37
38 //  SET HERE THE DEFAULT INPUT/OUTPUT VALUES OF YOUR BOX 
39 //    Here we initialize the input 'In' to 0
40    bbSetInputIn(0);
41   
42 }
43 //===== 
44 // Don't edit this file. This file is generated from xml description.. 
45 //===== 
46 void mySampleBoxWithVTK::bbUserInitializeProcessing()
47 {
48
49 //  THE INITIALIZATION METHOD BODY :
50 //    Here does nothing 
51 //    but this is where you should allocate the internal/output pointers 
52 //    if any 
53
54   
55 }
56 //===== 
57 // Don't edit this file. This file is generated from xml description.. 
58 //===== 
59 void mySampleBoxWithVTK::bbUserFinalizeProcessing()
60 {
61
62 //  THE FINALIZATION METHOD BODY :
63 //    Here does nothing 
64 //    but this is where you should desallocate the internal/output pointers 
65 //    if any
66   
67 }
68 }
69 // EO namespace bbmySamplePackage
70
71