3D mouse support using classes and events

event driven object oriented support for 3dconnexions device package
2K Downloads
Updated 18 Jun 2009

View License

This is a small class library for use with 3D mice made by 3dconnexions. I purchased one of these devices recently and decided to implement event driven support (rather than polling), which was not yet available on the file exchange. The package consists of three classes:

The class mouse3Ddrv sets up the activex server, handles the device and sends out all events.

The class mouse3Dmonitor is a graphical real time view of all of the sensor positions. This is optional eye-candy / debug tool.

The class mouse3DfigCtrl allows you to whiz around a 3D figure by controlling the camera position with your 3d device. Press button one on the device to reset the view.

A demo script gives an example of how to use the simple objects.These classes provide a framework on which you can build more interesting applications using your 3D mouse. Enjoy!

Cite As

Nick Clark (2024). 3D mouse support using classes and events (https://www.mathworks.com/matlabcentral/fileexchange/22124-3d-mouse-support-using-classes-and-events), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: 3D mouse support

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.2.0.0

Removed GNU license

1.0.0.0