![]() |
subsrefPURPOSE
Selects components of a PoseData (operator: ()).
SYNOPSIS
function v=subsref(PI,S)
DESCRIPTION
Selects components of a PoseData (operator: ()). Returns one or more of the components of the in the PoseData mean. This is used when building a Tree. In the tree poses are sorted according one of the components of the mean and this function gives access to it in a way homogeneous to how vector elements are accessed. This allow to use build trees both for PoseData and for arrays of doubles (this is useful for debug) CROSS-REFERENCE INFORMATION
This function calls:
SOURCE CODE
0001 function v=subsref(PI,S) 0002 % Selects components of a PoseData (operator: ()). 0003 % 0004 % Returns one or more of the components of the in the 0005 % PoseData mean. This is used when building a Tree. In the tree poses 0006 % are sorted according one of the components 0007 % of the mean and this function gives access to it in a way 0008 % homogeneous to how vector elements are accessed. 0009 % This allow to use build trees both for PoseData and for 0010 % arrays of doubles (this is useful for debug) 0011 0012 if strcmp(S.type,'()') 0013 v=PI.m(S.subs{:}); 0014 end 0015 |