From aa06e16e68ef525567a93b551e5876dcb0f19220 Mon Sep 17 00:00:00 2001 From: "eduardo.davila@creatis.insa-lyon.fr" Date: Mon, 25 Mar 2024 11:02:25 +0100 Subject: [PATCH] CompareImages --- packages/wx/src/bbwxDropFiles.cxx | 26 ++++++++++---------------- packages/wx/src/bbwxDropFiles.h | 5 +++-- 2 files changed, 13 insertions(+), 18 deletions(-) diff --git a/packages/wx/src/bbwxDropFiles.cxx b/packages/wx/src/bbwxDropFiles.cxx index 62585a7..63bc712 100644 --- a/packages/wx/src/bbwxDropFiles.cxx +++ b/packages/wx/src/bbwxDropFiles.cxx @@ -43,7 +43,6 @@ BBTK_BLACK_BOX_IMPLEMENTATION(DropFiles,bbtk::AtomicBlackBox); //===== void DropFiles::Process() { - // THE MAIN PROCESSING METHOD BODY // Here we simply set the input 'In' value to the output 'Out' // And print out the output value @@ -58,50 +57,45 @@ void DropFiles::Process() // bbSetOutputOut( bbGetInputIn() ); // std::cout << "Output value = " <SetDropTarget( new WxDropFiles(this) ); } - + bbSetOutputLstPaths( bbGetInputLstPaths() ); } -//===== + +//===== // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) //===== void DropFiles::bbUserSetDefaultValues() { - // SET HERE THE DEFAULT INPUT/OUTPUT VALUES OF YOUR BOX // Here we initialize the input 'In' to 0 bbSetInputWidget(NULL); - } -//===== + +//===== // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) //===== void DropFiles::bbUserInitializeProcessing() { - // THE INITIALIZATION METHOD BODY : // Here does nothing // but this is where you should allocate the internal/output pointers -// if any - - +// if any } -//===== + +//===== // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) //===== void DropFiles::bbUserFinalizeProcessing() { - // THE FINALIZATION METHOD BODY : // Here does nothing // but this is where you should desallocate the internal/output pointers // if any - -} } -// EO namespace bbwx + +}// EO namespace bbwx diff --git a/packages/wx/src/bbwxDropFiles.h b/packages/wx/src/bbwxDropFiles.h index e6a0f43..95fafcb 100644 --- a/packages/wx/src/bbwxDropFiles.h +++ b/packages/wx/src/bbwxDropFiles.h @@ -26,6 +26,7 @@ class bbwx_EXPORT DropFiles // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) //===== BBTK_DECLARE_INPUT(Widget,wxWindow*); + BBTK_DECLARE_INPUT(LstPaths,std::vector); BBTK_DECLARE_OUTPUT(LstPaths,std::vector); BBTK_PROCESS(Process); void Process(); @@ -40,13 +41,13 @@ BBTK_BEGIN_DESCRIBE_BLACK_BOX(DropFiles,bbtk::AtomicBlackBox); BBTK_DESCRIPTION("No Description."); BBTK_CATEGORY("empty"); BBTK_INPUT(DropFiles,Widget,"wxWidget",wxWindow*,""); + BBTK_INPUT(DropFiles,LstPaths,"Input init List Paths", std::vector ,""); BBTK_OUTPUT(DropFiles,LstPaths,"List of paths",std::vector,""); BBTK_END_DESCRIBE_BLACK_BOX(DropFiles); //===== // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) //===== -} -// EO namespace bbwx +} // EO namespace bbwx #endif // __bbwxDropFiles_h_INCLUDED__ -- 2.45.1