From: Eduardo DAVILA Date: Mon, 29 Jul 2019 10:46:46 +0000 (+0200) Subject: #3196 creaMaracas Visu Feature New Normal - update ImageActor X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=92938893890f824c92778ece02274c860878587c;p=creaMaracasVisu.git #3196 creaMaracas Visu Feature New Normal - update ImageActor --- 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;