3D mouse support
by Gus Brown
09 Jan 2008
(Updated 03 Mar 2008)
Allows the use of a 3D mouse to rotate ones figures.
|
Watch this File
|
| File Information |
| Description |
Mathworks really should support the 3D mouse by default, but until they do I created a simple hack to allow one to use a 3D mouse to rotate a figure.
The function connects to the mouse driver COM object and uses a timer function to poll the mouse position and rotation. To prevent excessive resource use the time step is increased when the mouse is not in use.
Some more work is needed, but hopefully this will inspire Mathworks to include support for a 3D mouse in the next release.
Visit http://www.3dconnexion.com/ to find out what a 3D mouse is. |
| Acknowledgements |
This submission has inspired the following:
3D mouse support using classes and events
|
| MATLAB release |
MATLAB 7.5 (R2007b)
|
| Other requirements |
An installed and working 3D mouse. |
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (4) |
| 15 Jan 2008 |
Jerome Hoepffner
|
|
|
| 29 Jan 2008 |
Vihang Patil
|
|
|
| 30 Jan 2008 |
Gus Brown
|
|
|
| 21 Apr 2009 |
Ben
|
|
|
| Updates |
| 09 Jan 2008 |
May not support Magellan as it is a different product. |
| 09 Jan 2008 |
Rotation was not progressive. |
| 10 Jan 2008 |
Just some code cleanup. |
| 11 Jan 2008 |
Moved camva call, to prevent an empty figure window from poping up when there are no figures, unless the 3D mouse is moved. |
| 03 Mar 2008 |
Changed wording. |
|
Contact us at files@mathworks.com