[vtkusers] how to set point data?
Petru Pau
ppau at risc.uni-linz.ac.at
Tue Jul 27 06:03:22 EDT 2004
Is there a way to set point data of a vtkPolyData?
The help says:
void vtkFieldData::SetTuple ( const vtkIdType i,
const float * tuple
)
Set the tuple value at the ith location. Set operations mean that no range
checking is performed, so they're faster. This method should not be used
if the instance is from a subclass of vtkFieldData (vtkPointData or
vtkCellData).
This is because in those cases, the attribute data is stored with the
other fields and
will cause the method to behave in an unexpected way.
So: how can I modify the vectors that are associated to the points of a
vtkPolyData?
Petru
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040727/1da3c6ae/attachment.htm>
More information about the vtkusers
mailing list