[vtkusers] vtkboxwidget issue
naresh
naresh at winner.co.in
Thu Aug 12 00:44:53 EDT 2010
Hi
Have u tried this ?
http://vtk.org/gitweb?p=VTK.git;a=blob;f=Examples/Tutorial/Step6/Cxx/Cone6.cxx
Thanx
----- Original Message -----
From: "Sebastien Jourdain" <sebastien.jourdain at kitware.com>
To: "Ali Habib" <ali.mahmoud.habib at gmail.com>
Cc: "VTK Users" <vtkusers at vtk.org>
Sent: Thursday, August 12, 2010 5:35 AM
Subject: Re: [vtkusers] vtkboxwidget issue
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
>
>
_______________________________________________
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