[vtkusers] vtkboxwidget issue

Sebastien Jourdain sebastien.jourdain at kitware.com
Wed Aug 11 20:05:45 EDT 2010


A way to do that, is to create your own filter and move the position
of the points of the output dataset that are selected in the way you
want. But you can also look at the Warp filter (vtkWarpScalar) which
already exist and do it along a vector based on a scalar value located
on the point.

You can easily make a programmable filter for that.

Seb

PS: Here are some example that may help
=> http://vtk.org/Wiki/VTK/Java_Code_Samples
=> http://vtk.org/Wiki/Demystifying_the_vtkProbeFilter

On Wed, Aug 11, 2010 at 7:08 PM, Ali Habib <ali.mahmoud.habib at gmail.com> wrote:
> Hi All,
>
> I send this question many time, but no answer so I reformed my question as
> following:
> I have a vtkpolydata (for example vtkspheresource ) , I want to select part
> of it , I already did it using vtkboxwidget, my Question is how to apply
> simple defoormation o it (stretch or collapse this part) without separating
> this part from the source vtkpolydata.
> is this applicable in vtk, if yes how to do that . yyour reply wil be
> highly appreciated
>
>
> Best regards
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>



More information about the vtkusers mailing list