[vtkusers] Using vtkLookupTable

Cory Quammen cquammen at cs.unc.edu
Tue Sep 29 06:15:18 EDT 2009


John,

I don't believe that this is possible with existing classes in VTK.
You could try subclassing vtkLookupTable or vtkColorTransferFunction.

Cory

On Mon, Sep 28, 2009 at 10:19 PM, John Durkin <jrd5084 at psu.edu> wrote:
> Dear vtkusers and developers,
>
>
> I've had this problem for a while now and no one seems to be able to come up
> with an answer.  I have vtkPolyData that consists of vtkPoints and TWO sets
> of associated scalars.  I want to set the hue of the data using one set of
> scalars and the alpha value (opacity) using the other set of scalars.  Is
> there any way to use vtkLookupTable to do this?
>
> thanks,
>
> John
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>



-- 
Cory Quammen
Center for Computer Integrated Systems for Microscopy and Manipulation (CISMM)
Department of Computer Science
University of North Carolina at Chapel Hill
http://www.cs.unc.edu/~cquammen



More information about the vtkusers mailing list