[vtk-developers] vtkAngularPeriodicFilter and vtkTransformFilter
Sujin Philip
sujin.philip at kitware.com
Thu Mar 10 11:23:04 EST 2016
Hi Dave,
The transform filter does transform one normal and one vector array, but
ignores any others. It treats the normals as special (multiplies by the
transposed inverse matrix).
-Sujin
On Thu, Mar 10, 2016 at 10:55 AM, David E DeMarle <dave.demarle at kitware.com>
wrote:
> I believe transform filter doesn't transform vector results because it
> should not transform normals and similar quantities which would be
> invalidated by the transformation.
>
>
>
> David E DeMarle
> Kitware, Inc.
> R&D Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909
>
> On Thu, Mar 10, 2016 at 9:32 AM, Mathieu Westphal <
> mathieu.westphal at kitware.com> wrote:
>
>> Afair, the vtkTransform usage in vtkAngularPeriodicFilter was only a
>> fallback solution when vtkAngularPeriodicDataArray could not be used for
>> some reason, it is not efficient and is (or at least should) generating a
>> warning when used.
>>
>> No advice concerning the vtkTransform changes.
>>
>> Mathieu
>>
>>
>> Mathieu Westphal
>>
>> On Thu, Mar 10, 2016 at 3:27 PM, Sujin Philip <sujin.philip at kitware.com>
>> wrote:
>>
>>> Hi Developers,
>>>
>>> I am working on some changes to vtkAngularPeriodicFilter and I have
>>> noticed that for some cases it uses vtkTransformFilter to generate the
>>> result, instead of using mapped arrays (vtkAngularPeriodicDataArray).
>>>
>>> Going through the code, it looks like vtkTransformFilter behaves
>>> differently than vtkAngularPeriodicFilter. Any field that has 3 or 9
>>> components is transformed in vtkAngularPeriodicFilter but
>>> vtkTransformFilter only transforms the normal
>>> (vtkDataSetAttributes::GetNormals()) and vector
>>> (vtkDataSetAttributes::GetVectors()) arrays.
>>>
>>> I am thinking of changing vtkTransformFilter to apply transformation on
>>> all 3 and 9 components arrays. I wanted to know if there is any reason this
>>> should not be done.
>>>
>>> Thanks
>>> Sujin
>>>
>>>
>>> _______________________________________________
>>> 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=vtk-developers
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://public.kitware.com/mailman/listinfo/vtk-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=vtk-developers
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/vtk-developers
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20160310/15fb9ddb/attachment.html>
More information about the vtk-developers
mailing list