]> Creatis software - creaMaracasVisu.git/blob - bbtk/src/bbcreaMaracasVisuColorLayerImageView.cxx
*** empty log message ***
[creaMaracasVisu.git] / bbtk / src / bbcreaMaracasVisuColorLayerImageView.cxx
1 //=====
2 // Don't edit this file. This file is generated from xml description..
3 //=====
4 #include "bbcreaMaracasVisuColorLayerImageView.h"
5 #include "bbcreaMaracasVisuPackage.h"
6
7 #include "ColorLayerImageViewPanel.h"
8
9 namespace bbcreaMaracasVisu
10 {
11
12 BBTK_ADD_BLACK_BOX_TO_PACKAGE(creaMaracasVisu,ColorLayerImageView)
13 BBTK_BLACK_BOX_IMPLEMENTATION(ColorLayerImageView,bbtk::WxBlackBox);
14 //=====
15 // Don't edit this file. This file is generated from xml description..
16 //=====
17 void ColorLayerImageView::Process()
18 {
19
20     ColorLayerImageViewPanel *clivp = (ColorLayerImageViewPanel*)bbGetOutputWidget();
21     clivp->GetColorLayerImageView()->SetwxVtkBaseView( bbGetInputWxVtkBaseView() );
22     clivp->SetImage( bbGetInputIn() );
23
24 //   std::string msg;
25 //    if (bbGetInputTitle()!="")
26 //    {
27 //        msg = bbGetInputTitle()+": " + bbGetInputIn();
28 //    }else{
29 //        msg = bbGetInputIn();
30 //    }
31 //   ((wxStaticText*)bbGetOutputWidget())->SetLabel( bbtk::std2wx( msg ) );
32
33 }
34 //=====
35 // Don't edit this file. This file is generated from xml description..
36 //=====
37 void ColorLayerImageView::CreateWidget(wxWindow* parent)
38 {
39    ColorLayerImageViewPanel *clivp = new ColorLayerImageViewPanel(parent, 0, 100, 1);
40    bbSetOutputWidget( clivp );
41 }
42 //=====
43 // Don't edit this file. This file is generated from xml description..
44 //=====
45 void ColorLayerImageView::bbUserSetDefaultValues()
46 {
47     bbSetInputIn(NULL);
48     bbSetInputWxVtkBaseView(NULL);
49 }
50 //=====
51 // Don't edit this file. This file is generated from xml description..
52 //=====
53 void ColorLayerImageView::bbUserInitializeProcessing()
54 {
55
56 }
57 //=====
58 // Don't edit this file. This file is generated from xml description..
59 //=====
60 void ColorLayerImageView::bbUserFinalizeProcessing()
61 {
62
63 }
64 }
65 // EO namespace bbcreaMaracasVisu
66
67