Changeset 1062 for trunk/src/set_object.m
- Timestamp:
- Mar 21, 2019, 6:35:43 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/set_object.m
r1061 r1062 293 293 %set(handles.num_Angle_3,'Visible','off') 294 294 set(handles.num_RangeX_1,'Visible','off') 295 set(handles.num_RangeX_2,'Visible','off')296 295 set(handles.num_RangeY_1,'Visible','off') 297 if isequal(ProjMode,'interp_lin')|| isequal(ProjMode,'interp_tps') 298 set(handles.num_RangeY_2,'Visible','off') 299 else 300 set(handles.num_RangeY_2,'Visible','on') 301 end 302 if strcmp(ObjectStyle,'rectangle')||strcmp(ObjectStyle,'ellipse') 303 set(handles.num_RangeX_2,'Visible','on') 304 else 305 set(handles.num_RangeX_2,'Visible','off') 306 end 296 % if isequal(ProjMode,'interp_lin')|| isequal(ProjMode,'interp_tps') 297 % set(handles.num_RangeY_2,'Visible','off') 298 % else 299 % set(handles.num_RangeY_2,'Visible','on') 300 307 301 set(handles.num_RangeZ_1,'Visible','off') 308 302 set(handles.num_RangeZ_2,'Visible','off') … … 310 304 set(handles.num_DY,'Visible','off') 311 305 set(handles.num_DZ,'Visible','off') 312 set(handles.num_RangeInterp,'Visible','off') 313 306 %default 307 set(handles.num_RangeX_2,'Visible','off') 308 set(handles.num_RangeY_2,'Visible','off') 314 309 switch ObjectStyle 315 310 case 'points' 316 set(handles.num_Range Y_2,'TooltipString','num_RangeY_2: range of projection around each point')311 set(handles.num_RangeInterp,'TooltipString','num_RangeY_2: range of projection around each point') 317 312 % set(handles.XObject,'TooltipString','XObject: set of x coordinates of the points') 318 313 % set(handles.YObject,'TooltipString','YObject: set of y coordinates of the points') 319 314 % set(handles.ZObject,'TooltipString','ZObject: set of z coordinates of the points') 320 315 case {'line','polyline','polygon'} 321 set(handles.num_RangeY_2,'TooltipString','num_RangeY_2: range of projection around the line') 316 set(handles.num_RangeX_2,'Visible','off') 317 set(handles.num_RangeY_2,'Visible','off') 318 %set(handles.num_RangeY_2,'TooltipString','num_RangeY_2: range of projection around the line') 322 319 set(handles.Coord,'TooltipString','Coord: table of x,y, z coordinates defining the line') 323 320 % set(handles.YObject,'TooltipString','YObject: set of y coordinates defining the line') … … 329 326 end 330 327 case {'rectangle','ellipse'} 328 set(handles.num_RangeX_2,'Visible','on') 329 set(handles.num_RangeY_2,'Visible','on') 331 330 set(handles.num_RangeX_2,'TooltipString',['num_RangeX_2: half length of the ' ObjectStyle]) 332 331 set(handles.num_RangeY_2,'TooltipString',['num_RangeY_2: half width of the ' ObjectStyle]) 332 if isequal(ProjMode,'interp_lin')|| isequal(ProjMode,'interp_tps') 333 set(handles.num_DX,'Visible','on') 334 set(handles.num_DX,'TooltipString','num_DX: mesh for the interpolated field along the line') 335 set(handles.num_RangeInterp,'Visible','on') 336 end 333 337 case {'plane','plane_z'} 334 338 set(handles.num_Angle_1,'Visible','on') … … 336 340 set(handles.num_RangeX_2,'Visible','on') 337 341 set(handles.num_RangeY_1,'Visible','on') 338 set(handles.num_RangeY_2,'Visible','on')342 %set(handles.num_RangeY_2,'Visible','on') 339 343 set(handles.num_RangeZ_2,'TooltipString','num_ZMax: range of projection normal to the plane') 340 344 if test3D
Note: See TracChangeset
for help on using the changeset viewer.