[vtkusers] Visualization of Diffusion Tensor Fields

Olivier Coulon o.coulon at cs.ucl.ac.uk
Wed Aug 23 05:01:41 EDT 2000


"Sohan R. Ranjan" wrote:

> Does VTK have visualization tools for Diffusion Tensor Field?
>
> Sohan
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers

Sohan,
it depends on how you want to represent your tensors, but a straightforward way is to use the
vtkTensorGlyph class.
You can define a StructuredPoints area with your tensor field and additional scalar fields
(anisotropy, etc...) and then pass them to the vtkTensorGlyph, with a sphere for the source.
You'll have ellipses representing you tensor, oriented and scaled according to the eigenvalues
and eigenvectors. Mapping scalars on the ellipses helps to see relevant information but it
still is difficult to handle when the volume is big.
Here is a Tcl script assuming that you have a StructuredPoints file containing you tensors and
scalars.

- Olivier


-------------- next part --------------
A non-text attachment was scrubbed...
Name: tensors.tcl
Type: application/x-tcl
Size: 6194 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20000823/b9556a95/attachment.tcl>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: o.coulon.vcf
Type: text/x-vcard
Size: 357 bytes
Desc: Card for Olivier Coulon
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20000823/b9556a95/attachment.vcf>


More information about the vtkusers mailing list