[vtkusers] tensors in vtk output

Nico Schlömer nico.schloemer at gmail.com
Wed Oct 10 17:27:22 EDT 2012


Hi,

when writing out VTK data, I can for example add point data by

vtk_mesh->GetPointData()->AddArray(pointArray);

I'll get a vector field as output, and if there are three components
to it, some visualizers will be smart enough to call them X, Y, Z.
I now would like to store tensors. Is there a different syntax for it
or do I just treat tensors as longer arrays?

--Nico



More information about the vtkusers mailing list