<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi, All:</FONT></DIV>
<DIV><FONT face=Arial size=2><!--StartFragment --><FONT class=fixed_width
face="Courier, Monospaced"></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT class=fixed_width
face="Courier, Monospaced">I have an object of class <!--StartFragment --><FONT size=3> </FONT><FONT
size=2>vtkDataSetAttributes.</FONT> When I called its <!--StartFragment --><FONT size=3> </FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT class=fixed_width
face="Courier, Monospaced"><FONT size=3><TD valign="top" nowrap="nowrap"
align="right"></FONT><FONT size=3>GetScalars</FONT><FONT size=3>(), it returns
an object vtkDataArray.</TD> </FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT class=fixed_width
face="Courier, Monospaced"></FONT></FONT> </DIV>
<DIV><FONT face=Arial size=2><FONT class=fixed_width
face="Courier, Monospaced">Now how can get the actual data in vtkDataArray
without first recasting </FONT></FONT></DIV>
<DIV><FONT face=Courier size=2>it to its subclass like vtkFloatArray. Can I call
some virtual function to do this job?</FONT></DIV>
<DIV><FONT face=Arial size=2><FONT class=fixed_width
face="Courier, Monospaced"></FONT></FONT> </DIV>
<DIV><FONT face=Arial size=2><FONT class=fixed_width
face="Courier, Monospaced"><FONT
face=Arial>Rick</FONT></DIV></FONT></FONT></BODY></HTML>