[vtk-developers] About the vtkDataArray::InsertTuple() method

David Gobbi david.gobbi at gmail.com
Thu Mar 24 00:09:55 EDT 2016


Also related to data arrays: I'd love to see the deprecation of
InsertValue() and InsertTuple().  The problems with them are:

1) They are redundant.  As far as I'm concerned, their usage can
always be replaced with SetTuple() or InsertNextTuple() and the
resulting code will become easier to read.

2) They don't actually "insert" tuples except at the end of the
array, and we have InsertNextTuple() or that purpose.  Anywhere
else in the array, they perform a replacement operation.

Any thoughts?  Are these methods widely used anywhere except
for VTK's own source tree?

 - David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20160323/16ba3faf/attachment.html>


More information about the vtk-developers mailing list