<meta http-equiv="content-type" content="text/html; charset=utf-8"><div><div><div class="gmail_quote">On Mon, Oct 25, 2010 at 2:27 AM, finsher <span dir="ltr">&lt;<a href="mailto:zhuyinghua01@gmail.com">zhuyinghua01@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
Hi all,<br>
i want to draw a ploygon on a 3D window, the window display the<br>
reconstruction volume.<br>
after drawing the graphics, the volume data will be cut by the projected<br>
Ploygon.<br>
<br>
any suggestion will be appreciate!<br>
<br>
Yinghua.<br></blockquote><div><br></div><div>This is how to draw a general polygon:</div><meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/Polygon">http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/Polygon</a><br clear="all">
<br></div><div class="gmail_quote">and this is how to draw a &quot;regular&quot; polygon (all sides equal length and convex):<br><div><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/RegularPolygonSource">http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/RegularPolygonSource</a></div>
<div><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/RegularPolygonSource"></a><br><div>Is that what you are looking for?<br><br></div></div><div>David</div></div></div></div>