[Paraview-developers] Generate Ids filters and color schemes
Cory Quammen
cory.quammen at kitware.com
Wed Apr 27 10:39:05 EDT 2016
Hi Kevin,
The GenerateID filter determines the array name. You can change it in
each object by changing the "Array Name" option in the GenerateID
filter properties. With different names, you should be able to set
different color maps on your line objects.
- Cory
On Wed, Apr 27, 2016 at 10:34 AM, Mathieu Westphal
<mathieu.westphal at kitware.com> wrote:
> It depends on where does the line came from ( a reader? a filter?). you can
> inspect the data using a spreadsheet view on the lines.
>
> Mathieu Westphal
>
> On Wed, Apr 27, 2016 at 4:32 PM, Hallock, Kevin <Kevin.Hallock at pfizer.com>
> wrote:
>>
>> Thanks. Where is the name of the array assigned? I have different line
>> objects at the root of each of these tubes so I am uncertain why they would
>> have arrays with identical names.
>>
>> Kevin
>>
>> From: Mathieu Westphal <mathieu.westphal at kitware.com>
>> Date: Wednesday, April 27, 2016 at 10:26 AM
>>
>> To: Kevin Hallock <Kevin.Hallock at pfizer.com>
>> Cc: "paraview-developers at paraview.org" <paraview-developers at paraview.org>
>> Subject: Re: [Paraview-developers] Generate Ids filters and color schemes
>>
>> Actually, in paraview, one object is colored by one array, and color map
>> are shared for array having the same name.
>>
>>
>>
>> Mathieu Westphal
>>
>> On Wed, Apr 27, 2016 at 4:25 PM, Hallock, Kevin <Kevin.Hallock at pfizer.com>
>> wrote:
>>>
>>> Is there another way to apply different color maps to different objects?
>>> It seems odd that every object has to use the same color map.
>>>
>>> Thanks,
>>>
>>> Kevin
>>>
>>> From: Mathieu Westphal <mathieu.westphal at kitware.com>
>>> Date: Wednesday, April 27, 2016 at 10:17 AM
>>> To: Kevin Hallock <Kevin.Hallock at pfizer.com>
>>> Cc: "paraview-developers at paraview.org" <paraview-developers at paraview.org>
>>> Subject: Re: [Paraview-developers] Generate Ids filters and color schemes
>>>
>>> Hello
>>>
>>> If by color scheme, you mean color map, as set in the color map editor,
>>> there is no easy way to do that.
>>> You would need to seperate all your tubes in different dataset, it could
>>> be done via multiple use of extract selection,
>>> then you would need to rename each array you are using to color your
>>> tube, each one with a different name !
>>> you could use the calculator to do that.
>>>
>>> If you need to do that only once for a presentation, that could be done,
>>> but if this is in your workflow or if there is a lot of tubes, it does
>>> not look like a good idea.
>>>
>>>
>>> Mathieu Westphal
>>>
>>> On Wed, Apr 27, 2016 at 4:09 PM, Hallock, Kevin
>>> <Kevin.Hallock at pfizer.com> wrote:
>>>>
>>>> Hi,
>>>>
>>>> I have created several lines, applied tube filters to the line, and
>>>> applied a GenerateID filter to the tube so I can color each tube. I would
>>>> like for each tube to have a different color scheme, but when I change one
>>>> of the color schemes all of them change so they are identical. Is there a
>>>> way to alter each color scheme individually?
>>>>
>>>> Thanks,
>>>>
>>>> Kevin
>>>>
>>>> --
>>>> Kevin Hallock
>>>> Visualization and Modeling, Quantitative Medicine
>>>> Neuroscience and Pain Research Unit
>>>> Worldwide Research and Development
>>>> Pfizer Inc
>>>> 610 Main Street
>>>> Cambridge, MA 02139
>>>> Email: kevin.hallock at pfizer.com
>>>> Fax: 845-474-4001
>>>>
>>>> _______________________________________________
>>>> Powered by www.kitware.com
>>>>
>>>> Visit other Kitware open-source projects at
>>>> http://www.kitware.com/opensource/opensource.html
>>>>
>>>> Search the list archives at:
>>>> http://markmail.org/search/?q=Paraview-developers
>>>>
>>>> Follow this link to subscribe/unsubscribe:
>>>> http://public.kitware.com/mailman/listinfo/paraview-developers
>>>>
>>>
>>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Search the list archives at:
> http://markmail.org/search/?q=Paraview-developers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview-developers
>
--
Cory Quammen
R&D Engineer
Kitware, Inc.
More information about the Paraview-developers
mailing list