<DIV>I have a problem when I 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> 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> </DIV>
<DIV><STRONG><FONT color=#ff00ff size=5>And than there was an error Like this:</FONT></STRONG></DIV><SPAN >fatal error C1189: #error : "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>