[vtkusers] How to change colour mapping of a vtkImageData? (used as a plane's texture)
sean at rogue-research.com
Tue Jun 28 10:57:43 EDT 2005
On 2005-06-27 18:13, Sara Broughton - CSCI/P2002 said:
>You could try using vtkImageMapToColors.
vtkImageMapToColors does the trick nicely! I had also discovered the
method vtkTexture::SetLookupTable(vtkLookupTable*) which also worked,
but oddly it only takes a vtkLookupTable, not the more general
vtkScalarsToColors, so vtkImageMapToColors is much nicer.
Sean McBride, B. Eng sean at rogue-research.com
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
More information about the vtkusers