Move a 3D object with mouse in a traditional 4-view window

版本 1.3.0.0 (81.5 KB) 作者: Gang Wang
Interactively move a 3D object anywhere in the 3D space with a mouse.
2.0K 次下载
更新时间 2010/11/12

查看许可证

编者注: This file was selected as MATLAB Central Pick of the Week

TDFig is an interactive matlab GUI. It displays a 3D objects in the traditional 4-view window (top, front, right and camera).
It also allows users to grasp these objects and move them anywhere in the 3D space.

Just run:

TDFig

and it will generate 4 spheres for demo.

Grasp and move the spheres in orthogonal windows (top, front, side windows) to see the effects. Any object being moved outside the window screen will be deleted.

I use spherical surf objects for demo. Actually, you also can generate 'slice' and 'patch' objects with primitive or irregular shape,and load them into TDFig.

Some buttons with special displaying options are on the right.

You can do any modifications on my code. Please remember to email to me when you find bugs or add on some interesting features.

Author: Wang Gang, dnrwg@nus.edu.sg

引用格式

Gang Wang (2024). Move a 3D object with mouse in a traditional 4-view window (https://www.mathworks.com/matlabcentral/fileexchange/29140-move-a-3d-object-with-mouse-in-a-traditional-4-view-window), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2009a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Migrate GUIDE Apps 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.3.0.0

add 23304 in acknowledgement list

1.0.0.0