vtkTensorGlyph bugs
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
-
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).
-
Added names to generated output arrays so that they are recognized by ParaView.
-
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