<html><div style='background-color:'><DIV>hi,</DIV>
<DIV>anyone know why i am not seeing any color or anything with the following lookup table? i just see strict black and white:</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>vtkImageViewer *viewer = vtkImageViewer::New();<BR>vtkImageData *imageData = vtkImageData::New();<BR>vtkFloatArray *fltarray = vtkFloatArray::New();<BR>vtkLookupTable *lut=vtkLookupTable::New();<BR></DIV>
<DIV>lut-&gt;SetHueRange(0.667, 0.0);<BR>lut-&gt;SetSaturationRange(1.0, 1.0);<BR>lut-&gt;SetValueRange(1.0, 1.0);<BR>lut-&gt;SetAlphaRange(1.0, 1.0);<BR>lut-&gt;SetNumberOfColors(256);<BR>lut-&gt;Build();</DIV>
<DIV>&nbsp;</DIV>
<DIV>fltarray-&gt;SetLookupTable(lut);</DIV>
<DIV><BR>imageData-&gt;GetPointData()-&gt;SetScalars(fltarray); </DIV>
<DIV><BR>viewer-&gt;SetInput(imageData);<BR>viewer-&gt;SetColorWindow(0.0);<BR>viewer-&gt;SetColorLevel(0.0);</DIV>
<DIV>&nbsp;</DIV>
<DIV>etc.. and then viewer-&gt;Render()</DIV>
<DIV>&nbsp;</DIV>
<DIV>this is the basics of my code.. no matter how i change the lookup table, i see no difference...</DIV>
<DIV>i know it must be something very silly - but if anyone has any insight..</DIV>
<DIV>then thats great!</DIV>
<DIV>&nbsp;</DIV>
<DIV>thank u</DIV>
<DIV>&nbsp;</DIV>
<DIV>-vtkNewbie</DIV>
<DIV>&nbsp;</DIV></div><br clear=all><hr> <a href="http://g.msn.com/8HMBENUS/2755??PS=">Want to check if your PC is virus-infected?  Get a FREE computer virus scan online from McAfee.</a> </html>