...
Classes that represent trajectories (read from Nexus or created as modeled markers), body segments, and angle outputs have been included to ease modeling of biomechanics based on Nexus data.
Sample functions include :the following.
Code Block | ||
---|---|---|
| ||
% Calculate the angle between two segments. % Can choose euler, fixed or helical angle. % Specify order of output angles for fixed and euler. LKneeAnglesEulerML = AngleBetween( LThigh, LShank, 'euler', 'yxz' ); LKneeAnglesEulerML.Create( vicon ); LKneeAnglesEulerML.Write( vicon ); LKneeAnglesFixedML = AngleBetween( LThigh, LShank, 'fixed' ); LKneeAnglesFixedML.Create( vicon ); LKneeAnglesFixedML.Write( vicon ); LKneeAnglesHelicalML = AngleBetween( LThigh, LShank, 'helical' ); LKneeAnglesHelicalML.Create( vicon ); LKneeAnglesHelicalML.Write( vicon ) |
...