X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=packages%2Fvtk%2Fsrc%2FbbvtkSurfaceTexture.cxx;h=3e0f81ac70694ef2f423c9c700611b9aba5b628f;hb=31e2f0203d76d9cf52237073ee0d259604419392;hp=f9f0139004ab1225690dc7d02e298cf080b962a6;hpb=899e84df04040566381e7252faa0b47d0863baca;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(); }