Home > functions > gui > bm_editor > bm_process_parm > bm_process_parm_check_parameter.m

bm_process_parm_check_parameter

PURPOSE ^

check parameter and return check result.

SYNOPSIS ^

function [result] = bm_process_parm_check_parameter(obj)

DESCRIPTION ^

 check parameter and return check result.
 [USAGE]
    [result] = bm_process_parm_check_parameter(<obj>);
 [IN]
    obj : bm_process_parm object
 [OUT]
    result : check result

 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 [result] = bm_process_parm_check_parameter(obj)
0002 % check parameter and return check result.
0003 % [USAGE]
0004 %    [result] = bm_process_parm_check_parameter(<obj>);
0005 % [IN]
0006 %    obj : bm_process_parm object
0007 % [OUT]
0008 %    result : check result
0009 %
0010 % Copyright (C) 2011, ATR All Rights Reserved.
0011 % License : New BSD License(see VBMEG_LICENSE.txt)
0012 
0013 %
0014 % --- Previous check
0015 %
0016 if ~exist('obj', 'var'), error('obj is a requird parameter.'); end
0017 
0018 %
0019 % --- Main Procedure
0020 %
0021 result = FAILURE;
0022 switch(obj.class_type)
0023     % surf_data parameters
0024     case 'surf_smooth_parameter'
0025         result = surf_smooth_parm_check_parameter(obj);
0026     case 'surf_smooth_expand_parameter'
0027         result = surf_smooth_expand_parm_check_parameter(obj);
0028     case 'surf_to_filled_mask_parameter'
0029         result = surf_to_filled_mask_parm_check_parameter(obj);
0030     case 'separate_surf_parameter'
0031         result = separate_surf_parm_check_parameter(obj);
0032     case 'combine_surf_parameter'
0033         result = combine_surf_parm_check_parameter(obj);
0034     case 'close_surf_parameter'
0035         result = close_surf_parm_check_parameter(obj);
0036     case 'connected_vertex_parameter'
0037         result = connected_vertex_parm_check_parameter(obj);
0038     % mask_data parameters
0039     case 'morphology_operation_parameter'
0040         result = morphology_operation_parm_check_parameter(obj);
0041     case 'surf_extract_parameter'
0042         result = surf_extract_parm_check_parameter(obj);
0043 end

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