[vtkusers] Using vtkLookupTable

John Durkin jrd5084 at psu.edu
Tue Sep 29 15:56:29 EDT 2009


Cory and vtkusers,

Is there any way to use vtkcolortransferFunction with vtkActor or is it only
applicable with vtkVolume?

Also any pointers on how to go about having one scalar map the hue and
another scalar map to the value (HSV) of the vtkPolyData?

thanks,

John

On Tue, Sep 29, 2009 at 6:15 AM, Cory Quammen <cquammen at cs.unc.edu> wrote:

> 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 <http://www.cs.unc.edu/%7Ecquammen>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090929/113e03fa/attachment.htm>


More information about the vtkusers mailing list