[vtkusers] vtkDoubleArray -- you can set the number of values but you can't get the number of values?

kent williams nkwmailinglists at gmail.com
Wed Feb 18 13:34:21 EST 2009


I've been staring for some time at the Doxygen man pages for
vtkDoubleArray and vtkDataArray.  It seems that there is a member
function vtkDoubleArray::SetNumberOfValues(), but no corresponding
vtkDoubleArray::GetNumberOfValues().

This seems to indicate that you have to make sure that you never try
to read out more values than you've put in to the array, because
there's no way to check this.

Or am I missing something?



More information about the vtkusers mailing list