Changeset 231 for trunk/src/set_object.m


Ignore:
Timestamp:
Apr 5, 2011, 12:46:34 AM (13 years ago)
Author:
sommeria
Message:

interactive test for piv introduced various bug corrections

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/set_object.m

    r227 r231  
    652652if ~isempty(huvmat)
    653653    hhuvmat=guidata(huvmat);
    654 %     set(hhuvmat.create,'Value',0)
    655 %     set(hhuvmat.create,'BackgroundColor',[0 1 0])%put unactivated buttons to green
    656 %     set(hhuvmat.LINE,'Value',0)
    657 %     set(hhuvmat.LINE,'BackgroundColor',[0 1 0])%put unactivated buttons to green
    658 %     set(hhuvmat.PATCH,'Value',0)
    659 %     set(hhuvmat.PATCH,'BackgroundColor',[0 1 0])%put unactivated buttons to green
    660 %     set(hhuvmat.PLANE,'Value',0)
    661 %     set(hhuvmat.PLANE,'BackgroundColor',[0 1 0])%put unactivated buttons to green
    662 %     set(hhuvmat.VOLUME,'Value',0)
    663 %     set(hhuvmat.VOLUME,'BackgroundColor',[0 1 0])%put unactivated buttons to green
    664654    set(hhuvmat.edit,'Value',0)
    665655    set(hhuvmat.edit,'BackgroundColor',[0.7 0.7 0.7])%put unactivated buttons to gree
     
    686676    IndexObj_2=get(hhuvmat.list_object_2,'Value');
    687677    List2=get(hhuvmat.list_object_2,'String');
    688     if IndexObj_2==length(List2)
    689         IndexObj_2=[];% '...' selected
    690     end
    691678else
    692679    IndexObj_2=[];
     
    709696    if isempty(hview_field)
    710697        hview_field=view_field;
    711 %     elseif strcmp(ObjectData.ProjMode,'none')||strcmp(ObjectData.ProjMode,'mask_inside')||strcmp(ObjectData.ProjMode,'mask_outside')
    712698    end
    713699    PlotHandles=guidata(hview_field);
     
    716702    PlotHandles=hhuvmat;
    717703    plotaxes=hhuvmat.axes3;%handle of axes3 in view_field
     704
    718705end   
    719706
     
    742729ListObject{IndexObj,1}=ObjectName;
    743730set(hhuvmat.list_object_1,'String',ListObject)
    744 set(hhuvmat.list_object_2,'String',[ListObject;{'...'}])
     731set(hhuvmat.list_object_2,'String',ListObject)
    745732
    746733%% update the object plot and projection field
Note: See TracChangeset for help on using the changeset viewer.