//=====
void ColorLayerImageView::Process()
{
+ printf("EED ColorLayerImageView::Process Start %s\n", bbGetFullName().c_str());
if (bbGetInputIn()!=NULL) {
if ( !( (bbGetInputWxVtkBaseView()==NULL) && (bbGetInputWxVtkBaseView1()==NULL) && (bbGetInputWxVtkBaseView2()==NULL)) )
{
// firsttime=false;
clivp->SetActive( bbGetInputActive() );
}
+
+ std::vector<double> range = bbGetInputlstRangeForColorBar();
+ std::vector<int> colorbarposition = bbGetInputColorBarPosition();
+ std::vector<double> base_color = bbGetInputlstBaseColor();
+ std::vector<double> grey_level_boundaries = bbGetInputlstGreyLevelBoundaries();
+ std::vector<double> transparence_level_boundaries = bbGetInputlstTransparenceBoundaries();
+
clivp->GetColorLayerImageViewManager()->SetwxVtkBaseView( 0 , bbGetInputWxVtkBaseView() );
clivp->GetColorLayerImageViewManager()->SetwxVtkBaseView( 1 , bbGetInputWxVtkBaseView1() );
clivp->GetColorLayerImageViewManager()->SetwxVtkBaseView( 2 , bbGetInputWxVtkBaseView2() );
- std::vector<double> range = bbGetInputlstRangeForColorBar();
clivp->GetColorLayerImageViewManager()->SetRangeForColorBar( range );
- std::vector<int> colorbarposition = bbGetInputColorBarPosition();
clivp->GetColorLayerImageViewManager()->SetColorBarPosition( colorbarposition );
- std::vector<double> base_color = bbGetInputlstBaseColor();
clivp->GetColorLayerImageViewManager()->SetBaseColors( base_color );
- std::vector<double> grey_level_boundaries = bbGetInputlstGreyLevelBoundaries();
clivp->GetColorLayerImageViewManager()->SetGreyLevelBoundaries( grey_level_boundaries );
- std::vector<double> transparence_level_boundaries = bbGetInputlstTransparenceBoundaries();
clivp->GetColorLayerImageViewManager()->SetBaseTransparence( transparence_level_boundaries );
clivp->GetColorLayerImageViewManager()->SetPlainOrGradientColor( bbGetInputPlainOrGradientColor() );
clivp->SetFittingMode( bbGetInputFittingMode() );
clivp->SetImage( bbGetInputIn() );
+
bbSetOutputNewImage( clivp->GetColorLayerImageViewManager()->GetImageChangeInformation(0) );
bbSetOutputLookupTable( clivp->GetColorLayerImageViewManager()->GetLookupTable(0) );
bbSetOutputOutOpacity( clivp->GetOpacity() );
}// if xxVtkBaseView
} // if In
+
+ printf("EED ColorLayerImageView::Process End \n");
+
}
//=====
// Don't edit this file. This file is generated from xml description..