[vtkusers] intersection of two actors
chasank
chasank at gmail.com
Sat Oct 18 14:34:46 EDT 2014
Hi Ilhan,
First of all, you should write a class that inherits the TrackballActor
class. Then you should override the Execute() function to have a full
control of your interaction. With this kind of implementation you should
assign another key(s) for example move actors left, up, right or left.
Do the necessary calculation of your actors ( with calculating their world /
display coordinates to extract the intersection of spheres ) and finally
update / set your actors position and do not forget to call the Render()
function of your vtkRenderWindow instance.
--
View this message in context: http://vtk.1045678.n5.nabble.com/intersection-of-two-actors-tp5729131p5729171.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list