]> Creatis software - creaMaracasVisu.git/blobdiff - bbtk/src/bbmaracasvisuImageActor.cxx
#3465 SetwxVtkBaseViewSetOpacityAxis box
[creaMaracasVisu.git] / bbtk / src / bbmaracasvisuImageActor.cxx
index efe3159914cdb2482de5c0cf2d1613e0a37824e6..7d6e5c8dec3950419f68904a6bb60e0b25086dce 100644 (file)
@@ -127,9 +127,11 @@ vtkLookupTable *table = vtkLookupTable::New();
                                imageactor->GetMapper()->SetInput( color->GetOutput() );
 #else
                                color->SetInputData( img );
+                               color->Update();
                                imageactor->GetMapper()->SetInputData( color->GetOutput() );
 #endif
                                imageactor->GetProperty()->SetInterpolationTypeToNearest();
+                               imageactor->SetForceOpaque(true);
                        }
 
                        if (transform!=NULL)