[Paraview] Colour by mulitple data sets
Moreland, Kenneth
kmorel at sandia.gov
Tue Nov 16 23:35:30 EST 2010
Tristan,
Yes, that is what I meant, and yes that suggestion is only really viable if you have specific transfer functions you want to apply because you would have no GUI controls to set it.
-Ken
On 11/15/10 5:25 PM, "Tristan Chaplin" <tristan.chaplin at gmail.com> wrote:
Thanks Andy, I'll look into this.
Ken, I think I already tried something similar. I wrote a program to "merge" two scalar data sets as colours (3 vector) according to a colour scheme, then turned off "map scalars". Is that what you mean? This works ok but I think it means I can't use any of the colouring and visualization options in Paraview to manipulate the appearance (e.g. change the colour lookup scheme, set logarithmic scale etc). I have to rerun my program to change any parameters.
Thanks,
Tristan
On Tue, Nov 16, 2010 at 08:35, Moreland, Kenneth <kmorel at sandia.gov> wrote:
Utkarsh,
Is it the case that if you color by a vector array comprising unsigned char, ParaView can color the surface directly using those colors (turn of Map Scalars)? If that's the case, Tristan can create a filter (perhaps by using the Python Programmable Filter)) to create such an array.
-Ken
On 11/15/10 3:09 PM, "Tristan Chaplin" <tristan.chaplin at gmail.com <http://tristan.chaplin@gmail.com> > wrote:
Unfortunately, it's the former - I'm trying to color the same mesh with different
arrays.
On Tue, Nov 16, 2010 at 02:40, Utkarsh Ayachit <utkarsh.ayachit at kitware.com <http://utkarsh.ayachit@kitware.com> > wrote:
Just to clarify, are you trying to color the same mesh with different
arrays or different meshes with different arrays? Is the former,
there's no way of doing it. If the latter, then the Object Inspector
allows one to change the color for the "active" mesh. You change
what's active by choose a different mesh in the pipeline browser.
Utkarsh
On Mon, Nov 15, 2010 at 12:57 AM, Tristan Chaplin
<tristan.chaplin at gmail.com <http://tristan.chaplin@gmail.com> > wrote:
> Hi,
> Does anyone know if it's possible to colour a surface with two (or more)
> different data sets? e.g. In "Object Inspector->Display->Color by" you can
> choose only one data set.
> I need to colour with one data set as an "underlay" and then second data set
> over the top.
> It doesn't seem like this is in Paraview, are there any work arounds or
> alternatives?
> Thanks,
> Tristan
> _______________________________________________
> Powered by www.kitware.com <http://www.kitware.com> <http://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 ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20101116/8fa6145b/attachment.htm>
More information about the ParaView
mailing list