[vtkusers] VTK and Mouse 3D (Logitech)

Peter Clifton pcjc2 at cam.ac.uk
Fri Dec 7 08:31:19 EST 2007


On Fri, 2007-12-07 at 05:02 -0800, walmor godoi wrote:
> 
> Hi ,
>  
> I am developing application in Java (Linux and Windows)
> for visualization of the 3D industrial tomographies (with VTK /
> ITK). We buy a Logitech Mouse 3D(Space Explorer model) for interaction
> facilities. 
>  
> Does anyone know how to configure the mouse to the VTK (in any
> language)? 
>  
> Somebody build a class for this application? 

No, but I've been playing with this device myself.. just haven't got
around to trying to hook it to the VTK stuff I was doing.

For examples of using the device under Linux (Not through the
3Dconnexions SDK, which is probably incompatible with many open source
licenses)..

http://eugen.leitl.org/spacenavi.c
http://www.home.unix-ag.org/simon/files/helix-15.tar.gz

(Neither of these were written by me, but both work with a little
modification to find the right /dev/input/event* device. (You can use a
udev rule to auto-generate /dev/input/spacenavigator when it plugs in).

If you're on Windows, then this forum thread links a community provided
driver to use the SpaceNavigator as a joystick. That may be a nice
generic way to add support in VTK.

http://www.3dconnexion.com/forum/viewtopic.php?t=336&postdays=0&postorder=asc&start=0

Best wishes,

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)




More information about the vtkusers mailing list