1 #include "bbcreaMaracasVisuOpenImageDialog.h"
2 #include "bbcreaMaracasVisuPackage.h"
4 namespace bbcreaMaracasVisu
7 BBTK_ADD_BLACK_BOX_TO_PACKAGE(creaMaracasVisu,OpenImageDialog)
8 BBTK_BLACK_BOX_IMPLEMENTATION(OpenImageDialog,bbtk::AtomicBlackBox);
9 void OpenImageDialog::Process()
12 // THE MAIN PROCESSING METHOD BODY
13 // Here we simply set the input 'In' value to the output 'Out'
14 // And print out the output value
15 // INPUT/OUTPUT ACCESSORS ARE OF THE FORM :
16 // void bbSet{Input|Output}NAME(const TYPE&)
17 // const TYPE& bbGet{Input|Output}NAME() const
19 // * NAME is the name of the input/output
20 // (the one provided in the attribute 'name' of the tag 'input')
21 // * TYPE is the C++ type of the input/output
22 // (the one provided in the attribute 'type' of the tag 'input')
25 creaMaracasVisuKernel::OpenImageDialog diag = creaMaracasVisuKernel::OpenImageDialog();
29 bbSetOutputOut( diag.getImageData() );
30 std::cout << "Output value = " <<bbGetOutputOut() << std::endl;
33 void OpenImageDialog::bbUserSetDefaultValues()
36 // SET HERE THE DEFAULT INPUT/OUTPUT VALUES OF YOUR BOX
37 // Here we initialize the input 'In' to 0
41 void OpenImageDialog::bbUserInitializeProcessing()
44 // THE INITIALIZATION METHOD BODY :
46 // but this is where you should allocate the internal/output pointers
51 void OpenImageDialog::bbUserFinalizeProcessing()
54 // THE FINALIZATION METHOD BODY :
56 // but this is where you should desallocate the internal/output pointers
61 // EO namespace bbcreaMaracasVisu