|
a |
|
b/Tools/AnyMocap/BVH_ModelPreprocess.any |
|
|
1 |
AnyKinStudy BVH_StickFigure = |
|
|
2 |
{ |
|
|
3 |
Kinematics.PosAnalysisOnlyOnOff = Off; |
|
|
4 |
|
|
|
5 |
AnyFolder &BVHData= Main.ModelSetup.BVHFileData.Model ; |
|
|
6 |
|
|
|
7 |
Gravity = Main.ModelSetup.LabSpecificData.Gravity; |
|
|
8 |
|
|
|
9 |
AnyVar FirstFrame = Main.ModelSetup.BVHFileData.Header.FirstFrameNo; |
|
|
10 |
AnyVar LastFrame = Main.ModelSetup.BVHFileData.Header.LastFrameNo; |
|
|
11 |
AnyVar FrameTime = Main.ModelSetup.BVHFileData.Header.FrameTime; |
|
|
12 |
|
|
|
13 |
tStart = FirstFrame*FrameTime; |
|
|
14 |
tEnd = LastFrame*FrameTime; |
|
|
15 |
nStep = round(LastFrame-FirstFrame+1); |
|
|
16 |
|
|
|
17 |
Kinematics.OPERATION_DISPLAY_PRIORITY(PriorityLow); |
|
|
18 |
|
|
|
19 |
}; |