[vtkusers] How to add point vectors to DataSet with cell & point scalars
John Platt
jcplatt at lineone.net
Tue Apr 20 14:46:43 EDT 2004
Hi all,
I would like to add an array from a vtkDataObject to a vtkDataSet to
form point vectors so I can deform a grid. The data set already contains
cell & point scalars which need to be preserved.
vtkMergeDataObjectFilter only copies cell or point data, so after adding
the scalars from the vtkDataSet to the vtkDataObject, I loose the cell
scalars. The vtkMergeDataObjectFilter filter could be forced to execute
and the scalars added to the filter output but I would prefer to avoid
this if possible.
Is there a filter, filter sequence or technique which will give me all 3
arrays in the output vtkDataSet.
Thanks in advance.
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040420/4832d3e3/attachment.htm>
More information about the vtkusers
mailing list