0001 function [obj] = bm_edit_app_view3d_make_figure(obj, view_setting3d)
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 if ~exist('obj', 'var'), error('obj is a required parameter.'); end
0018 if ~exist('view_setting3d', 'var')
0019 error('view_setting3d is a required parameter.');
0020 end
0021
0022
0023
0024
0025 obj.h = openfig('bm_edit_app_view3d.fig');
0026
0027 H = guihandles(obj.h);
0028
0029
0030 set(obj.h, 'CurrentAxes', H.model_axes);
0031 axis off;
0032 set(obj.h, 'CurrentAxes', H.selected_axes);
0033 axis off;
0034
0035
0036 contents = [1:-0.1:0];
0037 for k=1:length(contents)
0038 contents_str{k} = num2str(contents(k));
0039 end
0040 set(H.tranceparent_popup, 'String', contents_str);
0041
0042
0043
0044
0045 if nargout ~= 1
0046 error('function caller should receive obj.');
0047 end