Home > functions > tool_box > mri_toolbox > mri_point_select_dir > display_element > vb_display_element_get_coord_type.m

vb_display_element_get_coord_type

PURPOSE ^

return coordinate space type of display_element belongs to.

SYNOPSIS ^

function [coord_type] = vb_display_element_get_coord_type(obj)

DESCRIPTION ^

 return coordinate space type of display_element belongs to.
 [USAGE]
    [coord_type] = vb_display_element_get_coord_type(<obj>);
 [IN]
    obj : display_element object
 [OUT]
    coord_type : coordinate space type of dislpay element belongs to.

 Author: rhayashi
 Created: 2007-07-17

 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 [coord_type] = vb_display_element_get_coord_type(obj)
0002 % return coordinate space type of display_element belongs to.
0003 % [USAGE]
0004 %    [coord_type] = vb_display_element_get_coord_type(<obj>);
0005 % [IN]
0006 %    obj : display_element object
0007 % [OUT]
0008 %    coord_type : coordinate space type of dislpay element belongs to.
0009 %
0010 % Author: rhayashi
0011 % Created: 2007-07-17
0012 %
0013 % Copyright (C) 2011, ATR All Rights Reserved.
0014 % License : New BSD License(see VBMEG_LICENSE.txt)
0015 
0016 %
0017 % --- Previous check
0018 %
0019 if ~exist('obj', 'var'), error('obj is a required parameter.'); end
0020 
0021 %
0022 % --- Main Procedure
0023 %
0024 coord_type = obj.coord_type;

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