[vtkusers] HELP! LookupTable
Ali Calvert
fcukered at gmail.com
Fri Jul 14 05:59:36 EDT 2006
Hi, sorry if its a stupid question but I have the following bit of code:
vtkImageMapToColors map
map SetInputConnection [reader GetOutputPort]
map SetLookupTable [reader GetLookupTable]
map SetOutputFormatToRGBA
I want to be able to find a colour at say index 180 so I could use the
GetColor method from vtkLookupTable.
However, the problem i am having is that the lookuptable has no name
therefore i cannot call the GetColor method.
Driving me a bit mad!
I would appreciate any help at all.
Thanks to all.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060714/8cba5b20/attachment.htm>
More information about the vtkusers
mailing list