]> Creatis software - creaMaracasVisu.git/commitdiff
#3196 creaMaracas Visu Feature New Normal - update ImageActor
authorEduardo DAVILA <davila@dhcp-14.creatis.univ-lyon1.fr>
Mon, 29 Jul 2019 10:46:46 +0000 (12:46 +0200)
committerEduardo DAVILA <davila@dhcp-14.creatis.univ-lyon1.fr>
Mon, 29 Jul 2019 10:46:46 +0000 (12:46 +0200)
bbtk/src/bbmaracasvisuImageActor.cxx

index fb2df56c67176eedda5687e2f11db4be6c6d8965..efe3159914cdb2482de5c0cf2d1613e0a37824e6 100644 (file)
@@ -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;