scalars on TensorGlyph issue
fred4ets opened this issue · 0 comments
fred4ets commented
Hi,
Scalars values on TensorGlyph are not displayed correctly as shown in the following simple example:
file tensors.vtk:
vtk DataFile Version 3.0
Random data to test tensors
ASCII
DATASET UNSTRUCTURED_GRID
POINTS 8 float
0 0 0
1 0 0
0 1 0
1 1 0
0 0 1
1 0 1
0 1 1
1 1 1
POINT_DATA 8
SCALARS scalars float
LOOKUP_TABLE default
1 2 3 4 5 6 7 8
TENSORS tensors1 float
1 0 0
0 2 0
0 0 3
2 0 0
0 3 0
0 0 4
3 0 0
0 4 0
0 0 5
4 0 0
0 5 0
0 0 6
5 0 0
0 5 0
0 0 5
6 0 0
0 6 0
0 0 6
7 0 0
0 7 0
0 0 7
8 0 0
0 8 0
0 0 8
using the command line:
mayavi2 -d tensors.vtk -m TensorGlyph