[Paraview] [Bug?] Transform Filter does not transform vectors in point data

Mengda Wu phdggg at gmail.com
Tue Jul 22 14:07:38 EDT 2008


Hi Ken,

   Thanks a lot for your explanation. The workaround works well for me.

Thanks,
Mengda

2008/7/22 Moreland, Kenneth <kmorel at sandia.gov>:

>  The transform filter will only transform the "active" normals and
> "active" vectors. The active normals are still used by ParaView and they
> appear to be transformed correctly. (To verify, create a sphere source,
> apply a rotate and/or asymmetric scale, and then add glyphs on the normals
> to see that they still point perpendicular to the surface.) The concept of
> active vectors is largely abandoned by ParaView. Instead, filters are
> expected to accept the names of variables to process.
>
> Automatically transforming every field variable that happens to be a
> 3-tuple as a vector is a bad idea. There is no guarantee that each such
> variable is in fact a vector with meaning in the same space as the point
> coordinates. Thus, to properly implement this request, the transform filter
> should accept zero or more field variables to transform instead of just
> grabbing the active vectors.
>
> As a workaround, one could use the calculator filter to apply the
> transform. Translates and scales are quite simple to implement, and
> rotations that are a factor of 90 degrees around any axis are pretty easy,
> too.
>
>
>
> -Ken
>
>  ------------------------------
> *From:* paraview-bounces at paraview.org [paraview-bounces at paraview.org] On
> Behalf Of Mengda Wu [phdggg at gmail.com]
> *Sent:* Monday, July 21, 2008 10:19 PM
> *To:* paraview at paraview.org
> *Subject:* [Paraview] [Bug?] Transform Filter does not transform vectors
> in point data
>
>   Hi all,
>
>    I have latest cvs version of Paraview running. I am using transform
> filter to transform the data set. I works fine with the point coordinates.
> But the vectors in point data do not transform at all. I am wondering if
> this filter uses vtkTransformFilter<http://www.vtk.org/doc/nightly/html/classvtkTransformFilter.html>or
> vtkTransformPolyDataFilter<http://www.vtk.org/doc/nightly/html/classvtkTransformPolyDataFilter.html>.
>
> From VTK nightly document, these filters should transform "associated point
> normals and vectors" as well.
>
> Thanks,
> Mengda
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20080722/9e7cc499/attachment.htm>


More information about the ParaView mailing list