Changeset 38 for trunk/src/create_grid.m


Ignore:
Timestamp:
Mar 7, 2010, 6:30:11 PM (14 years ago)
Author:
sommeria
Message:

field transforms put in subdir transform_field. cleaning of obsolete functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/create_grid.m

    r37 r38  
    1 %'create_grid': associated with GUI create_grid.fig to display message boxes, for error, warning or input calls
    2 % create_grid(title,display)
     1%'create_grid': called by the GUI geometry_calib to create a physical grid
     2% coord=create_grid(input_grid)
    33%
    44% OUTPUT:
    5 % answer  (text string)= 'yes', 'No', 'cancel', or the text string introduced as input
     5% coord: matrix (nbpoint, 3) of coordinates for grid points, with columns x,y,z
    66%
    77%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')
     8% input_grid (optional): structure to initiate the GUI with fields .x_0,.Dx,.x_1
     9% (defining x coordinates), .y_0,.Dy,.y_1 (defining y coordinates)
    1510
    1611function varargout = create_grid(varargin)
Note: See TracChangeset for help on using the changeset viewer.