Changeset 581 for trunk/src/set_object.m
- Timestamp:
- Mar 12, 2013, 12:52:13 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/set_object.m
r569 r581 249 249 switch Type 250 250 case {'points','line','polyline','plane'} 251 menu_proj={'projection';'interp ';'filter';'none'};251 menu_proj={'projection';'interp_lin';'interp_tps';'none'}; 252 252 case {'polygon','rectangle','ellipse'} 253 253 menu_proj={'inside';'outside';'mask_inside';'mask_outside'}; 254 254 case 'volume' 255 menu_proj={'interp ';'none'};255 menu_proj={'interp_lin';'none'}; 256 256 otherwise 257 menu_proj={'projection';'interp ';'filter';'none'};%default257 menu_proj={'projection';'interp_lin';'interp_tps';'none'};%default 258 258 end 259 259 else … … 288 288 set(handles.num_RangeX_2,'Visible','off') 289 289 set(handles.num_RangeY_1,'Visible','off') 290 if isequal(ProjMode,'interp ')290 if isequal(ProjMode,'interp_lin') 291 291 set(handles.num_RangeY_2,'Visible','off') 292 292 else … … 315 315 % set(handles.YObject,'TooltipString','YObject: set of y coordinates defining the line') 316 316 % set(handles.ZObject,'TooltipString','ZObject: set of z coordinates defining the line') 317 if isequal(ProjMode,'interp ')|| isequal(ProjMode,'filter')317 if isequal(ProjMode,'interp_lin')|| isequal(ProjMode,'interp_tps') 318 318 set(handles.num_DX,'Visible','on') 319 319 set(handles.num_DX,'TooltipString','num_DX: mesh for the interpolated field along the line') … … 338 338 set(handles.num_RangeZ_2,'Visible','on') 339 339 end 340 if isequal(ProjMode,'interp ')|| isequal(ProjMode,'filter')340 if isequal(ProjMode,'interp_lin')|| isequal(ProjMode,'interp_tps') 341 341 set(handles.num_DX,'Visible','on') 342 342 set(handles.num_DY,'Visible','on') … … 345 345 set(handles.num_DY,'Visible','off') 346 346 end 347 if isequal(ProjMode,'interp ')347 if isequal(ProjMode,'interp_lin') 348 348 set(handles.num_DZ,'Visible','on') 349 349 end … … 360 360 set(handles.num_RangeZ_1,'Visible','on') 361 361 set(handles.num_RangeZ_2,'Visible','on') 362 if isequal(ProjMode,'interp ')|| isequal(ProjMode,'filter')362 if isequal(ProjMode,'interp_lin')|| isequal(ProjMode,'interp_tps') 363 363 set(handles.num_DX,'Visible','on') 364 364 set(handles.num_DY,'Visible','on') … … 485 485 PlotType='text'; 486 486 else 487 % create tps coeff if needed for ProjMode ' filter'488 if strcmp(ObjectData.ProjMode,' filter')&&~isfield(UvData.Field,'Coord_tps')487 % create tps coeff if needed for ProjMode 'interp_tps' 488 if strcmp(ObjectData.ProjMode,'interp_tps')&&~isfield(UvData.Field,'Coord_tps') 489 489 UvData.Field=calc_tps(UvData.Field,1); 490 490 end
Note: See TracChangeset
for help on using the changeset viewer.