Changeset 967 for trunk/src


Ignore:
Timestamp:
Jul 11, 2016, 2:43:53 PM (8 years ago)
Author:
sommeria
Message:

3D cuts improved

Location:
trunk/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/mouse_down.m

    r966 r967  
    440440        set(hh_set_object.num_Angle_1,'String',num2str(ObjectData.Angle(1)))
    441441        set(hh_set_object.num_Angle_2,'String',num2str(ObjectData.Angle(2)))
    442         drawing_status='off';
     442         drawing_status='off';
    443443    else
    444444        ObjectData.Coord=[ObjectData.Coord ;xy(1,1:2)];% append the coordinates marked by the mouse to the object
     
    446446        drawing_status='create';
    447447    end
     448    drawing_status='create';
    448449    %TODO replace 0 by z coord for 3D
    449450    hobject=UvData.ProjObject{IndexObj}.DisplayHandle.(CurrentGUI_tag);
  • trunk/src/proj_field.m

    r966 r967  
    914914                end
    915915            end
    916     end
     916
    917917end
    918918if ~isempty(ivar_U) && ~isempty(ivar_V)
  • trunk/src/set_object.m

    r966 r967  
    101101% fill the interface as set in the input data:
    102102if exist('data','var')
    103     if isfield(data,'Coord') &&size(data.Coord,2)==3
     103    if isfield(data,'Coord')
     104        set(handles.Coord,'Data',data.Coord)
     105        if size(data.Coord,2)==3
    104106        set(handles.z_slider,'Visible','on')
     107        end
    105108    else
    106109        set(handles.z_slider,'Visible','off')
     
    339342            set(handles.num_Angle_1,'Visible','on')
    340343            set(handles.num_Angle_1,'String','90')
    341             set(handles.Coord,'Data',[0 0 0])
     344            %set(handles.Coord,'Data',[0 0 0])
    342345            set(handles.num_RangeZ_2,'Visible','on')
    343346        end
  • trunk/src/uvmat.m

    r966 r967  
    995995                data.DY=UvData.Field.CoordMesh;
    996996                data.RangeZ=UvData.Field.CoordMesh;
     997                data.Coord=[];
    997998            otherwise
    998999                data.RangeY=[UvData.Field.YMin UvData.Field.YMax];
Note: See TracChangeset for help on using the changeset viewer.