[vtkusers] vtkImageData

Amy Squillacote ahs at cfdrc.com
Tue Apr 8 09:25:50 EDT 2008


You're close; the name of the method is GetScalarPointer(). See 
http://www.vtk.org/doc/nightly/html/classvtkImageData.html.

- Amy

Mike Jackson wrote:
> I _think_ there is a call in vtkImageData called "GetVoidPointer(0)" 
> which will return a void pointer to the first element of the array. 
> Simply cast this to the proper type and do what you need to do.
>

-- 
Amy Squillacote                    Phone: (256) 726-4839
Computer Scientist                 Fax: (256) 726-4806
CFD Research Corporation           Web: http://www.cfdrc.com
215 Wynn Drive, Suite 501
Huntsville, AL  35805





More information about the vtkusers mailing list