[vtkusers] SetArray

Burlen burlen at apollo.sr.unh.edu
Mon Mar 21 16:24:37 EST 2005


When using the SetArray functions for vtkFloatArray and vtkDouble array is the 
size specified in bytes or the number of floats/doubles ??

here is the documentation:

This method lets the user specify data to be held by the array. The array 
argument is a pointer to the data. size is the size of the array supplied by 
the user. Set save to 1 to keep the class from deleting the array when it 
cleans up or reallocates memory. The class uses the actual array provided; it 
does not copy the data from the suppled array. 



More information about the vtkusers mailing list