[vtk-developers] vtkAOSDataArrayTemplate annoying API change

David Lonie david.lonie at kitware.com
Thu Mar 24 13:58:50 EDT 2016


On Thu, Mar 24, 2016 at 1:41 PM, Bill Lorensen <bill.lorensen at gmail.com>
wrote:

> Why not
> Set/Get/Insert/InsertNext/Tuple
> SetTuple, GetTuple, InsertTuple and InsertMNextTuple are used in many
> other classes.


I'm afraid I don't follow what you're saying. The methods you list haven't
changed -- they still exist in vtkDataArray and treat all values as doubles.

The only change was s/TupleValue/TypedTuple/ to clarify that these methods
use native types and don't suffer from the type conversion issues that the
vtkDataArray methods do.

Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20160324/b1bc9df5/attachment.html>


More information about the vtk-developers mailing list