MantisBT - VTK
View Issue Details
0012179VTK(No Category)public2011-05-10 20:362016-08-12 09:55
Burlen 
David Partyka 
normalmajoralways
closedmoved 
any
 
 
0012179: vtkTensorGlyph bugs
1) fix orientation inversion causing flipped surface normals (see attached images). When the determinant of the transformation matrix is < 0 glyph and its surface normals are flipped. The attached patch fixes it by testing for this condition and applying an additional scale(-1,-1,-1).

2) Added names to generated output arrays so that they are recognized
by ParaView.

3) Override RequestUpdateExtent so that glyph source generates an whole
glyph when running in parallel, with out this only a piece of the glyph
is generated.

The attached images that illustrate the bug and the fix in ParaView make use of the data from VTKData/Data/tensors.vtk
The attached tarball contains a minimal program and test data to illustrate the flipped surface normals bug. The parallel bugs could be reproduced in ParaView using the tensor glyph plugin.
No tags attached.
png tensors_vtk_bug_norms.png (82,166) 2011-05-10 20:40
https://www.vtk.org/Bug/file/8867/tensors_vtk_bug_norms.png
png

png tensors_vtk_fix_norms.png (90,146) 2011-05-10 20:40
https://www.vtk.org/Bug/file/8868/tensors_vtk_fix_norms.png
png

gz test_tensor.tar.gz (237,180) 2011-05-10 20:53
https://www.vtk.org/Bug/file/8870/test_tensor.tar.gz
patch 0002-Bug-fixes-for-vtkTensorGlyph.patch (9,802) 2011-05-11 15:54
https://www.vtk.org/Bug/file/8871/0002-Bug-fixes-for-vtkTensorGlyph.patch
Issue History
2011-05-10 20:36BurlenNew Issue
2011-05-10 20:36BurlenFile Added: tensors_vtk_bug_norms.png
2011-05-10 20:38BurlenFile Deleted: tensors_vtk_bug_norms.png
2011-05-10 20:40BurlenFile Added: tensors_vtk_bug_norms.png
2011-05-10 20:40BurlenFile Added: tensors_vtk_fix_norms.png
2011-05-10 20:42BurlenFile Added: 0002-Bug-fixes-for-vtkTensorGlyph.patch
2011-05-10 20:53BurlenFile Added: test_tensor.tar.gz
2011-05-10 21:01BurlenDescription Updatedbug_revision_view_page.php?rev_id=317#r317
2011-05-10 21:01BurlenSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=319#r319
2011-05-10 22:04David PartykaAssigned To => David Partyka
2011-05-10 22:04David PartykaStatusbacklog => tabled
2011-05-11 11:35BurlenNote Added: 0026495
2011-05-11 15:54BurlenFile Deleted: 0002-Bug-fixes-for-vtkTensorGlyph.patch
2011-05-11 15:54BurlenFile Added: 0002-Bug-fixes-for-vtkTensorGlyph.patch
2011-05-11 15:55BurlenDescription Updatedbug_revision_view_page.php?rev_id=320#r320
2011-05-12 17:25BurlenNote Added: 0026500
2013-07-22 20:33Dave DeMarleStatusbacklog => expired
2013-07-22 20:33Dave DeMarleNote Added: 0031285
2013-08-23 16:30BurlenNote Added: 0031494
2016-08-12 09:55Kitware RobotNote Added: 0037235
2016-08-12 09:55Kitware RobotStatusexpired => closed
2016-08-12 09:55Kitware RobotResolutionopen => moved

Notes
(0026495)
Burlen   
2011-05-11 11:35   
The fix for bug 1 needs more work, it breaks some of the tests.
(0026500)
Burlen   
2011-05-12 17:25   
OK, I updated the patch, tensor and header tests pass.
(0031285)
Dave DeMarle   
2013-07-22 20:33   
Dave P no longer works on the project. If these old issues still exist in 6.0.0, reopen them and assign to Dave DeMarle
(0031494)
Burlen   
2013-08-23 16:30   
Dave P applied the patch, the issue was resolved.
(0037235)
Kitware Robot   
2016-08-12 09:55   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.