Changeset 356 for trunk/src/translate_points.m
- Timestamp:
- Jan 3, 2012, 12:58:52 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/translate_points.m
r36 r356 1 %'translate_points': associated with GUI translate_points.fig to display message boxes, for error, warning or input calls 2 % translate_points(title,display) 3 % 1 %'translate_points': associated with GUI translate_points.fig to display translation parameters 2 %------------------------------------------------------------------------ 3 % function T=translate_points(Tinput) 4 %------------------------------------------------------------------------ 4 5 % OUTPUT: 5 % answer (text string)= 'yes', 'No', 'cancel', or the text string introduced as input6 % 6 % T=vector size(1,3), representing the translation components along x,y,z 7 7 8 %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') 9 % Tinput: like T, used to prefil the GUI edit boxs 15 10 16 11 function varargout = translate_points(varargin) 17 18 % Last Modified by GUIDE v2.5 05-Jan-2010 19:31:3319 12 20 13 % Begin initialization code - DO NOT EDIT
Note: See TracChangeset
for help on using the changeset viewer.