<DIV>Here is my application source:</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>when I executed it ,there is a fatal error C1083: Cannot open include file: 'vtkConfigure.h': No such file or directory<BR>Error executing cl.exe.</DIV>
<DIV>image1.exe - 1 error(s), 0 warning(s)</DIV>
<DIV>Does anybody can have me ,thank you very much!</DIV>
<DIV>&nbsp;</DIV><SPAN ></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">抢 呀 ! 魔 兽 点 卡 1 折 啦</font> 
        <br>
         <a href="http://adtaobao.allyes.com/main/adfclick?db=adtaobao&bid=600,597,58&cid=29985,198,1&sid=32501&show=ignore&url=http://www.taobao.com/vertical/sports/pro.php" target="_blank" style="font-size:13px;line-height:160%;color:blue">1. 今 秋 5 类 色 MM 的 靓 装 2.NIKE \ 阿 迪 \ Kappa \ 李 宁 全 场 99 元 !
</a>