|
a |
|
b/Body/AAUHuman/Trunk/SkullSeg.any |
|
|
1 |
AnySeg SkullSeg = { |
|
|
2 |
|
|
|
3 |
AnyFolder &StdPar=..ModelParameters.Skull; |
|
|
4 |
|
|
|
5 |
AnyFunTransform3D &Scale =..ScalingTrunk.SkullSeg.ScaleFunction; |
|
|
6 |
|
|
|
7 |
r0=..SegmentsCervicalSpine.C1Seg.C1C0JntNode.sRel*..SegmentsCervicalSpine.C1Seg.Axes0'+..SegmentsCervicalSpine.C1Seg.r0; |
|
|
8 |
|
|
|
9 |
AnyVar MassS = ..Scaling.MassScaling.Head.MassScale; |
|
|
10 |
|
|
|
11 |
AnyVar MassStandard = ..StandardParameters.HeadWithoutNeck.Mass; |
|
|
12 |
Mass = MassS*MassStandard; |
|
|
13 |
|
|
|
14 |
Jii = StdPar.Jii; |
|
|
15 |
|
|
|
16 |
/// The AnatomicalFrame of skull is different from the remaining spine model since the |
|
|
17 |
///skull has it's own coordinate system relative to the c1 - c0 joint. |
|
|
18 |
AnyRefNode AnatomicalFrame = {}; |
|
|
19 |
AnyRefNode MoCapMarkerFrameAMMR24 = {}; ///< For backwards Compatibility with AMMR 2.4 MoCap Marker protocols |
|
|
20 |
AnyRefNode& ScalingNode = AnatomicalFrame; |
|
|
21 |
AnyFunTransform3D& GeomScale = Scale; |
|
|
22 |
|
|
|
23 |
sCoM = Scale(StdPar.sCoM_pos); |
|
|
24 |
JaboutCoMOnOff = On; |
|
|
25 |
|
|
|
26 |
AnyRefNode C1C0JntNode = {sRel = .Scale(.StdPar.C1C0JntNode_pos); AnyDrawNodes DrwNode = {Visible ??=..DrwSurf.Visible; ScaleXYZ = {1,1,1}*0.003;RGB = {0, 1, 0};};}; |
|
|
27 |
AnyRefNode NeckNode={sRel=.Scale(.StdPar.NeckNode_pos);}; |
|
|
28 |
|
|
|
29 |
//Lumped Hyoid |
|
|
30 |
AnyRefNode LumpedHyoidT1C0NodeR = {sRel = .Scale(.StdPar.Right.LumpedHyoidT1C0Node_pos);}; |
|
|
31 |
AnyRefNode LumpedHyoidT1C0NodeL = {sRel = .Scale(.StdPar.Left.LumpedHyoidT1C0Node_pos);}; |
|
|
32 |
|
|
|
33 |
//Longus Colli nodes |
|
|
34 |
AnyRefNode LongusColliT1C0NodeR = {sRel = .Scale(.StdPar.Right.LongusColliT1C0Node_pos);}; |
|
|
35 |
AnyRefNode LongusColliT1C0NodeL = {sRel = .Scale(.StdPar.Left.LongusColliT1C0Node_pos);}; |
|
|
36 |
|
|
|
37 |
//Longus cappitis nodes |
|
|
38 |
AnyRefNode LongusCapitisC0NodeR = {sRel = .Scale(.StdPar.Right.LongusCapitisC0Node_pos);}; |
|
|
39 |
AnyRefNode LongusCapitisC0NodeL = {sRel = .Scale(.StdPar.Left.LongusCapitisC0Node_pos);}; |
|
|
40 |
|
|
|
41 |
//Splenius capitis nodes |
|
|
42 |
AnyRefNode SpleniusCapitisNodeR = {sRel = .Scale(.StdPar.Right.SpleniusCapitisNode_pos);}; |
|
|
43 |
AnyRefNode SpleniusCapitisNodeL = {sRel = .Scale(.StdPar.Left.SpleniusCapitisNode_pos);}; |
|
|
44 |
|
|
|
45 |
//Semispinalis capitis nodes |
|
|
46 |
AnyRefNode SemispinalisCapitisNodeR = {sRel = .Scale(.StdPar.Right.SemispinalisCapitisNode_pos);}; |
|
|
47 |
AnyRefNode SemispinalisCapitisNodeL = {sRel = .Scale(.StdPar.Left.SemispinalisCapitisNode_pos);}; |
|
|
48 |
|
|
|
49 |
//Longissimus capitis nodes |
|
|
50 |
AnyRefNode LongissimusCapitisNodeR = {sRel = .Scale(.StdPar.Right.LongissimusCapitisNode_pos);}; |
|
|
51 |
AnyRefNode LongissimusCapitisNodeL = {sRel = .Scale(.StdPar.Left.LongissimusCapitisNode_pos);}; |
|
|
52 |
|
|
|
53 |
AnyDrawSurf DrwSurf = { |
|
|
54 |
FileName = ...STL.FilenameSkull; |
|
|
55 |
RGB = ...ColorRef.Segments; |
|
|
56 |
AnyFunTransform3D &Scale =.Scale; |
|
|
57 |
Opacity = Main.DrawSettings.BonesOpacity.Skull; |
|
|
58 |
}; |
|
|
59 |
|
|
|
60 |
AnyRefNode TopOfHead = {sRel = .Scale(.StdPar.TopOfHead_pos);}; |
|
|
61 |
|
|
|
62 |
AnyRefNode Right ={}; |
|
|
63 |
AnyRefNode Left ={}; |
|
|
64 |
|
|
|
65 |
}; |
|
|
66 |
|
|
|
67 |
|
|
|
68 |
|