Changeset 541
- Timestamp:
- Sep 14, 2012, 9:06:04 AM (12 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/geometry_calib.m
r517 r541 139 139 if ~isempty(huvmat) 140 140 handles=guidata(huvmat); 141 hobject=findobj(handles. axes3,'tag','calib_points');141 hobject=findobj(handles.PlotAxes,'tag','calib_points'); 142 142 if ~isempty(hobject) 143 143 delete(hobject) 144 144 end 145 hobject=findobj(handles. axes3,'tag','calib_marker');145 hobject=findobj(handles.PlotAxes,'tag','calib_marker'); 146 146 if ~isempty(hobject) 147 147 delete(hobject) … … 287 287 288 288 %display image with new calibration in the currently opened uvmat interface 289 hhh=findobj(hhuvmat. axes3,'Tag','calib_marker');% delete calib points and markers289 hhh=findobj(hhuvmat.PlotAxes,'Tag','calib_marker');% delete calib points and markers 290 290 if ~isempty(hhh) 291 291 delete(hhh); 292 292 end 293 hhh=findobj(hhuvmat. axes3,'Tag','calib_points');293 hhh=findobj(hhuvmat.PlotAxes,'Tag','calib_points'); 294 294 if ~isempty(hhh) 295 295 delete(hhh); … … 998 998 end 999 999 end 1000 %axes(hhuvmat.axes3) 1000 1001 1001 set(0,'CurrentFigure',huvmat) 1002 1002 set(huvmat,'CurrentAxes',hhuvmat.PlotAxes) -
trunk/src/mouse_down.m
r534 r541 377 377 end 378 378 379 %% create calibration points if the GUI geometry_calib is opened, if the main axes axes3of uvmat has ben selected380 if ~test_zoom && test_cal && ~isempty(haxes) && strcmp(get(haxes,'tag'),' axes3')379 %% create calibration points if the GUI geometry_calib is opened, if the main axes PlotAxes of uvmat has ben selected 380 if ~test_zoom && test_cal && ~isempty(haxes) && strcmp(get(haxes,'tag'),'PlotAxes') 381 381 h_geometry_calib=findobj(allchild(0),'Name','geometry_calib'); %find the geomterty_calib GUI 382 382 hh_geometry_calib=guidata(h_geometry_calib); -
trunk/src/uvmat.m
r540 r541 1355 1355 choice_value=get(handles.transform_fct,'Value'); 1356 1356 transform_name=menu_transform{choice_value};%name of the transform fct given by the menu 'transform_fct' 1357 transform_list=get(handles.transform_fct,'UserData'); 1358 transform=transform_list{choice_value}; 1357 % transform_list=get(handles.transform_fct,'UserData'); 1358 % transform=transform_list{choice_value}; 1359 transform=get(handles.path_transform,'UserData'); 1359 1360 if ~isequal(transform_name,'') && ~isequal(transform_name,'px') 1360 1361 if isfield(UvData,'XmlData') && isfield(UvData.XmlData{1},'GeometryCalib')%use geometry calib recorded from the ImaDoc xml file as first priority … … 3558 3559 end 3559 3560 3560 set(handles.CheckFixLimits,'Value',0)3561 set(handles.CheckFixLimits,'BackgroundColor',[0.7 0.7 0.7])3562 3561 3563 3562 %% delete drawn objects if the output CooordUnit is different from the previous one 3564 3563 if ~strcmp(CoordUnit,CoordUnitPrev) 3564 set(handles.CheckFixLimits,'Value',0) 3565 set(handles.CheckFixLimits,'BackgroundColor',[0.7 0.7 0.7]) 3565 3566 hother=findobj('Tag','proj_object');%find all the proj objects 3566 3567 for iobj=1:length(hother)
Note: See TracChangeset
for help on using the changeset viewer.