[vtkusers] vtkLookupTable shows wrong colour
madz
madaramh at gmail.com
Mon Apr 7 03:40:52 EDT 2014
I was going for a workaround like you when a colleague of mine found the
solution. Setting the lookuptable range and setting SetScaleCellLookupTable
in vtkViewTheme to false fixed it for me.
lookupTable->SetTableRange(0,3);
...............
vtkSmartPointer<vtkViewTheme> theme = vtkSmartPointer<vtkViewTheme>::New();
theme->SetScaleCellLookupTable(false);
--
View this message in context: http://vtk.1045678.n5.nabble.com/vtkLookupTable-shows-wrong-colour-tp5726645p5726662.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list