<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<STYLE>
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
BODY {
        LINE-HEIGHT: 1.5; FONT-FAMILY: ΢ÈíÑźÚ; COLOR: #000000; FONT-SIZE: 10.5pt
}
</STYLE>
<META name=GENERATOR content="MSHTML 9.00.8112.16443"></HEAD>
<BODY style="MARGIN: 10px">
<DIV>Hello, the attachment is i revised from vtk'example medical3, i just
want to get a cross-sectional view, and the code works fine.</DIV>
<DIV><IMG src="cid:_Foxmail.0@900CFD9C-6AB3-4992-94AB-C50374B0C552" width=541
height=321></DIV>
<DIV> </DIV>
<DIV>but when i combine it with Qt, and just modified a little
code , qVTK1 is a QVTKWidget* , some important code as
belows:</DIV>
<DIV>
<DIV> vtkRenderWindow* renwin = vtkRenderWindow::New();</DIV>
<DIV> renwin->StereoCapableWindowOn();</DIV></DIV>
<DIV> </DIV>
<DIV>
<DIV> qVTK1->SetRenderWindow(renwin); </DIV>
<DIV> renwin->Delete();</DIV>
<DIV> QVTKInteractor *iren=qVTK1->GetInteractor(); </DIV></DIV>
<DIV><FONT style="BACKGROUND-COLOR: #f5f5f5" color=#333333 size=5
face=Arial></FONT> </DIV>
<DIV><FONT style="BACKGROUND-COLOR: #f5f5f5" color=#333333 size=5 face=Arial>but
<FONT color=#000000 size=3 face=΢ÈíÑźÚ>when the mouse move into the QVTKInteractor
area , the program crash down. Can anybody help me ?Thank
you!</FONT></FONT></DIV>
<HR style="WIDTH: 210px; HEIGHT: 1px" align=left color=#b5c4df SIZE=1>
<DIV><SPAN>qlizhi</SPAN></DIV></BODY></HTML>