[vtkusers] Pick an edge on mouse click on a vtkactor (and convert that edge to a new actor)
rwikee
rwikee at gmail.com
Wed Aug 28 09:20:41 EDT 2013
Hi,
Am working on a qt-vtk project . In viewport i plotted a vtkactor . That
actor consists of several vtkline cells , forming simple geometric
structures, like box / cube / triangle. I want to pick an edge as an actor
when mouse is clicked on that edge.
A ------------------------------------------ B
{ From a to b n number of cells are there, on click i want a vtkactor which
extends from A to B}
I tried vtkcellpicker . but it is returning only one cell, couldn't make
whole edge out of that.
I have tried vtkextractedges (Even though i saw it returns all edges instead
of one particular edge near to mouse click. ).
Thanks
Rwik
--
View this message in context: http://vtk.1045678.n5.nabble.com/Pick-an-edge-on-mouse-click-on-a-vtkactor-and-convert-that-edge-to-a-new-actor-tp5723093.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list