[vtkusers] VTK dataarray question

Richard Lee gouqizi.lvcha at gmail.com
Wed Mar 16 13:00:27 EST 2005


Hi, All:

I have an object of class  vtkDataSetAttributes.  When I called its  
GetScalars(), it returns an object vtkDataArray. 

Now how can get the actual data in vtkDataArray without first recasting 
it to its subclass like vtkFloatArray. Can I call some virtual function to do this job?

Rick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20050316/15e3fe96/attachment.htm>


More information about the vtkusers mailing list