[vtk-developers] vtkAOSDataArrayTemplate annoying API change

Bill Lorensen bill.lorensen at gmail.com
Thu Mar 24 14:02:44 EDT 2016


My bad.


On Thu, Mar 24, 2016 at 10:58 AM, David Lonie <david.lonie at kitware.com> wrote:
> 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



-- 
Unpaid intern in BillsBasement at noware dot com


More information about the vtk-developers mailing list