[vtkusers] vtkLookupTable from vtkPiecewiseFunction

Simon DROUIN sdrouin at bic.mni.mcgill.ca
Wed Feb 11 11:21:17 EST 2004


Ok, I just found out I can use vtkImageMapToColors with a 
vtkColorTransferFunction as its lookup table. But how do I compute the 
alpha values for the texture?

Simon

Simon DROUIN wrote:

> Hi all,
>
> I'm mappinp 2D images on PolyData but I would like to specify the 
> lookup table of the texture using a
> mecanism similar to vtkColorTransferFunction. Is there a class in vtk 
> to do that or do I have to write it by myself?
>
> Thanks in advance.
>
> Simon
>
> _______________________________________________
> This is the private VTK discussion list. Please keep messages 
> on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>





More information about the vtkusers mailing list