<DIV>I have a problem when I&nbsp;&nbsp;built the :</DIV>
<DIV>#include "vtkImageReader.h"<BR>#include "vtkContourFilter.h"<BR>#include "vtkPolyDataMapper.h"<BR>#include "vtkActor.h"<BR>#include "vtkRenderer.h"<BR>#include "vtkRenderWindow.h"<BR>#include "vtkRenderWindowInteractor.h"<BR>void main()<BR>{<BR>&nbsp;vtkImageReader *image=vtkImageReader::New();<BR>&nbsp;&nbsp;image-&gt;SetFilePrefix("D:\课外学习\vtk\example\FullHead\Data\fullHead");<BR>&nbsp;&nbsp;&nbsp;&nbsp; image-&gt;SetDataExtent(0,127,0,127,1,20);<BR>&nbsp;&nbsp;image-&gt;SetDataOrigin(0,0,0);<BR>&nbsp;//&nbsp;image-&gt;SetFileDimensionality(3);</DIV>
<DIV>&nbsp;vtkContourFilter *contour=vtkContourFilter::New();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; contour-&gt;SetInput((vtkDataSet *)image-&gt;GetOutput());<BR>&nbsp;&nbsp;&nbsp;&nbsp; contour-&gt;SetValue(0, 800);</DIV>
<DIV>&nbsp; vtkPolyDataMapper *mapper=vtkPolyDataMapper::New();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mapper-&gt;SetInput(contour-&gt;GetOutput());</DIV>
<DIV>&nbsp; vtkActor *actor=vtkActor::New();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; actor-&gt;SetMapper(mapper);</DIV>
<DIV>&nbsp; vtkRenderer *render=vtkRenderer::New();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; render-&gt;AddActor(actor);</DIV>
<DIV>&nbsp; vtkRenderWindow *renwin=vtkRenderWindow::New();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; renwin-&gt;AddRenderer(render);</DIV>
<DIV>&nbsp; vtkRenderWindowInteractor *iren=vtkRenderWindowInteractor::New();<BR>&nbsp;&nbsp;iren-&gt;SetRenderWindow(renwin);<BR>&nbsp;&nbsp;&nbsp;&nbsp; renwin-&gt;Render();<BR>&nbsp;&nbsp;&nbsp;&nbsp; iren-&gt;Start();<BR>&nbsp;&nbsp;&nbsp;&nbsp; //&nbsp;CDialog::OnOK();<BR>}</DIV>
<DIV>&nbsp;</DIV>
<DIV><STRONG><FONT color=#ff00ff size=5>And than there was an error Like this:</FONT></STRONG></DIV><SPAN >fatal error C1189: #error :&nbsp; "No native data type can represent a 64-bit integer."<BR>Error executing cl.exe.</SPAN><br><!-- footer --><br><br><br><br><br><div style="border-bottom:1px solid #999"></div><br>

        <font color="black" style="font-size:14.8px">邮 箱 积 分,换 易 趣 现 金 购 物 券</font>
        <br>
         <a href="hhttp://adfarm.mediaplex.com/ad/ck/4080-41738-9511-6?cn=netease;textlink0822;pr;mailcoupon&mpro=http://minisite.163.com/2006/0815/ebay/coupon.htm" target="_blank" style="font-size:13px;line-height:160%;color:blue">30 邮 箱 积 分 = 现 金 30 元 , 50 元 , 99 元   立 刻 兑 换 > >
</a>