2 // Don't edit this file. This file is generated from xml description..
4 #include "bbcreaMaracasVisuColorLayerImageView.h"
5 #include "bbcreaMaracasVisuPackage.h"
7 #include "ColorLayerImageViewPanel.h"
9 namespace bbcreaMaracasVisu
12 BBTK_ADD_BLACK_BOX_TO_PACKAGE(creaMaracasVisu,ColorLayerImageView)
13 BBTK_BLACK_BOX_IMPLEMENTATION(ColorLayerImageView,bbtk::WxBlackBox);
15 // Don't edit this file. This file is generated from xml description..
17 void ColorLayerImageView::Process()
19 ColorLayerImageViewPanel *clivp = (ColorLayerImageViewPanel*)bbGetOutputWidget();
20 clivp->GetColorLayerImageView()->SetwxVtkBaseView( bbGetInputWxVtkBaseView() );
22 std::vector<double> base_color = bbGetInputlstBaseColor();
23 clivp->GetColorLayerImageView()->SetBaseColors( base_color );
25 std::vector<double> grey_level_boundaries = bbGetInputlstGreyLevelBoundaries();
26 clivp->GetColorLayerImageView()->SetGreyLevelBoundaries( grey_level_boundaries );
28 clivp->GetColorLayerImageView()->SetPlainOrGradientColor( bbGetInputPlainOrGradientColor() );
29 clivp->SetFittingMode( bbGetInputFittingMode() );
31 clivp->SetImage( bbGetInputIn() );
34 // if (bbGetInputTitle()!="")
36 // msg = bbGetInputTitle()+": " + bbGetInputIn();
38 // msg = bbGetInputIn();
40 // ((wxStaticText*)bbGetOutputWidget())->SetLabel( bbtk::std2wx( msg ) );
44 // Don't edit this file. This file is generated from xml description..
46 void ColorLayerImageView::CreateWidget(wxWindow* parent)
48 ColorLayerImageViewPanel *clivp = new ColorLayerImageViewPanel(parent, 0, 100, 1);
49 bbSetOutputWidget( clivp );
52 // Don't edit this file. This file is generated from xml description..
54 void ColorLayerImageView::bbUserSetDefaultValues()
57 bbSetInputWxVtkBaseView(NULL);
60 // Don't edit this file. This file is generated from xml description..
62 void ColorLayerImageView::bbUserInitializeProcessing()
67 // Don't edit this file. This file is generated from xml description..
69 void ColorLayerImageView::bbUserFinalizeProcessing()
74 // EO namespace bbcreaMaracasVisu