[vtkusers] VTK dataarray question

Amy Squillacote amy.squillacote at kitware.com
Wed Mar 16 13:25:39 EST 2005


Try using either the GetPointer or GetVoidPointer method.
- Amy

At 01:00 PM 3/16/2005, Richard Lee wrote:
>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
>_______________________________________________
>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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20050316/691f1d71/attachment.htm>


More information about the vtkusers mailing list