[vtkusers] vtkboxwidget issue

Sebastien Jourdain sebastien.jourdain at kitware.com
Fri Aug 13 16:59:16 EDT 2010


If you read the examples provided, you will see that is both a
programmable filter and is basically doing what you try to do.

On Fri, Aug 13, 2010 at 3:23 PM, Ali Habib <ali.mahmoud.habib at gmail.com> wrote:
> thanks alot for your reply, is there any examples for that please
>
> On Thu, Aug 12, 2010 at 3:05 AM, Sebastien Jourdain
> <sebastien.jourdain at kitware.com> wrote:
>>
>> 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