[vtkusers] Structured Data file for Tensors

Sohan R. Ranjan srranjan at ieee.org
Wed Aug 30 15:40:25 EDT 2000


I tried to create a Structured_Points data file for Tensors, but apparently
something is wrong in my format. I would appreciate if you could tell me
where I am wrong?

Following is my file's header

# vtk DataFile Version 3.1
Data from Directory ...
ASCII
DATASET STRUCTURED_POINTS
DIMENSIONS 256 256 9
ORIGIN 0 0 0
SPACING 0.780 0.780 2.000
POINT_DATA 589824
TENSORS dtival float
LOOKUP_TABLE default


followed by tensors, i.e. 589824 3x3 matrices stored as shown below:

149.149 60.015 118.795
262.824 143.150 -57.717
323.718 -143.874 -7.873

Thanks in anticipation.
Sohan








More information about the vtkusers mailing list