MantisBT - ParaView
View Issue Details
0007387ParaView(No Category)public2008-07-22 00:462010-12-13 17:06
Mengda Wu 
Dave DeMarle 
normalfeaturealways
closedwon't fix 
 
Someday 
0007387: Transform Filter does not transform vectors in point data
   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 or vtkTransformPolyDataFilter.
From VTK nightly document, these filters should transform "associated point normals and vectors" as well.
No tags attached.
Issue History
2008-07-22 00:46Mengda WuNew Issue
2008-07-22 11:06Ken MorelandNote Added: 0012800
2008-07-22 11:06Ken MorelandSeveritymajor => feature
2008-07-22 11:06Ken MorelandCategoryDevelopment => Someday
2009-05-13 13:49Utkarsh AyachitTarget Version => Someday
2010-12-10 14:05Dave DeMarleNote Added: 0023881
2010-12-10 14:05Dave DeMarleStatusbacklog => @80@
2010-12-10 14:05Dave DeMarleResolutionopen => won't fix
2010-12-10 14:05Dave DeMarleAssigned To => Dave DeMarle
2010-12-13 17:06Alan ScottNote Added: 0023940
2010-12-13 17:06Alan ScottStatus@80@ => closed
2011-06-16 13:10Zack GalbreathCategory => (No Category)

Notes
(0012800)
Ken Moreland   
2008-07-22 11:06   
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.
(0023881)
Dave DeMarle   
2010-12-10 14:05   
See Ken's comment for rationale of why we are keeping this behavior.
(0023940)
Alan Scott   
2010-12-13 17:06   
I agree with Ken's comments. Closed.