00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 static const int N = 51;
00012
00013
00014
00015
00019 class suGCDSideData
00020 {
00021
00022
00023
00024 public:
00025 double _cadence;
00026 double _strideTime;
00027 double _oppositeFootOff;
00028 double _oppositeFootContact;
00029 double _stepTime;
00030 double _singleSupport;
00031 double _doubleSupport;
00032 double _footOff;
00033 double _strideLength;
00034 double _stepLength;
00035 double _speed;
00036 double _pelvicOrigin[3][N];
00037 double _pelvicTilt[N];
00038 double _pelvicObliquity[N];
00039 double _pelvicRotation[N];
00040 double _hipFlexExt[N];
00041 double _hipAbAdduct[N];
00042 double _hipRotation[N];
00043 double _kneeFlexExt[N];
00044 double _kneeValgVar[N];
00045 double _kneeRotation[N];
00046 double _dorsiPlanFlex[N];
00047 double _footRotation[N];
00048 double _footProgression[N];
00049 double _hipFlexExtMoment[N];
00050 double _hipAbAdductMoment[N];
00051 double _hipRotationMoment[N];
00052 double _kneeFlexExtMoment[N];
00053 double _kneeValgVarMoment[N];
00054 double _kneeRotationMoment[N];
00055 double _dorsiPlanFlexMoment[N];
00056 double _footAbAdductMoment[N];
00057 double _footRotationMoment[N];
00058 double _hipPower[N];
00059 double _hipFlexExtPower[N];
00060 double _hipAbAdductPower[N];
00061 double _hipRotationPower[N];
00062 double _kneePower[N];
00063 double _kneeFlexExtPower[N];
00064 double _kneeValgVarPower[N];
00065 double _kneeRotationPower[N];
00066 double _anklePower[N];
00067 double _dorsiPlanFlexPower[N];
00068 double _ankleAbAdductPower[N];
00069 double _ankleRotationPower[N];
00070 double _groundReaction[6][N];
00071 double _forcePlateCorners[4][3];
00072
00073
00074
00075
00076
00077 suGCDSideData();
00078 ~suGCDSideData();
00079
00080
00081 void copy(const suGCDSideData *aOrig);
00082
00083
00084 void transformTime(suGCDSideData *aOrig,double aShift);
00085 void transformTimeArray(double aShift,double *dataIn,double *dataOut);
00086 double getValue(double aPercent,double *data);
00087 double shift(double aPercent,double aShift);
00088 int computeIndex(double aPercent);
00089
00090
00091 };
00092
00093