[vtkusers] how to access computation of scalarstocolors mapping

Deepak Roy cdeepakroy at gmail.com
Wed Feb 8 14:24:08 EST 2006


Hi kiran,

Did you try using vtkLookUpTable, it lets you define a color for each scalar
value.

Is that what you wanted.

Let me know.

Regards,

Deepak

On 2/8/06, kshivann at engineering.uiowa.edu <kshivann at engineering.uiowa.edu>
wrote:
>
> hi all,
>     i would like to color each cell/point in a polydata according to my
> set of
> requirements. right now vtkscalarstocolors function calculates the colors
> of
> the cell/point automatically given the saturation range and scalar range.
> is
> there a way to input rgb values for the cell/point individually.
>
> thanks
>
> kiran
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060208/9af74f92/attachment.htm>


More information about the vtkusers mailing list