[Paraview] Switching to parametric coordinates

David E DeMarle dave.demarle at kitware.com
Mon Nov 9 10:45:05 EST 2009


I think your best bet is to provide u and v at the reader as a attribute array.

I could be wrong (I'm not a topology or meshing expert) but I don't
think it is possible to in general provide a u,v mapping for arbitrary
shapes. If it is possible, it would be great to have the algorithm
coded up as a filter in VTK.

David E DeMarle
Kitware, Inc.
R&D Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x109



On Mon, Nov 9, 2009 at 10:31 AM, Berk Geveci <berk.geveci at kitware.com> wrote:
> Ah, I understand. There is no general solution to this problem in
> VTK/ParaView. Texture coordinates is probably closest. You can look at
> Texture map to ... filters. Essentially, you need to write a filter
> that computes the parametric coordinates for the kind of surface you
> are interested it.
>
> -berk
>
> On Mon, Nov 9, 2009 at 10:27 AM, Fred Fred <stan1313 at hotmail.fr> wrote:
>> I mean I would like for instance to have my surface colored by a function of
>> u, u being the value of the parametric coordinate, given an origin on the
>> surface.
>> BTW using parametric coordinates in a filter would require having these
>> parametric coordinates available, which, for an arbitrary surface, would
>> involve computing it, so this is the same problem: how to compute those
>> parametric coordinates?
>>
>>> Date: Mon, 9 Nov 2009 09:04:53 -0500
>>> Subject: Re: [Paraview] Switching to parametric coordinates
>>> From: berk.geveci at kitware.com
>>> To: stan1313 at hotmail.fr
>>> CC: paraview at paraview.org
>>>
>>> I am not sure I understand what you mean. You want to use parametric
>>> coordinates inside a filter?
>>>
>>> On Sun, Nov 8, 2009 at 1:37 PM, Fred Fred <stan1313 at hotmail.fr> wrote:
>>> > I wonder if it is possible to switch to parametric coordinates, either
>>> > on a
>>> > curve or on a surface, given an arbitrary origin and arbitrary u or
>>> > (u,v)
>>> > unit vectors?
>>> >
>>> >
>>> > ________________________________
>>> > Nouveau! Découvrez le Windows phone Samsung Omnia II disponible chez
>>> > SFR.
>>> > Cliquez ici
>>> > _______________________________________________
>>> > 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 ParaView Wiki at:
>>> > http://paraview.org/Wiki/ParaView
>>> >
>>> > Follow this link to subscribe/unsubscribe:
>>> > http://www.paraview.org/mailman/listinfo/paraview
>>> >
>>> >
>>
>> ________________________________
>> Nouveau! Découvrez le Windows phone Samsung Omnia II disponible chez SFR.
>> Cliquez ici
> _______________________________________________
> 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 ParaView Wiki at: http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>


More information about the ParaView mailing list