<html>
<body>
Try using either the GetPointer or GetVoidPointer method.<br>
- Amy<br><br>
At 01:00 PM 3/16/2005, Richard Lee wrote:<br>
<blockquote type=cite class=cite cite=""><font face="arial" size=2>Hi,
All:<br>
</font><font face="Courier, Courier" size=2>I have an object of class
</font><font face="Courier, Courier">
</font><font face="Courier, Courier" size=2>vtkDataSetAttributes.
When I called its </font><font face="Courier, Courier"> <br>
GetScalars(), it returns an object vtkDataArray. <br>
</font> <br>
<font face="Courier, Courier" size=2>Now how can get the actual data in
vtkDataArray without first recasting <br>
</font><font face="courier" size=2>it to its subclass like vtkFloatArray.
Can I call some virtual function to do this job?<br>
</font> <br>
<font face="arial" size=2>Rick<br>
</font>_______________________________________________<br>
This is the private VTK discussion list. <br>
Please keep messages on-topic. Check the FAQ at:
<a href="http://www.vtk.org/Wiki/VTK_FAQ" eudora="autourl">
http://www.vtk.org/Wiki/VTK_FAQ</a><br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" eudora="autourl">
http://www.vtk.org/mailman/listinfo/vtkusers</a></blockquote></body>
</html>