[vtkusers] Support for 3D trackers and 3D mice

David Gobbi dgobbi at irus.rri.on.ca
Wed Dec 13 13:39:40 EST 2000


On Wed, 13 Dec 2000, Luis Sainz Hermoso wrote:

> Hi David!
> 	I've just developed a class based on
> vtkWin32RenderWindowInteractor to allow the interaction between vtk and
> the magellan SPACEMOUSE of logitech. It works quite fine (I'm still
> working on it) except when I try to pan the camera.I would be really
> greatful if you could send me the part of the code that pans the camera.
> 
> 	Thank you very much
> 
> 		Luis
> 
> P.S: I'm still working with vtk2.4 for compatibility reasons and I know
> that with
> vtk3.1 the interaction scheme has changed but I think there won't be any
> problems in porting it.    

Hi Luis,

My vtkTracker class doesn't work this way at all.  It provides a 
vtkTransform that corresponds to the position of the tracking device,
and how that vtkTransform is applied is completely up to the user.
It doesn't know or care about the position of the camera.

 - David

--
  David Gobbi, MSc                    dgobbi at irus.rri.on.ca
  Advanced Imaging Research Group
  Robarts Research Institute, University of Western Ontario





More information about the vtkusers mailing list