Changeset 356 for trunk/src/rotate_points.m
- Timestamp:
- Jan 3, 2012, 12:58:52 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/rotate_points.m
r74 r356 1 %'rotate_points': associated with GUI rotate_points.fig to display message boxes, for error, warning or input calls2 % rotate_points(title,display)3 % 1 %'rotate_points': associated with GUI rotate_points.fig to introduce (2D) rotation parameters 2 %------------------------------------------------------------------------ 3 % function T=rotate_points(Tinput) 4 4 % OUTPUT: 5 % answer (text string)= 'yes', 'No', 'cancel', or the text string introduced as input 5 % T=vector size(1,3) 6 % T(1): rotation angle 7 % T(2): x coordiante of rotation axis 8 % T(3): y coordiante of rotation axis 6 9 % 7 10 %INPUT: 8 % title: string indicating the type of message box: 9 % title= 'INPUT_TXT','CONFIMATION' ,'ERROR', 'WARNING', 'INPUT_Y-N', default = 'INPUT_TXT' (the title is displayed in the upper bar of the fig). 10 % if title='INPUT_TXT', input data is asked in an edit box 11 % if title='CONFIMATION'', 'ERROR', 'WARNING', the figure remains opened until a button 'OK' is pressed 12 % if title='INPUT_Y-N', an answer Yes/No is requested 13 % display, displayed text 14 % default_answer: default answer in the edit box (only used with title='INPUT_TXT') 11 % Tinput: like T, used to prefil the GUI edit boxs 15 12 16 13 function varargout = rotate_points(varargin) 17 18 % Last Modified by GUIDE v2.5 05-Jan-2010 15:10:1019 14 20 15 % Begin initialization code - DO NOT EDIT
Note: See TracChangeset
for help on using the changeset viewer.