Changeset 544
- Timestamp:
- Sep 16, 2012, 12:16:17 PM (12 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/geometry_calib.m
r542 r544 1117 1117 1118 1118 % transform grid image into 'phys' coordinates 1119 GeometryCalib.CalibrationType='linear'; 1119 1120 GeometryCalib.fx_fy=[1 1]; 1120 1121 GeometryCalib.Tx_Ty_Tz=[Amat(1,3) Amat(2,3) 1]; -
trunk/src/view_field.m
r511 r544 71 71 set(hObject,'DeleteFcn',{@closefcn})% 72 72 set(hObject,'ResizeFcn',{@ResizeFcn,handles})% 73 ViewFieldData. axes3=[];%initiates the record of the current field (will be updated by plot_field)73 ViewFieldData.PlotAxes=[];%initiates the record of the current field (will be updated by plot_field) 74 74 set(handles.view_field,'Units','pixels') 75 75 ViewFieldData.GUISize=get(handles.view_field,'Position'); … … 174 174 set(hhuvmat.ListObject,'Value',ObjIndex) 175 175 % draw all object colors in blue (unselected) in uvmat 176 hother=[findobj(hhuvmat. axes3,'Tag','proj_object');findobj(hhuvmat.axes3,'Tag','DeformPoint')];%find all the proj object and deform point representations176 hother=[findobj(hhuvmat.PlotAxes,'Tag','proj_object');findobj(hhuvmat.PlotAxes,'Tag','DeformPoint')];%find all the proj object and deform point representations 177 177 for iobj=1:length(hother) 178 178 if isequal(get(hother(iobj),'Type'),'rectangle')||isequal(get(hother(iobj),'Type'),'patch') … … 772 772 %------------------------------------------------------------------- 773 773 Data=get(handles.view_field,'UserData'); 774 AxeData=Data. axes3;% retrieve the current plotted data774 AxeData=Data.PlotAxes;% retrieve the current plotted data 775 775 PlotParam=read_GUI(handles.view_field); 776 776 [PP,PlotParamOut]= plot_field(AxeData,handles.PlotAxes,PlotParam); … … 784 784 % huvmat=findobj(allchild(0),'Name','uvmat'); 785 785 Data_view_field=get(handles.view_field,'UserData'); 786 Data_view_field=Data_view_field. axes3;786 Data_view_field=Data_view_field.PlotAxes; 787 787 % Data_view_field=UvData.ProjField_2; 788 788 evalin('base','global Data_view_field')%make CurData global in the workspace
Note: See TracChangeset
for help on using the changeset viewer.