[vtk-developers] 转发: Medical3 in QT
qlizhi
qlizhi at gmail.com
Tue May 22 07:24:06 EDT 2012
qlizhi
发件人: qlizhi
发送时间: 2012-05-21 22:17
收件人: vtkusers
主题: Medical3 in QT
Hello, the attachment is i revised from vtk'example medical3, i just want to get a cross-sectional view, and the code works fine.
but when i combine it with Qt, and just modified a little code , qVTK1 is a QVTKWidget* , some important code as belows:
vtkRenderWindow* renwin = vtkRenderWindow::New();
renwin->StereoCapableWindowOn();
qVTK1->SetRenderWindow(renwin);
renwin->Delete();
QVTKInteractor *iren=qVTK1->GetInteractor();
but when the mouse move into the QVTKInteractor area , the program crash down. Can anybody help me ?Thank you!
qlizhi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20120522/dc6caf45/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Catch(05-22-19-23-11).jpg
Type: image/jpeg
Size: 94229 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20120522/dc6caf45/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Medical3.cxx
Type: application/octet-stream
Size: 13721 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20120522/dc6caf45/attachment-0001.obj>
More information about the vtk-developers
mailing list