⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 prodigy.m

📁 related to 3d human body
💻 M
字号:
function varargout = Prodigy(varargin)
gui_Singleton = 1;
gui_State = struct('gui_Name',       mfilename, ...
                   'gui_Singleton',  gui_Singleton, ...
                   'gui_OpeningFcn', @Prodigy_OpeningFcn, ...
                   'gui_OutputFcn',  @Prodigy_OutputFcn, ...
                   'gui_LayoutFcn',  [] , ...
                   'gui_Callback',   []);
if nargin && ischar(varargin{1})
    gui_State.gui_Callback = str2func(varargin{1});
end

if nargout
    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
else
    gui_mainfcn(gui_State, varargin{:});
end
% End initialization code - DO NOT EDIT


% --- Executes just before Prodigy is made visible.
function Prodigy_OpeningFcn(hObject, eventdata, handles, varargin)
handles.output = hObject;

% Update handles structure
guidata(hObject, handles);

% --- Outputs from this function are returned to the command line.
function varargout = Prodigy_OutputFcn(hObject, eventdata, handles) 
% Get default command line output from handles structure
varargout{1} = handles.output;

% --- Executes during object creation, after setting all properties.
function slider1_CreateFcn(hObject, eventdata, handles)
global JPs
if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor',[.9 .9 .9]);
end
set(hObject,'Min',JPs(13,1)-5);set(hObject,'Max',JPs(13,1)+5);set(hObject,'Value',JPs(13,1));
% --- Executes during object creation, after setting all properties.
function slider2_CreateFcn(hObject, eventdata, handles)
global JPs
if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor',[.9 .9 .9]);
end
set(hObject,'Min',JPs(13,2)-5);set(hObject,'Max',JPs(13,2)+5);set(hObject,'Value',JPs(13,2));

% --- Executes during object creation, after setting all properties.
function slider3_CreateFcn(hObject, eventdata, handles)
global JPs
if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor',[.9 .9 .9]);
end
set(hObject,'Min',JPs(16,1)-5);set(hObject,'Max',JPs(16,1)+5);set(hObject,'Value',JPs(16,1));

% --- Executes during object creation, after setting all properties.
function slider4_CreateFcn(hObject, eventdata, handles)
global JPs
if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor',[.9 .9 .9]);
end
set(hObject,'Min',JPs(16,2)-5);set(hObject,'Max',JPs(16,2)+5);set(hObject,'Value',JPs(16,2));

% --- Executes during object creation, after setting all properties.
function slider5_CreateFcn(hObject, eventdata, handles)
global JPs
if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor',[.9 .9 .9]);
end
set(hObject,'Min',JPs(6,1)-5);set(hObject,'Max',JPs(6,1)+5);set(hObject,'Value',JPs(6,1));

% --- Executes during object creation, after setting all properties.
function slider6_CreateFcn(hObject, eventdata, handles)
global JPs
if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor',[.9 .9 .9]);
end
set(hObject,'Min',JPs(6,2)-5);set(hObject,'Max',JPs(6,2)+5);set(hObject,'Value',JPs(6,2));

% --- Executes during object creation, after setting all properties.
function slider7_CreateFcn(hObject, eventdata, handles)
global JPs
if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor',[.9 .9 .9]);
end
set(hObject,'Min',JPs(9,1)-5);set(hObject,'Max',JPs(9,1)+5);set(hObject,'Value',JPs(9,1));

% --- Executes during object creation, after setting all properties.
function slider8_CreateFcn(hObject, eventdata, handles)
global JPs
if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor',[.9 .9 .9]);    
end
set(hObject,'Min',JPs(9,2)-5);set(hObject,'Max',JPs(9,2)+5);set(hObject,'Value',JPs(9,2));

% --- Executes during object creation, after setting all properties.
function slider10_CreateFcn(hObject, eventdata, handles)
global JPs
if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor',[.9 .9 .9]);    
end
set(hObject,'Min',JPs(10,2)-5);set(hObject,'Max',JPs(10,2)+5);set(hObject,'Value',JPs(10,2));

% --- Executes during object creation, after setting all properties.
function slider11_CreateFcn(hObject, eventdata, handles)
global JPs
if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor',[.9 .9 .9]);    
end
set(hObject,'Min',JPs(18,1)-5);set(hObject,'Max',JPs(18,1)+5);set(hObject,'Value',JPs(18,1));

% --- Executes during object creation, after setting all properties.
function slider12_CreateFcn(hObject, eventdata, handles)
global JPs
if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor',[.9 .9 .9]);    
end
set(hObject,'Min',JPs(10,1)-5);set(hObject,'Max',JPs(10,1)+5);set(hObject,'Value',JPs(10,1));

% --- Executes during object creation, after setting all properties.
function slider9_CreateFcn(hObject, eventdata, handles)
global JPs
if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor',[.9 .9 .9]);    
end
set(hObject,'Min',JPs(18,2)-5);set(hObject,'Max',JPs(18,2)+5);set(hObject,'Value',JPs(18,2));

% --- Executes during object creation, after setting all properties.
function figure1_CreateFcn(hObject, eventdata, handles)
global H fai
H=[];fai=[];
SetInitialValues;
Drawing;

% --- Executes on slider movement.
function slider1_Callback(hObject, eventdata, handles)
global JPs
JPs(13,1) = get(handles.slider1,'Value');
Drawing;

% --- Executes on slider movement.
function slider2_Callback(hObject, eventdata, handles)
global JPs  
JPs(13,2) = get(handles.slider2,'Value');
Drawing;

% --- Executes on slider movement.
function slider3_Callback(hObject, eventdata, handles)
global JPs 
JPs(16,1) = get(handles.slider3,'Value');
Drawing;

% --- Executes on slider movement.
function slider4_Callback(hObject, eventdata, handles)
global JPs 
JPs(16,2) = get(handles.slider4,'Value');
Drawing;

% --- Executes on slider movement.
function slider5_Callback(hObject, eventdata, handles)
global JPs 
JPs(6,1) = get(handles.slider5,'Value');
Drawing;

% --- Executes on slider movement.
function slider6_Callback(hObject, eventdata, handles)
global JPs 
JPs(6,2) = get(handles.slider6,'Value');
Drawing;

% --- Executes on slider movement.
function slider7_Callback(hObject, eventdata, handles)
global JPs 
JPs(9,1) = get(handles.slider7,'Value');
Drawing;

% --- Executes on slider movement.
function slider8_Callback(hObject, eventdata, handles)
global JPs 
JPs(9,2) = get(handles.slider8,'Value');
Drawing;

% --- Executes on slider movement.
function slider9_Callback(hObject, eventdata, handles)
global JPs 
JPs(18,2) = get(handles.slider9,'Value');
Drawing;

% --- Executes on slider movement.
function slider10_Callback(hObject, eventdata, handles)
global JPs 
JPs(17,2) = get(handles.slider10,'Value');
Drawing;

% --- Executes on slider movement.
function slider11_Callback(hObject, eventdata, handles)
global JPs
JPs(18,1) = get(handles.slider11,'Value');
Drawing;

% --- Executes on slider movement.
function slider12_Callback(hObject, eventdata, handles)
global JPs
JPs(17,1) = get(handles.slider12,'Value');
Drawing;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -