[vtkusers] Write Vector Field to VTK File
cory.quammen at kitware.com
Fri Feb 26 12:51:25 EST 2016
You will need to create an array that holds the vector field, likely either
a vtkFloatArray or vtkDoubleArray, to store your vector field. Set the
number of tuples in the array to the number of elements in your vector.
Then you will need to add this array to either the point or cell data in
your data set as appropriate. Finally, just write out your data set with
On Tue, Feb 23, 2016 at 4:21 PM, Ruben van Staden <rubenvanstaden at gmail.com>
> Hey all
> I'm pritty new to VTK. How do I add a vector field
> to a .vts or .vtk file using the VTK library?
> I did this example and simple want to add
> a vector field to this file:
> Thanx in advance
> Powered by www.kitware.com
> Visit other Kitware open-source projects at
> Please keep messages on-topic and check the VTK FAQ at:
> Search the list archives at: http://markmail.org/search/?q=vtkusers
> Follow this link to subscribe/unsubscribe:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers