[vtkusers] How save a single vtkRenderer as picture?
=?gb2312?q?=FFffffc3=FFffffcf=FFffffe7=FFffffe2=20=FFffffd0=FFffffbb?=
xmengwei168 at yahoo.com.cn
Thu Mar 25 19:45:26 EST 2004
Hi,everyone
I can save whole vtkRenderWindow as a picture By
vtkWindowToImageFilter and vtkJPEWriter.
w2i = vtkWindowToImageFilter::New();
writer = vtkJPEGWriter::New();
w2i->SetInput(renWin);
writer->SetInput(w2i->GetOutput());
writer->SetFileName(PictureFile1);
writer->Write();
But I don't know how to save a single vtkRenderer as a
picture when several vtkRenderer in one
vtkRenderWindow.Can you help me?
Thanks
echo
_________________________________________________________
Do You Yahoo!?
完全免费的雅虎电邮,马上注册获赠额外60兆网络存储空间
http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.mail.yahoo.com
More information about the vtkusers
mailing list