Changeset 40 for trunk/src/set_object.m


Ignore:
Timestamp:
Mar 9, 2010, 9:00:40 PM (11 years ago)
Author:
sommeria
Message:

-relabel_i_j added to the svn (relabel an image series with two indices)
-Menu projection Object added to uvmat, rationalizes the call of projection objects (to improve yet)
-get_plot_handles: modified in relationwith the Menu projection object
-mouse_down: corrected in relation with previous change in field transforms
-transform_field functions added to the svn
-set_object and keyboard_callback: cleaning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/set_object.m

    r2 r40  
    514514oldfile=' ';
    515515huvmat=findobj('Tag','uvmat');
    516 % if isempty(huvmat)
    517 %     huvmat=findobj(allchild(0),'Name','series');
    518 % end
    519516hchild=get(huvmat,'Children');
    520517hrootpath=findobj(hchild,'Tag','RootPath');
     
    525522    end
    526523end
    527 %[FileName,PathName] = uigetfile('*.civ','Select a .civ file',oldfile)
    528524[FileName, PathName, filterindex] = uigetfile( ...
    529525       {'*.xml;*.mat', ' (*.xml,*.mat)';
     
    534530testblank=findstr(fileinput,' ');%look for blanks
    535531if ~isempty(testblank)
    536     errordlg('forbidden input file name: contain blanks')
     532    msgbox_uvmat('ERROR','forbidden input file name: contain blanks')
    537533    return
    538534end
    539535sizf=size(fileinput);
    540 if (~ischar(fileinput)|~isequal(sizf(1),1)),return;end
     536if (~ischar(fileinput)||~isequal(sizf(1),1)),return;end
    541537
    542538%read the file
     
    553549if ~isempty(huvmat)
    554550    hhuvmat=guidata(huvmat);
    555 %     set(hhuvmat.POINTS,'Value',0)
    556 %     set(hhuvmat.POINTS,'BackgroundColor',[0 1 0])%put unactivated buttons to green
    557 %     set(hhuvmat.LINE,'Value',0)
    558 %     set(hhuvmat.LINE,'BackgroundColor',[0 1 0])%put unactivated buttons to green
    559 %     set(hhuvmat.PATCH,'Value',0)
    560 %     set(hhuvmat.PATCH,'BackgroundColor',[0 1 0])%put unactivated buttons to green
    561 %     set(hhuvmat.PLANE,'Value',0)
    562 %     set(hhuvmat.PLANE,'BackgroundColor',[0 1 0])%put unactivated buttons to green
    563 %     set(hhuvmat.VOLUME,'Value',0)
    564 %     set(hhuvmat.VOLUME,'BackgroundColor',[0 1 0])%put unactivated buttons to green
    565 %     if ~isequal(title,'MASK')
    566 %         eval(['set(hhuvmat.' title ',''Value'',1)'])
    567 %         eval(['set(hhuvmat.' title ',''BackgroundColor'',[1 1 0])'])
    568 %     end
    569551end
    570552menu=get(handles.TITLE,'String');
Note: See TracChangeset for help on using the changeset viewer.