From 92938893890f824c92778ece02274c860878587c Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Mon, 29 Jul 2019 12:46:46 +0200 Subject: [PATCH] #3196 creaMaracas Visu Feature New Normal - update ImageActor --- bbtk/src/bbmaracasvisuImageActor.cxx | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/bbtk/src/bbmaracasvisuImageActor.cxx b/bbtk/src/bbmaracasvisuImageActor.cxx index fb2df56..efe3159 100644 --- a/bbtk/src/bbmaracasvisuImageActor.cxx +++ b/bbtk/src/bbmaracasvisuImageActor.cxx @@ -40,9 +40,6 @@ BBTK_ADD_BLACK_BOX_TO_PACKAGE(creaMaracasVisu,ImageActor) BBTK_BLACK_BOX_IMPLEMENTATION(ImageActor,bbtk::AtomicBlackBox); void ImageActor::Process() { - -printf("EED ImageActor::Process Start\n"); - //JCP 04/04/09 vtkRenderer *render = bbGetInputRenderer(); vtkImageData *img = bbGetInputIn(); @@ -145,23 +142,17 @@ vtkLookupTable *table = vtkLookupTable::New(); } // render bbSetOutputOut(imageactor); } // img - - + // Interface Update if ((firsttime==true) && (bbGetInputRenderer()!=NULL )) { firsttime=false; bbGetInputRenderer()->AddActor( imageactor ); } - imageactor->GetProperty()->SetOpacity( bbGetInputOpacity() ); - bbSetOutputOut(imageactor); - - -printf("EED ImageActor::Process End\n"); - - + bbSetOutputOut(imageactor); } + void ImageActor::bbUserSetDefaultValues() { firsttime = true; -- 2.49.0