Home > functions > job > job_edit_area_dir > job_edit_area_reverse.m

job_edit_area_reverse

PURPOSE ^

SYNOPSIS ^

function job_edit_area_reverse(inst_id)

DESCRIPTION ^

 Dilation


 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 job_edit_area_reverse(inst_id)
0002 %
0003 % Dilation
0004 %
0005 %
0006 % Copyright (C) 2011, ATR All Rights Reserved.
0007 % License : New BSD License(see VBMEG_LICENSE.txt)
0008 
0009 global vbmeg_inst; 
0010 
0011 % Stack
0012 job_edit_area_stack(inst_id);
0013 
0014 % Global variables
0015 Iextract = vbmeg_inst.editarea{inst_id}.Iextract;
0016 ed3 = vbmeg_inst.editarea{inst_id}.ed3;
0017 I = size(vbmeg_inst.editarea{inst_id}.V,1);
0018 
0019 % Reverse
0020 Iextract{1} = setxor(Iextract{1},1:I);
0021 vbmeg_inst.editarea{inst_id}.Iextract = Iextract;
0022 
0023 % Update screen and vertex number
0024 job_edit_area_update_spatialpattern(inst_id);
0025 set(ed3,'String',num2str(length(Iextract{1})));
0026

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