<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> vtkImageReader *image=vtkImageReader::New();<BR> image->SetFilePrefix("D:\课外学习\vtk\example\FullHead\Data\fullHead");<BR> image->SetDataExtent(0,127,0,127,1,20);<BR> image->SetDataOrigin(0,0,0);<BR> // image->SetFileDimensionality(3);</DIV>
<DIV> vtkContourFilter *contour=vtkContourFilter::New();<BR> contour->SetInput((vtkDataSet *)image->GetOutput());<BR> contour->SetValue(0, 800);</DIV>
<DIV> vtkPolyDataMapper *mapper=vtkPolyDataMapper::New();<BR> mapper->SetInput(contour->GetOutput());</DIV>
<DIV> vtkActor *actor=vtkActor::New();<BR> actor->SetMapper(mapper);</DIV>
<DIV> vtkRenderer *render=vtkRenderer::New();<BR> render->AddActor(actor);</DIV>
<DIV> vtkRenderWindow *renwin=vtkRenderWindow::New();<BR> renwin->AddRenderer(render);</DIV>
<DIV> vtkRenderWindowInteractor *iren=vtkRenderWindowInteractor::New();<BR> iren->SetRenderWindow(renwin);<BR> renwin->Render();<BR> iren->Start();<BR> // 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> </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>