<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> </DIV><FONT size=2> <DIV>vtkRenderer *ren1 = vtkRenderer::New();</DIV> <DIV>vtkRenderWindow *renWin = vtkRenderWindow::New();</DIV> <DIV>renWin->AddRenderer(ren1);</DIV> <DIV>vtkRenderWindowInteractor *iren = vtkRenderWindowInteractor::New();</DIV> <DIV>iren->SetRenderWindow(renWin);</DIV></FONT> <DIV> </DIV><FONT size=2> <DIV>ren1->AddActor(outline);</DIV> <DIV>ren1->AddVolume(volume);</DIV> <DIV>ren1->SetActiveCamera(aCamera);</DIV> <DIV>ren1->ResetCamera ();</DIV> <DIV>aCamera->Dolly(1.5);</DIV> <DIV></FONT><FONT size=2>ren1->SetBackground(1,1,1);</DIV> <DIV>renWin->SetSize(640,
480);</DIV> <DIV> </DIV><FONT size=2> <DIV>vtkDataObjectWriter *writer=vtkDataObjectWriter::New();</DIV> <DIV></FONT><FONT size=2>writer->SetInput(renWin->GetOutput());</DIV></FONT> <DIV> </DIV></FONT><p> 
<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.