function [stat,post] = blkitarot(path,prop,bstr,bint,bflt,parent,name)
%BLKITAROT This block defines a three axis transformation on an input vector through
%     the inverse of an Euler angle rotation described by an axis rotation sequence.
%
% See also BLKDTAROT.

% Initial coding by A S Bozin, 7-16-97
% Copyright 1997-2000 The MathWorks, Inc.
% $Revision: 1.5 $ $Date: 2000/06/14 16:09:33 $

   stat = 0;			   		   % Error flag
   nInputs = bint(5);
   nOutputs = bint(6);
   %
   % Build mux and demux if necessary
   %
   channels = [nOutputs nOutputs];
   [post,rect] = blkio('port',channels,nOutputs,prop,path);
   %
   % Get the axis sequence
   %
   indInt = bint(18);
   indInt = bint(indInt+1)+indInt;		   % Skip icon data
   sRange = 1:3;
   str = mat2char(bint(indInt+sRange));
   %
   % Inverse axis rotation block
   %
   bh = add_block('libsb2sl/TRN/IAxisRotation',path,...
		  'ForegroundColor',prop.fgColor,...
		  'BackgroundColor',prop.bgColor,...
		  'Orientation',prop.orientation,...
		  'DropShadow',prop.border,...
		  'Position',rect,...
		  'SEQ',str);
   %
   % Connect the current block with the mux and demux blocks (if any)
   %
   blkio('line',channels,nOutputs,post,parent,name);
   return					   % Last card of BLKITAROT

