<div dir="ltr">thanks alot for your reply, is there any examples for that please <br><br><div class="gmail_quote">On Thu, Aug 12, 2010 at 3:05 AM, Sebastien Jourdain <span dir="ltr">&lt;<a href="mailto:sebastien.jourdain@kitware.com">sebastien.jourdain@kitware.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">A way to do that, is to create your own filter and move the position<br>
of the points of the output dataset that are selected in the way you<br>
want. But you can also look at the Warp filter (vtkWarpScalar) which<br>
already exist and do it along a vector based on a scalar value located<br>
on the point.<br>
<br>
You can easily make a programmable filter for that.<br>
<br>
Seb<br>
<br>
PS: Here are some example that may help<br>
=&gt; <a href="http://vtk.org/Wiki/VTK/Java_Code_Samples" target="_blank">http://vtk.org/Wiki/VTK/Java_Code_Samples</a><br>
=&gt; <a href="http://vtk.org/Wiki/Demystifying_the_vtkProbeFilter" target="_blank">http://vtk.org/Wiki/Demystifying_the_vtkProbeFilter</a><br>
<div><div></div><div class="h5"><br>
On Wed, Aug 11, 2010 at 7:08 PM, Ali Habib &lt;<a href="mailto:ali.mahmoud.habib@gmail.com">ali.mahmoud.habib@gmail.com</a>&gt; wrote:<br>
&gt; Hi All,<br>
&gt;<br>
&gt; I send this question many time, but no answer so I reformed my question as<br>
&gt; following:<br>
&gt; I have a vtkpolydata (for example vtkspheresource ) , I want to select part<br>
&gt; of it , I already did it using vtkboxwidget, my Question is how to apply<br>
&gt; simple defoormation o it (stretch or collapse this part) without separating<br>
&gt; this part from the source vtkpolydata.<br>
&gt; is this applicable in vtk, if yes how to do that . yyour reply wil be<br>
&gt; highly appreciated<br>
&gt;<br>
&gt;<br>
&gt; Best regards<br>
</div></div>&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;<br>
&gt;<br>
</blockquote></div><br></div>