rotate on mouse click and drag in the direction of the mouse cursor

Hello,

i have a 3-D plot of points joined by lines. I want to rotate it when i mouse click and drag the object.
i want it to rotate in the direction of the mouse cursor.

How to make it possible??
plz help…
Any code would be highly useful.

vamsee