]> Creatis software - creaMaracasVisu.git/blob - bbtk/src/bbcreaMaracasVisuSTL.cxx
8217e9aa8a395252ebf6a276d51d0bfaf5a4418b
[creaMaracasVisu.git] / bbtk / src / bbcreaMaracasVisuSTL.cxx
1 #include "bbcreaMaracasVisuSTL.h"
2 #include "bbcreaMaracasVisuPackage.h"
3
4
5 #include "wxSTLWidget_03.h"
6
7 namespace bbcreaMaracasVisu
8 {
9
10 BBTK_ADD_BLACK_BOX_TO_PACKAGE(creaMaracasVisu,STL)
11 BBTK_BLACK_BOX_IMPLEMENTATION(STL,bbtk::WxBlackBox);
12 void STL::Process()
13 {
14  
15
16         vtkImageData* img = bbGetInputIn();
17         if(img != NULL){
18                 ((wxSTLWidget_03*)bbGetOutputWidget())->setImage(img);
19         //      mar->_experiment->initExperiment(img);
20         } 
21   
22 }
23 void STL::CreateWidget(wxWindow* parent)
24 {
25  
26
27         //mar = new marInterface();
28         
29         wxWindow* stl = new wxSTLWidget_03(parent);//, mar);
30    bbSetOutputWidget( stl ); 
31    //Process(); 
32   
33 }
34 void STL::bbUserConstructor()
35 {
36   
37     bbSetInputIn(NULL);     
38   
39 }
40 void STL::bbUserCopyConstructor(bbtk::BlackBox::Pointer)
41 {
42  
43  
44   
45 }
46 void STL::bbUserDestructor()
47 {
48  
49  
50   
51 }
52 }
53 // EO namespace bbcreaMaracasVisu
54
55