[vtkusers] Re : Click and drag a vertex of a vtkUnstructuredGrid
R M
mlokida at yahoo.fr
Thu Aug 11 08:54:32 EDT 2011
Apparently not. The interaction to select points works with a
vtkInteractorStyleTrackballActor class and it seems to only works with
vtkPolyData.
May be I should convert my unstructured grid into a polydata ?
________________________________
De : David Doria <daviddoria at gmail.com>
À : lokida <mlokida at yahoo.fr>
Cc : vtkusers at vtk.org
Envoyé le : Jeu 11 août 2011, 14h 37min 46s
Objet : Re: [vtkusers] Click and drag a vertex of a vtkUnstructuredGrid
On Thu, Aug 11, 2011 at 4:37 AM, lokida <mlokida at yahoo.fr> wrote:
> Hello,
>
> I have used the
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Interaction/MoveAVertex Click and
> drag a vertex example and it works with vtkPolyData.
> Now, I would like to use it with a vtkUnstructuredGrid but I haven't found
> any examples or documentation about this.
>
> Is-it possible do click and drag a vertex of an unstructuredGrid. If yes,
> how Can I do that (example, link,..) ?
>
> Than you.
It should be exactly the same, just using a vtkDataSetMapper instead
of a vtkPolyDataMapper, no?
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110811/16886348/attachment.htm>
More information about the vtkusers
mailing list