[vtkusers] Tensor data

Bill Lorensen wlorens1 at nycap.rr.com
Thu Jun 8 19:28:12 EDT 2000


Olivier,
         My guess is that the tensor reading code in vtk is not tested. I looked at:
http://visualizationtoolkit.org/vtk/quality/Coverage/graphics/vtkDataReader.txt
which shows the coverage of the vtk regression tests. The hash marks (#'s) means
the code is not executed by the tests.

Our past experience shows, that code that is not tested, probably does not execute correctly.

If you can send me an example script (and data), I'll take a look at it.

Bill

At 05:36 PM 6/8/00 +0100, Olivier Coulon wrote:
>Dear vtk users,
>I am trying to read a file of structured points containing tensors
>attribute, to display those tensor through vtkTensorGlyph.
>I am just reading the file as follow:
>
>vtkStructuredPointsReader reader
>    reader SetFileName $name_file
>    reader Update
>set text [reader GetTensorsName]
>    puts $text
>
>
>the string $text is apparently returned empty, meaning that the tensors
>are actually not read, and the results later in the pipeline make no
>sense.
>Can anybody see what is wrong ?
>
>- Olivier
>






More information about the vtkusers mailing list