Home > functions > gui > bm_editor > bm_process_parm > surf_smooth_parm > surf_smooth_parm_new.m

surf_smooth_parm_new

PURPOSE ^

create surf_smooth_parameter object

SYNOPSIS ^

function [obj] = surf_smooth_parm_new()

DESCRIPTION ^

 create surf_smooth_parameter object
 [USAGE]
    [obj] = surf_smooth_parm_new;
 [IN]
    none
 [OUT]
    obj : surf_smooth_parameter object

 Copyright (C) 2011, ATR All Rights Reserved.
 License : New BSD License(see VBMEG_LICENSE.txt)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [obj] = surf_smooth_parm_new()
0002 % create surf_smooth_parameter object
0003 % [USAGE]
0004 %    [obj] = surf_smooth_parm_new;
0005 % [IN]
0006 %    none
0007 % [OUT]
0008 %    obj : surf_smooth_parameter object
0009 %
0010 % Copyright (C) 2011, ATR All Rights Reserved.
0011 % License : New BSD License(see VBMEG_LICENSE.txt)
0012 
0013 %
0014 % --- Inheritance
0015 %
0016 obj = bm_process_parm_new;
0017 
0018 % set class type
0019 obj.class_type = 'surf_smooth_parameter';
0020 
0021 %
0022 % --- Member initalze
0023 %
0024 parm.Nloop = 50;
0025 parm.tangent_rate = 0.3;
0026 
0027 obj.parm = parm;
0028 
0029 %
0030 % --- After check
0031 %
0032 if nargout ~= 1
0033     error('function caller should receive obj.');
0034 end

Generated on Tue 27-Aug-2013 11:46:04 by m2html © 2005