Home > vbmeg > functions > gui > bm_editor > define_bm_edit_app.m

define_bm_edit_app

PURPOSE ^

constant definition file for bm_edit_app.

SYNOPSIS ^

function [const] = define_bm_edit_app()

DESCRIPTION ^

 constant definition file for bm_edit_app.
 [USAGE]
    [const] = define_bm_edit_app;
 [IN]
    none
 [OUT]
    const : constant value set

 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 [const] = define_bm_edit_app()
0002 % constant definition file for bm_edit_app.
0003 % [USAGE]
0004 %    [const] = define_bm_edit_app;
0005 % [IN]
0006 %    none
0007 % [OUT]
0008 %    const : constant value set
0009 %
0010 % Copyright (C) 2011, ATR All Rights Reserved.
0011 % License : New BSD License(see VBMEG_LICENSE.txt)
0012 
0013 const = struct;
0014 
0015 %
0016 % --- Import file type
0017 %
0018 const.file_type = struct;
0019 % Head file
0020 const.file_type.HEAD_FILE  = 100;
0021 % Brain file
0022 const.file_type.BRAIN_FILE = 110;
0023 % Curry file
0024 const.file_type.CURRY_FILE = 120;
0025 % Face file
0026 const.file_type.FACE_FILE  = 130;
0027 % MASK file
0028 const.file_type.MASK_FILE  = 140;
0029 % SPM NORM File
0030 const.file_type.SPM_NORM_FILE = 150;
0031 
0032 
0033 % brain_data type
0034 const.brain_data_type.SURF_DATA       = 200;
0035 const.brain_data_type.MASK_IMAGE_DATA = 201;
0036 
0037 % surf_data status
0038 const.surf_status.SURFACE_CLOSED     = 300;
0039 const.surf_status.SURFACE_NOT_CLOSED = 301;
0040 
0041 % Parameter type
0042 const.parm_type = struct;
0043 const.parm_type.SURF_SMOOTH_PARM          = 1;
0044 const.parm_type.SURF_SMOOTH_EXPAND_PARM   = 2;
0045 const.parm_type.SURF_TO_FILLED_MASK_PARM  = 3;
0046 const.parm_type.SEPARATE_SURF_PARM        = 4;
0047 const.parm_type.COMBINE_SURF_PARM         = 5;
0048 const.parm_type.CLOSE_SURF_PARM           = 6;
0049 const.parm_type.MORPHOLOGY_OPERATION_PARM = 7;
0050 const.parm_type.SURF_EXTRACT_PARM         = 8;
0051 
0052 % conductivity default
0053 const.DEFAULT_CONDUCTIVITY = 0;
0054 
0055 %
0056 % --- STRING resources
0057 %
0058 const.str.BRAIN_FILE_IMPORT_LEFT_BRAIN  = 'Left brain';
0059 const.str.BRAIN_FILE_IMPORT_RIGHT_BRAIN = 'Right brain';
0060 const.str.BRAIN_FILE_IMPORT_WHOLE_BRAIN = 'Whole brain';
0061 const.str.SPM_NORM_FILE_IMPORT_BRAIN    = 'Brain';
0062 const.str.SPM_NORM_FILE_IMPORT_CORTEX   = 'Cortex';
0063 const.str.MASK_FILE_IMPORT_BRAIN    = 'Brain';
0064 const.str.MASK_FILE_IMPORT_CORTEX   = 'Cortex';

Generated on Mon 22-May-2023 06:53:56 by m2html © 2005