]> Creatis software - creaMaracasVisu.git/blob - bbtk/src/bbmaracasvisuILPDwithImage._cxx_
3e7ff6312e68c48ca4879629d24234621396f739
[creaMaracasVisu.git] / bbtk / src / bbmaracasvisuILPDwithImage._cxx_
1 #include "bbmaracasvisuILPDwithImage.h"
2 #include "bbmaracasvisuPackage.h"
3
4 #include "wxILPDwithImage.h"
5
6
7 namespace bbmaracasvisu
8 {
9
10 BBTK_ADD_BLACK_BOX_TO_PACKAGE(maracasvisu,ILPDwithImage)
11 BBTK_BLACK_BOX_IMPLEMENTATION(ILPDwithImage,bbtk::WxBlackBox);
12
13 //------------------------------------------------------------
14 void ILPDwithImage::Process()
15 {
16         wxILPDwithImage *wxilpdwithimage = (wxILPDwithImage *)bbGetOutputWidget();
17         std::vector <std::string*> lstStringFileName;
18         wxilpdwithimage->GetWxILPD()->GetLstImageFiles( &lstStringFileName );
19
20         lstStringFileNameTMP.clear();
21
22         int i,size = lstStringFileName.size();
23         for ( i=0 ; i<size; i++ ){
24                 lstStringFileNameTMP.push_back( lstStringFileName[i]->c_str() );
25         } // for
26
27   bbSetOutputLstFileName( lstStringFileNameTMP );
28   bbSetOutputType( wxilpdwithimage->GetWxILPD()->GetType() );
29 }
30
31 //------------------------------------------------------------
32 void ILPDwithImage::CreateWidget()
33 {
34         bbSetOutputWidget( new wxILPDwithImage ( bbGetWxParent() ) );
35     bbSetOutputType( -999 );
36 }
37
38 //------------------------------------------------------------
39 void ILPDwithImage::bbUserConstructor()
40 {
41 }
42
43 //------------------------------------------------------------
44 void ILPDwithImage::bbUserCopyConstructor()
45 {
46 }
47
48 //------------------------------------------------------------
49 void ILPDwithImage::bbUserDestructor()
50 {
51 }
52
53 }
54 // EO namespace bbmaracasvisu
55
56