Changeset 231 for trunk/src/set_object.m
- Timestamp:
- Apr 5, 2011, 12:46:34 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/set_object.m
r227 r231 652 652 if ~isempty(huvmat) 653 653 hhuvmat=guidata(huvmat); 654 % set(hhuvmat.create,'Value',0)655 % set(hhuvmat.create,'BackgroundColor',[0 1 0])%put unactivated buttons to green656 % set(hhuvmat.LINE,'Value',0)657 % set(hhuvmat.LINE,'BackgroundColor',[0 1 0])%put unactivated buttons to green658 % set(hhuvmat.PATCH,'Value',0)659 % set(hhuvmat.PATCH,'BackgroundColor',[0 1 0])%put unactivated buttons to green660 % set(hhuvmat.PLANE,'Value',0)661 % set(hhuvmat.PLANE,'BackgroundColor',[0 1 0])%put unactivated buttons to green662 % set(hhuvmat.VOLUME,'Value',0)663 % set(hhuvmat.VOLUME,'BackgroundColor',[0 1 0])%put unactivated buttons to green664 654 set(hhuvmat.edit,'Value',0) 665 655 set(hhuvmat.edit,'BackgroundColor',[0.7 0.7 0.7])%put unactivated buttons to gree … … 686 676 IndexObj_2=get(hhuvmat.list_object_2,'Value'); 687 677 List2=get(hhuvmat.list_object_2,'String'); 688 if IndexObj_2==length(List2)689 IndexObj_2=[];% '...' selected690 end691 678 else 692 679 IndexObj_2=[]; … … 709 696 if isempty(hview_field) 710 697 hview_field=view_field; 711 % elseif strcmp(ObjectData.ProjMode,'none')||strcmp(ObjectData.ProjMode,'mask_inside')||strcmp(ObjectData.ProjMode,'mask_outside')712 698 end 713 699 PlotHandles=guidata(hview_field); … … 716 702 PlotHandles=hhuvmat; 717 703 plotaxes=hhuvmat.axes3;%handle of axes3 in view_field 704 718 705 end 719 706 … … 742 729 ListObject{IndexObj,1}=ObjectName; 743 730 set(hhuvmat.list_object_1,'String',ListObject) 744 set(hhuvmat.list_object_2,'String', [ListObject;{'...'}])731 set(hhuvmat.list_object_2,'String',ListObject) 745 732 746 733 %% update the object plot and projection field
Note: See TracChangeset
for help on using the changeset viewer.