<!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.2900.2722" name=GENERATOR>
<STYLE>
<!--
 /* Font Definitions */
 @font-face
        {font-family:ЛОМе;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@ЛОМе";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.5pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Verdana;
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
 /* Page Definitions */
 @page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;
        layout-grid:15.6pt;}
div.Section1
        {page:Section1;}
-->
</STYLE>
</HEAD>
<BODY>
<DIV>Hi,</DIV>
<DIV>&nbsp;I found the codes in the "The Visualization ToolKit" chapter7 
page257</DIV>
<DIV>There is something wrong when I compile it.Here are the part of the 
codes:</DIV>
<DIV>&nbsp;</DIV>
<DIV>vtkStructuredPointsReader *reader = 
vtkStructuredPointsReader::New();<BR>&nbsp; 
reader-&gt;SetFileName("C:/VTKData/Data/ironProt.vtk");<BR>&nbsp; 
reader-&gt;Update();</DIV>
<DIV>...<BR>vtkVolumeRayCastMapper *volMapper = 
vtkVolumeRayCastMapper::New();&nbsp;</DIV>
<DIV>volMapper-&gt;SetScalarInput(reader-&gt;GetOutput());</DIV>
<DIV>...</DIV>
<DIV>&nbsp;</DIV>
<DIV>the compiler says the SetScalarInput is not the member of 
vtkVolumeRayCastMapper .What method can I use to replace it?&nbsp; </DIV>
<DIV>Thank you very much!</DIV>
<DIV>&nbsp;</DIV>
<DIV>Vivian</DIV>
<DIV>&nbsp;</DIV></BODY></HTML>