View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

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

5.0 | 2 ratings Rate this file 7 Downloads (last 30 days) File Size: 81.5 KB File ID: #29140 Version: 1.3
image thumbnail

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


Gang Wang (view profile)


27 Oct 2010 (Updated )

Interactively move a 3D object anywhere in the 3D space with a mouse.

Editor's Notes:

This file was selected as MATLAB Central Pick of the Week

| Watch this File

File Information

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:

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,


3 D Ct/Mri Images Interactive Sliding Viewer and Moveit2 Move A Graphical Object With The Mouse. inspired this file.

MATLAB release MATLAB 7.8 (R2009a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
05 May 2016 Enf

Enf (view profile)

23 Aug 2014 im577

im577 (view profile)

how can i move a extracted object around in another image?

12 Nov 2010 1.3

add 23304 in acknowledgement list

Contact us