[vtkusers] This post has NOT been accepted by the mailing list yet.

David Doria daviddoria at gmail.com
Wed Dec 4 08:26:29 EST 2013


On Wed, Dec 4, 2013 at 2:14 AM, sepideh20 <sce2020sahaf at yahoo.com> wrote:

> Thanks David for your response.
>
> Actually, this way (the way that you proposed) did not work for me. I used
> look up table, and put the colors in the look up table. and then, put the
> cell data as scalar data. and then, through the mapper, I combine colors
> and
> scalars. Now I have a reasonable result.
>
> What do you think about this? am I correct or not?
>

That is certainly a reasonable approach. It seems like it might just be a
bit of a philisophical difference between the two approaches. The way I
described very tightly associates a specific color with each cell - you
could say the cell "is" that color. The lookup table method is simply
"temporarily" applying colors to the cells, which can be changed at a
moments notice by adjusting the parameters of the table.

The bottom line is that if you're getting the result you're looking for,
you are "correct" :)

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20131204/d6d9693f/attachment.htm>


More information about the vtkusers mailing list