[vtkusers] object interaction using 3Dconnexion-SpaceExplorer

Christian Arens Christiana at gmx.ch
Mon Feb 10 04:17:40 EST 2014


Hello together,

iam developing a simulator for nanoparticles handling with the 3d mouse 
"space explorer - 3D Connexion".
I create several objects in one scene and i want to place them 
separately in a 3D space using the 3D mouse.

I have choosen the following interactors:
vtkInteractorStyleTrackballCamera
vtkInteractorStyleTrackballActor

The vtkInteractorStyleTrackballActor::OnLeftButtonDown() method allows 
me to interact with one object in a scene off many by clicking on them 
with the standard mouse.
But i want to use the 3D mouse for interaction. So i have to "bind" one 
object to the 3D mouse to interact with, but i have no idea how to do this.

Does anyone have an idea?

best regards,
Chris


More information about the vtkusers mailing list