[vtk-developers] vtkDataArray::GetTuple(int i, double[3])

David Doria daviddoria+vtk at gmail.com
Sun Aug 22 13:47:56 EDT 2010


After a brief chat with Darshan on the users list, we would like to propose
adding a function to vtkDataArray:

void vtkDataArray::GetTuple(int i, double[3])

It would work the same way that

double vtkDataArray::GetComponent(int,int)

currently works in the sense that no matter the underlying data type it
would return a double. The idea is to be able to get a double array of a
tuple from either a vtkDoubleArray or a vtkFloatArray.

Thoughts?

Thanks,

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


More information about the vtk-developers mailing list