X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=packages%2Fvtk%2Fsrc%2FbbvtkSurfaceTexture.cxx;h=3e0f81ac70694ef2f423c9c700611b9aba5b628f;hb=53a23e4f6a81c449329e11fc0f1f3c4e35ccce3c;hp=f9f0139004ab1225690dc7d02e298cf080b962a6;hpb=ddc1c107ea96a276a16d47be309d81ca516e132c;p=bbtk.git diff --git a/packages/vtk/src/bbvtkSurfaceTexture.cxx b/packages/vtk/src/bbvtkSurfaceTexture.cxx index f9f0139..3e0f81a 100644 --- a/packages/vtk/src/bbvtkSurfaceTexture.cxx +++ b/packages/vtk/src/bbvtkSurfaceTexture.cxx @@ -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(); }