Changeset 156 for trunk/src/proj_field.m


Ignore:
Timestamp:
Dec 19, 2010, 10:11:04 PM (13 years ago)
Author:
sommeria
Message:

many bug repairs and corrections for mouse action
create_grid: option for black marjkers for grid detection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/proj_field.m

    r150 r156  
    11%'proj_field': projects the field on a projection object
    22%--------------------------------------------------------------------------
    3 %  function [ProjData,errormsg]=proj_field(FieldData,ObjectData,IndexObj)
     3%  function [ProjData,errormsg]=proj_field(FieldData,ObjectData)
    44%
    55% OUTPUT:
     
    8080%AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
    8181
    82 function [ProjData,errormsg]=proj_field(FieldData,ObjectData,IndexObj)
     82function [ProjData,errormsg]=proj_field(FieldData,ObjectData)
    8383errormsg=[];%default
    8484if isfield(ObjectData,'ProjMode') && (isequal(ObjectData.ProjMode,'none')||isequal(ObjectData.ProjMode,'mask_inside')||isequal(ObjectData.ProjMode,'mask_outside'))
     
    138138        [ProjData,errormsg] = proj_volume(FieldData,ObjectData);
    139139end
    140 if exist('IndexObj','var')
    141     ProjData.IndexObj=IndexObj;%transfer object index
    142 end
     140% if exist('IndexObj','var')
     141%     ProjData.IndexObj=IndexObj;%transfer object index
     142% end
    143143
    144144%-----------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.