[vtkusers] SetArray

Amy Squillacote amy.squillacote at kitware.com
Mon Mar 21 16:37:12 EST 2005


At 04:24 PM 3/21/2005, Burlen wrote:
>When using the SetArray functions for vtkFloatArray and vtkDouble array is 
>the
>size specified in bytes or the number of floats/doubles ??

The "size" parameter specifies the number of floats/doubles.
- Amy

>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.
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at: 
>http://www.vtk.org/Wiki/VTK_FAQ
>Follow this link to subscribe/unsubscribe:
>http://www.vtk.org/mailman/listinfo/vtkusers





More information about the vtkusers mailing list