[vtkusers] Re : Re : Click and drag a vertex of a vtkUnstructuredGrid
daviddoria at gmail.com
Fri Aug 12 11:07:44 EDT 2011
On Fri, Aug 12, 2011 at 10:59 AM, R M <mlokida at yahoo.fr> wrote:
> The first example
> seems to have no difference with the
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Interaction/MoveAVertex example.
> So for the moment I use a vtkCompositeDataGeometryFilter and then use
> vtkCleanPolyData on the output of the vtkCompositeDataGeometryFilter. And it
> seems to work.
> But because I have only one vtkPolyData now, I am quite block because I
> would like to hide some blocks. But, I have only one actor because only one
> I think I will try to loop through all blocks and convert each block in a
> vtkPolyData et change the points in order to point to the global array
> points (In order to move vertices that are shared by several blocks). And, I
> could use an Actor for each polydata and make them visible or not. I don't
> know yet if it will work. It is just a test.
> Thank you.
Sorry, I uploaded the wrong file:
There is not much different, but you'll see the input data is an
unstructuredGrid instead of a PolyData.
More information about the vtkusers