Changeset 827


Ignore:
Timestamp:
Nov 30, 2014, 10:00:36 AM (6 years ago)
Author:
sommeria
Message:

REPLICATE mode in geometry_calib improved in terms of user interface

Location:
trunk/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/browse_data.m

    r809 r827  
    4747%------------------------------------------------------------------------
    4848% --- Executes just before browse_data is made visible.
    49 function browse_data_OpeningFcn(hObject, eventdata, handles, Campaign)
     49function browse_data_OpeningFcn(hObject, eventdata, handles, Campaign,EnableMirror)
    5050%------------------------------------------------------------------------
    5151
     
    103103    % UIWAIT makes GUI wait for user response (see UIRESUME)
    104104    uiwait(handles.browse_data);
     105end
     106if exist('EnableMirror','var') && strcmp(EnableMirror,'on')
     107    set(handles.CreateMirror,'Visible','on')
    105108end
    106109
  • trunk/src/geometry_calib.m

    r809 r827  
    239239    InputDir=fileparts(fileparts(CalibData.XmlInputFile));
    240240end
    241 answer=msgbox_uvmat('INPUT_TXT','Campaign to calibrate?',InputDir);
    242 if strcmp(answer,'Cancel')
    243     return
    244 end
    245 OutPut=browse_data(answer);
     241SubProject=uigetfile_uvmat('open folder of subproject to calibrate',InputDir,'uigetdir');
     242% answer=msgbox_uvmat('INPUT_TXT','Campaign to calibrate?',InputDir);
     243% if strcmp(answer,'Cancel')
     244%     return
     245% end
     246OutPut=browse_data(SubProject);
    246247nbcalib=0;
    247248for ilist=1:numel(OutPut.Experiment)
  • trunk/src/uvmat.m

    r818 r827  
    497497    return
    498498end
    499 OutPut=browse_data(DirFull);% open the GUI browse_data to get select a campaign dir, experiment and device
     499OutPut=browse_data(DirFull,'on');% open the GUI browse_data to get select a campaign dir, experiment and device
    500500if ~isfield(OutPut,'Campaign')
    501501    return
     
    539539
    540540set(handles.MenuOpenCampaign,'ForegroundColor',[1 1 0])
    541 OutPut=browse_data(get(hObject,'Label'));% open the GUI browse_data to get select a campaign dir, experiment and device
     541OutPut=browse_data(get(hObject,'Label'),'on');% open the GUI browse_data to get select a campaign dir, experiment and device
    542542if isfield(OutPut,'Campaign')
    543543    fileinput=uigetfile_uvmat('pick an input file',fullfile(OutPut.Campaign,OutPut.Experiment{1},OutPut.DataSeries{1}));
Note: See TracChangeset for help on using the changeset viewer.