<font><font face="verdana,sans-serif">The simplest way to do that is to make a standard <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Utilities/Screenshot">screenshot</a> and then crop that image.<br></font></font><br>
<div class="gmail_quote">On Tue, Apr 17, 2012 at 18:02, Wenlong <span dir="ltr"><<a href="mailto:scc.wwl@gmail.com">scc.wwl@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear all,<br>
<br>
I have a 3D face model. I have already visualized it with VTK 5.8.0 under<br>
Windows 7 & VS2008 C++.<br>
<br>
What I want to achieve is to do a screen shot that only the face model is<br>
reserved. That means the edge of screen shot image is right next to the<br>
contour of the face model.<br>
<br>
May I know if there is any functions or methods to achieve my goal?<br>
<br>
Thank you very much for your attention and kindly help. I am looking forward<br>
to hear from you.<br>
<br>
Best regards<br>
Wenlong<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/How-to-screen-shot-with-a-customized-rectangle-tp5646919p5646919.html" target="_blank">http://vtk.1045678.n5.nabble.com/How-to-screen-shot-with-a-customized-rectangle-tp5646919p5646919.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br>