//=====
void ColorLayerImageView::Process()
{
+ printf("EED ColorLayerImageView::Process Start \n");
+
if (bbGetInputIn()!=NULL) {
if ( !( (bbGetInputWxVtkBaseView()==NULL) && (bbGetInputWxVtkBaseView1()==NULL) && (bbGetInputWxVtkBaseView2()==NULL)) )
{
// firsttime=false;
clivp->SetActive( bbGetInputActive() );
}
+
+ printf("EED ColorLayerImageView::Process 1 \n");
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();
+ printf("EED ColorLayerImageView::Process 1.1 \n");
clivp->GetColorLayerImageViewManager()->SetwxVtkBaseView( 0 , bbGetInputWxVtkBaseView() );
clivp->GetColorLayerImageViewManager()->SetwxVtkBaseView( 1 , bbGetInputWxVtkBaseView1() );
clivp->GetColorLayerImageViewManager()->SetwxVtkBaseView( 2 , bbGetInputWxVtkBaseView2() );
+ printf("EED ColorLayerImageView::Process 1.2 \n");
clivp->GetColorLayerImageViewManager()->ResetRefresh( );
+ printf("EED ColorLayerImageView::Process 1.3 \n");
clivp->GetColorLayerImageViewManager()->SetRangeForColorBar( range );
+ printf("EED ColorLayerImageView::Process 1.4 \n");
clivp->GetColorLayerImageViewManager()->SetColorBarPosition( colorbarposition );
clivp->GetColorLayerImageViewManager()->SetBaseColors( base_color );
clivp->GetColorLayerImageViewManager()->SetGreyLevelBoundaries( grey_level_boundaries );
+ printf("EED ColorLayerImageView::Process 1.5 \n");
clivp->GetColorLayerImageViewManager()->SetBaseTransparence( transparence_level_boundaries );
clivp->GetColorLayerImageViewManager()->SetPlainOrGradientColor( bbGetInputPlainOrGradientColor() );
+ printf("EED ColorLayerImageView::Process 1.6 \n");
clivp->SetFittingMode( bbGetInputFittingMode() );
clivp->SetImage( bbGetInputIn() );
bbSetOutputLookupTable( clivp->GetColorLayerImageViewManager()->GetLookupTable(0) );
bbSetOutputOutOpacity( clivp->GetOpacity() );
bbSetOutputInterpolation( clivp->GetInterpolation() );
+ printf("EED ColorLayerImageView::Process 2 \n");
if (firsttime==true)
{
firsttime=false;
printf("EED Error!!! ColorLayerImageView::Process (%s) Missing Inputs: WxVtkBaseView , WxVtkBaseView1 , WxVtkBaseView2 \n", bbGetFullName().c_str() );
}// if xxVtkBaseView
} // if In
+
+ printf("EED ColorLayerImageView::Process End \n");
+
}
//=====
// Don't edit this file. This file is generated from xml description..
# knowledge of the CeCILL-B license and that you accept its terms.
# ------------------------------------------------------------------------ */
-
-
#ifndef __WX_VTK__BASE__VIEW__H
#define __WX_VTK__BASE__VIEW__H
-
-
#include <vtkRenderer.h>
#include <vtkRenderWindow.h>
#include <vtkCamera.h>
#include <vtkProperty.h>
#include <vtkActor.h>
-
#include <vtkImageViewer2.h>
#include <vtkInteractorStyleImage.h>
#include <wx/wx.h>
-
-
#include <vector>
#include "marTypes.h"
//class vtkInteractorStyleBaseView;
*/
-
#include "vtkInteractorStyleImage.h"
class creaMaracasVisu_EXPORT wxVtkBaseView{