<DIV>Dear all </DIV>  <DIV>I want to save my output of visualization (Volume rendering or surface rendering)</DIV>  <DIV>to vtk format. but I don't know which class I should use and the input of class.</DIV>  <DIV>I test vtkDataObjectWriter class with inputs renWin, ren1 and volume, but it didn't work. How can I solve this problem? </DIV>  <DIV>&nbsp;</DIV><FONT size=2>  <DIV>vtkRenderer *ren1 = vtkRenderer::New();</DIV>  <DIV>vtkRenderWindow *renWin = vtkRenderWindow::New();</DIV>  <DIV>renWin-&gt;AddRenderer(ren1);</DIV>  <DIV>vtkRenderWindowInteractor *iren = vtkRenderWindowInteractor::New();</DIV>  <DIV>iren-&gt;SetRenderWindow(renWin);</DIV></FONT>  <DIV>&nbsp;</DIV><FONT size=2>  <DIV>ren1-&gt;AddActor(outline);</DIV>  <DIV>ren1-&gt;AddVolume(volume);</DIV>  <DIV>ren1-&gt;SetActiveCamera(aCamera);</DIV>  <DIV>ren1-&gt;ResetCamera ();</DIV>  <DIV>aCamera-&gt;Dolly(1.5);</DIV>  <DIV></FONT><FONT size=2>ren1-&gt;SetBackground(1,1,1);</DIV>  <DIV>renWin-&gt;SetSize(640,
 480);</DIV>  <DIV>&nbsp;</DIV><FONT size=2>  <DIV>vtkDataObjectWriter *writer=vtkDataObjectWriter::New();</DIV>  <DIV></FONT><FONT size=2>writer-&gt;SetInput(renWin-&gt;GetOutput());</DIV></FONT>  <DIV>&nbsp;</DIV></FONT><p>&#32;
                <hr size=1>How low will we go? Check out Yahoo! Messenger’s low <a href="http://us.rd.yahoo.com/mail_us/taglines/postman8/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com"> PC-to-Phone call rates.