[vtkusers] moving actors : points , with drag&drop mouse

אליה מירוב eliya.mir at gmail.com
Mon Sep 21 12:26:09 EDT 2009


Hello all,
I have a small program that (using qt) asks for a set of points, displays
them on the vtk render window, then i add some more points and some
polylinesto connect all the points .
I want to become more acquainted with the interacting abilities of the vtk
many modules   ,

to be able to do things like:
1. pick a point (point type: glyphPoints = vtk.vtkGlyph3D()) draging it
somewhere and dropping the mouse button,
resulting with the new position (3D) of the point

2. say that the point is attached to poly lines , i want the lines to follow
the new position of the point

3. selecting new points in the 3D sphere/box , just by clicking/picking -->
creates new points
for this(3) i have an idea:
create a cell picker,
take the cell picker coordinates (from the screen) and create new point


thank you

Eliya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090921/d979cac6/attachment.htm>


More information about the vtkusers mailing list