Changeset 511 for trunk/src/set_object.m
- Timestamp:
- Aug 2, 2012, 3:12:48 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/set_object.m
r508 r511 192 192 set(hhuvmat.ListObject,'Value',ObjIndex) 193 193 % draw all object colors in blue (unselected) in uvmat 194 hother=[findobj(hhuvmat. axes3,'Tag','proj_object');findobj(hhuvmat.axes3,'Tag','DeformPoint')];%find all the proj object and deform point representations194 hother=[findobj(hhuvmat.PlotAxes,'Tag','proj_object');findobj(hhuvmat.PlotAxes,'Tag','DeformPoint')];%find all the proj object and deform point representations 195 195 for iobj=1:length(hother) 196 196 if isequal(get(hother(iobj),'Type'),'rectangle')||isequal(get(hother(iobj),'Type'),'patch') … … 475 475 UvData.Object{IndexObj}.DisplayHandle.uvmat=obj_handle; %preserve the object plot handle if valid 476 476 else 477 UvData.Object{IndexObj}.DisplayHandle.uvmat=hhuvmat. axes3; %axes taken as object display handle by defualt477 UvData.Object{IndexObj}.DisplayHandle.uvmat=hhuvmat.PlotAxes; %axes taken as object display handle by defualt 478 478 end 479 479 %set(hhuvmat.edit_object,'Value',1)% set the current object to edit mode … … 496 496 end 497 497 if isequal(IndexObj_1,IndexObj) % if the projection is in uvmat 498 PlotType=plot_field(ProjData,hhuvmat. axes3,read_GUI(get(hhuvmat.axes3,'parent')));%update the current uvmat plot498 PlotType=plot_field(ProjData,hhuvmat.PlotAxes,read_GUI(get(hhuvmat.PlotAxes,'parent')));%update the current uvmat plot 499 499 else % if the projection is in view_field 500 500 hview_field=findobj(allchild(0),'tag','view_field'); … … 503 503 else 504 504 hhview_field=guidata(hview_field); 505 [PlotType,PlotParam]=plot_field(ProjData,hhview_field. axes3,read_GUI(hview_field));%update an existing plot in view_field505 [PlotType,PlotParam]=plot_field(ProjData,hhview_field.PlotAxes,read_GUI(hview_field));%update an existing plot in view_field 506 506 write_plot_param(hhview_field,PlotParam); %update the display of plotting parameters for the current object 507 507 end
Note: See TracChangeset
for help on using the changeset viewer.