<div>Dear all,<br></div>
<div>I am a vtk beginner. I am trying to reconstruct a 3d medical image from 2d images with spacial coordinates. I use vtk for reconstructing and surface rendering. </div>
<div>now, I have a program for 3d reconstruction from 2d images offline. </div>
<div>My method is</div>
<div> acquire a new 2d image with spacial coordiante, </div>
<div> interpolate it into 3d vtkimage. </div>
<div> render the 3d vtkimage with new 2d image added, </div>
<div> a new vtkRenderWindow is created. </div>
<div>all procedure run in a while loop.</div>
<div> </div>
<div>But, I want to implement it in realtime.
<div>My problem is I can not render 3d reconstructed image with vtk in realtime.</div></div>
<div>How can the 3d vtkimage be rendered again in the same vtkRenderWindow without creating a new one? Is this possible using VTK? If so please tell me how to do it.</div>
<div> </div>
<div>I'm using VTK5.4 and Microsoft Visual C++ 2008.<br></div>
<div>Any advice is appreciated ;)<br>Thank you in advance.<br><br><br></div>