]> Creatis software - bbtk.git/commitdiff
#2862 BBTK Bug New Normal - SurfaceTexture inverse W/B to B/W
authorEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Fri, 26 Feb 2016 11:25:32 +0000 (12:25 +0100)
committerEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Fri, 26 Feb 2016 11:25:32 +0000 (12:25 +0100)
packages/vtk/src/bbvtkSurfaceTexture.cxx

index f9f0139004ab1225690dc7d02e298cf080b962a6..3e0f81ac70694ef2f423c9c700611b9aba5b628f 100644 (file)
@@ -57,8 +57,9 @@ printf("EED SurfaceTexture::Process Start\n");
                // Create the color map
                if (bbGetInputColorType()==1)
                {
-                       colorLookupTableWL = vtkWindowLevelLookupTable::New();
-                       colorLookupTable=colorLookupTableWL;
+                       colorLookupTableWL      = vtkWindowLevelLookupTable::New();
+                       colorLookupTableWL->InverseVideoOn();
+                       colorLookupTable        = colorLookupTableWL;
                } else {
                        colorLookupTable = vtkLookupTable::New();
                }