]> Creatis software - creaMaracasVisu.git/blob - bbtk/src/bbmaracasvisuILPD._cxx_
b5021251746167a843a5b9b5e7daff59708b3d0e
[creaMaracasVisu.git] / bbtk / src / bbmaracasvisuILPD._cxx_
1 #include "bbmaracasvisuILPD.h"
2 #include "bbmaracasvisuPackage.h"
3
4 #include "wxILPD.h"
5 #include "ILPD/src/controlerInterface/ILPDViewListPatient.h"
6 #include "ILPD/src/wxInterface/ILPDViewWxWindow.h"
7
8 namespace bbmaracasvisu
9 {
10
11 BBTK_ADD_BLACK_BOX_TO_PACKAGE(maracasvisu,ILPD)
12 BBTK_BLACK_BOX_IMPLEMENTATION(ILPD,bbtk::WxBlackBox);
13
14 //------------------------------------------------------------
15 void ILPD::Process()
16 {
17   wxILPD *wxilpd = (wxILPD *)bbGetOutputWidget();
18   lstStringFileName.clear();
19   wxilpd->GetLstImageFiles( &lstStringFileName );
20   bbSetOutputLstFileName( &lstStringFileName );
21   bbSetOutputType( wxilpd->GetType() );
22 }
23
24 //------------------------------------------------------------
25 void ILPD::CreateWidget()
26 {
27         wxILPD *wxilpd = new wxILPD ( bbGetWxParent()  );
28         ILPDViewListPatient*  _ilpdViewListPatient    = new ILPDViewListPatient( new ILPDViewWxWindow(wxilpd) );
29
30         bbSetOutputWidget( wxilpd );
31     bbSetOutputType( -999 );
32     bbSetOutputLstFileName( NULL );
33 }
34
35 //------------------------------------------------------------
36 void ILPD::bbUserConstructor()
37 {
38 }
39
40 //------------------------------------------------------------
41 void ILPD::bbUserCopyConstructor()
42 {
43 }
44
45 //------------------------------------------------------------
46 void ILPD::bbUserDestructor()
47 {
48 }
49
50
51 }
52 // EO namespace bbmaracasvisu
53
54