|
a |
|
b/Tools/ModelUtilities/MuscleViews/MuscleViews.any |
|
|
1 |
Main = { |
|
|
2 |
AnyFolder MuscleViews = |
|
|
3 |
{ |
|
|
4 |
AnyFolder DrawGroups = |
|
|
5 |
{ |
|
|
6 |
AnyDrawGroup All = |
|
|
7 |
{ |
|
|
8 |
Objects = ObjSearchRecursive("Main", "*", "AnyDrawObject"); |
|
|
9 |
}; |
|
|
10 |
|
|
|
11 |
AnyDrawGroup BodyWithRightLeg = |
|
|
12 |
{ |
|
|
13 |
Objects = arrcat( |
|
|
14 |
ObjSearchRecursive("Main.HumanModel.BodyModel.Trunk.SegmentsLumbar", "*", "AnyDrawSurf"), |
|
|
15 |
ObjSearchRecursive("Main.HumanModel.BodyModel.Trunk.SegmentsCervicalSpine", "*","AnyDrawSurf"), |
|
|
16 |
ObjSearchRecursive("Main.HumanModel.BodyModel.Trunk.SegmentsThorax", "*","AnyDrawSurf"), |
|
|
17 |
ObjSearchRecursive("Main.HumanModel.BodyModel.Right.Leg.Seg", "*","AnyDrawSurf") |
|
|
18 |
); |
|
|
19 |
}; |
|
|
20 |
|
|
|
21 |
AnyDrawGroup PsoasLineMuscles= |
|
|
22 |
{ |
|
|
23 |
Objects = arrcat( |
|
|
24 |
ObjSearchRecursive("Main.HumanModel.BodyModel.Trunk.MusclesSpineRight.PsoasMajor","*.DrwMus","AnyDrawObject"), |
|
|
25 |
ObjSearchRecursive("Main.HumanModel.BodyModel.Trunk.MusclesSpineLeft.PsoasMajor","*.DrwMus","AnyDrawObject") |
|
|
26 |
); |
|
|
27 |
}; |
|
|
28 |
|
|
|
29 |
AnyDrawGroup AllLineMuscles = |
|
|
30 |
{ |
|
|
31 |
Objects = arrcat( |
|
|
32 |
ObjSearchRecursive("Main.HumanModel.BodyModel.Right.Leg.Mus","*.DrwMus","AnyDrawObject"), |
|
|
33 |
ObjSearchRecursive("Main.HumanModel.BodyModel.Left.Leg.Mus","*.DrwMus","AnyDrawObject") |
|
|
34 |
); |
|
|
35 |
|
|
|
36 |
}; |
|
|
37 |
|
|
|
38 |
AnyDrawGroup AllWrapWidgets = |
|
|
39 |
{ |
|
|
40 |
Objects = arrcat( |
|
|
41 |
ObjSearchRecursive("Main.HumanModel.BodyModel.Right.Leg.Seg", "cyl.*","AnyDrawWidgetBase"), |
|
|
42 |
ObjSearchRecursive("Main.HumanModel.BodyModel.Left.Leg.Seg", "cyl.*","AnyDrawWidgetBase") |
|
|
43 |
); |
|
|
44 |
}; |
|
|
45 |
|
|
|
46 |
}; |
|
|
47 |
|
|
|
48 |
AnyFolder Views = |
|
|
49 |
{ |
|
|
50 |
|
|
|
51 |
|
|
|
52 |
AnyProjectModelViewDefinition HideAllMuscles = { |
|
|
53 |
// Order: Reset, Hide, Show ModelDefined, Show AutoGenerated, Make transparent, Selec |
|
|
54 |
HideAllFirst = On; |
|
|
55 |
DrawGroupSequence = {&..DrawGroups.BodyWithRightLeg}; |
|
|
56 |
Reset = {On}; |
|
|
57 |
Hide = {Off}; |
|
|
58 |
ShowModelDefined = {Off}; |
|
|
59 |
}; |
|
|
60 |
|
|
|
61 |
AnyProjectModelViewDefinition ShowAllMuscles = { |
|
|
62 |
HideAllFirst = On; |
|
|
63 |
DrawGroupSequence = { |
|
|
64 |
&..DrawGroups.BodyWithRightLeg, |
|
|
65 |
&..DrawGroups.AllLineMuscles, |
|
|
66 |
&..DrawGroups.PsoasLineMuscles |
|
|
67 |
}; |
|
|
68 |
Reset = {On}; |
|
|
69 |
Hide = {Off}; |
|
|
70 |
ShowModelDefined = {Off}; |
|
|
71 |
}; |
|
|
72 |
AnyProjectModelViewDefinition HideAllWrapWidgets = { |
|
|
73 |
HideAllFirst = Off; |
|
|
74 |
DrawGroupSequence = { |
|
|
75 |
&..DrawGroups.AllWrapWidgets |
|
|
76 |
}; |
|
|
77 |
Reset = {On}; |
|
|
78 |
Hide = {On}; |
|
|
79 |
}; |
|
|
80 |
|
|
|
81 |
|
|
|
82 |
|
|
|
83 |
|
|
|
84 |
|
|
|
85 |
// Hip adductors |
|
|
86 |
AnyProjectModelViewDefinition AdductorLongus = { |
|
|
87 |
AnyString MuscName = "AdductorLongus"; |
|
|
88 |
|
|
|
89 |
#include "ViewDefinition.any" |
|
|
90 |
}; |
|
|
91 |
|
|
|
92 |
AnyProjectModelViewDefinition AdductorMagnus = { |
|
|
93 |
AnyString MuscName = "AdductorMagnus"; |
|
|
94 |
|
|
|
95 |
#include "ViewDefinition.any" |
|
|
96 |
}; |
|
|
97 |
|
|
|
98 |
AnyProjectModelViewDefinition AdductorBrevis = { |
|
|
99 |
AnyString MuscName = "AdductorBrevis"; |
|
|
100 |
|
|
|
101 |
#include "ViewDefinition.any" |
|
|
102 |
}; |
|
|
103 |
|
|
|
104 |
// Quadriceps |
|
|
105 |
AnyProjectModelViewDefinition RectusFemoris = { |
|
|
106 |
AnyString MuscName = "RectusFemoris"; |
|
|
107 |
|
|
|
108 |
#include "ViewDefinition.any" |
|
|
109 |
}; |
|
|
110 |
|
|
|
111 |
AnyProjectModelViewDefinition VastusMedialis = { |
|
|
112 |
AnyString MuscName = "VastusMedialis"; |
|
|
113 |
|
|
|
114 |
#include "ViewDefinition.any" |
|
|
115 |
}; |
|
|
116 |
|
|
|
117 |
AnyProjectModelViewDefinition VastusLateralis = { |
|
|
118 |
AnyString MuscName = "VastusLateralis"; |
|
|
119 |
|
|
|
120 |
#include "ViewDefinition.any" |
|
|
121 |
}; |
|
|
122 |
|
|
|
123 |
AnyProjectModelViewDefinition VastusIntermedius = { |
|
|
124 |
AnyString MuscName = "VastusIntermedius"; |
|
|
125 |
|
|
|
126 |
#include "ViewDefinition.any" |
|
|
127 |
}; |
|
|
128 |
|
|
|
129 |
// Gluteal muscles |
|
|
130 |
AnyProjectModelViewDefinition GluteusMaximus = { |
|
|
131 |
AnyString MuscName = "GluteusMaximus"; |
|
|
132 |
|
|
|
133 |
#include "ViewDefinition.any" |
|
|
134 |
}; |
|
|
135 |
|
|
|
136 |
AnyProjectModelViewDefinition GluteusMinimus = { |
|
|
137 |
AnyString MuscName = "GluteusMinimus"; |
|
|
138 |
|
|
|
139 |
#include "ViewDefinition.any" |
|
|
140 |
}; |
|
|
141 |
|
|
|
142 |
AnyProjectModelViewDefinition GluteusMedius = { |
|
|
143 |
AnyString MuscName = "GluteusMedius"; |
|
|
144 |
|
|
|
145 |
#include "ViewDefinition.any" |
|
|
146 |
}; |
|
|
147 |
|
|
|
148 |
// Hamstrings |
|
|
149 |
AnyProjectModelViewDefinition BicepsFemoris = { |
|
|
150 |
AnyString MuscName = "BicepsFemoris"; |
|
|
151 |
|
|
|
152 |
#include "ViewDefinition.any" |
|
|
153 |
}; |
|
|
154 |
|
|
|
155 |
AnyProjectModelViewDefinition SemitendAndMemb = { |
|
|
156 |
AnyString MuscName = "Semi"; |
|
|
157 |
|
|
|
158 |
#include "ViewDefinition.any" |
|
|
159 |
}; |
|
|
160 |
|
|
|
161 |
AnyProjectModelViewDefinition Sartorius = { |
|
|
162 |
AnyString MuscName = "Sartorius"; |
|
|
163 |
|
|
|
164 |
#include "ViewDefinition.any" |
|
|
165 |
}; |
|
|
166 |
|
|
|
167 |
AnyProjectModelViewDefinition Gracilis = { |
|
|
168 |
AnyString MuscName = "Gracilis"; |
|
|
169 |
|
|
|
170 |
#include "ViewDefinition.any" |
|
|
171 |
}; |
|
|
172 |
|
|
|
173 |
|
|
|
174 |
// Hip Flexors |
|
|
175 |
AnyProjectModelViewDefinition Iliacus = { |
|
|
176 |
AnyString MuscName = "Iliacus"; |
|
|
177 |
|
|
|
178 |
#include "ViewDefinition.any" |
|
|
179 |
}; |
|
|
180 |
|
|
|
181 |
AnyProjectModelViewDefinition PsoasMajor = { |
|
|
182 |
AnyDrawGroup Line = {Objects = ObjSearchRecursive("Main.HumanModel.BodyModel.Trunk.MusclesSpineRight.PsoasMajor","*.DrwMus","AnyDrawObject"); }; |
|
|
183 |
AnyDrawGroup MRI = {Objects = ObjSearchRecursive("Main.Model.EnvironmentModel.GlobalRef", "PsoasMajor", "AnyDrawObject");}; |
|
|
184 |
AnyDrawGroup MRI_group = {Objects = ObjSearchRecursive("Main.Model.EnvironmentModel.GlobalRef", "PsoasMajor*", "AnyDrawObject"); }; |
|
|
185 |
AnyDrawGroup Kolibri = {Objects = ObjSearchRecursive("Main.HumanModel.BodyModel", "*.*.*.*." + "PsoasMajor" + "Kol", "AnyDrawObject");}; |
|
|
186 |
AnyDrawGroup Kolibri_group = {Objects = ObjSearchRecursive("Main.HumanModel.BodyModel", "*.*.*.*." + "PsoasMajor"+ "*Kol", "AnyDrawObject"); }; |
|
|
187 |
AnyDrawGroup WrappingSurfaces = {Objects = ObjSearchRecursive("Main.HumanModel.BodyModel.Trunk.SegmentsLumbar.PelvisSeg.Right.PsoasWrapSurf.cyl","drw","AnyDrawParamSurf");}; |
|
|
188 |
|
|
|
189 |
HideAllFirst = Off; |
|
|
190 |
DrawGroupSequence = {&Line, &MRI, &Kolibri,&MRI_group,&Kolibri_group, &WrappingSurfaces}; |
|
|
191 |
Reset = {On, On,On, On,On,On}; |
|
|
192 |
Hide = {Off}; //Same behavior as not defining Hide. |
|
|
193 |
ShowModelDefined = {Off, Off,Off,Off,Off,On}; |
|
|
194 |
ShowAutoGenerated = {Off, Off,Off,Off,Off,On}; |
|
|
195 |
}; |
|
|
196 |
|
|
|
197 |
AnyProjectModelViewDefinition Pectineus = { |
|
|
198 |
AnyString MuscName = "Pectineus"; |
|
|
199 |
|
|
|
200 |
#include "ViewDefinition.any" |
|
|
201 |
}; |
|
|
202 |
|
|
|
203 |
// Hip Extensors |
|
|
204 |
AnyProjectModelViewDefinition TensorFasciaeLatae = { |
|
|
205 |
AnyString MuscName = "TensorFasciaeLatae"; |
|
|
206 |
|
|
|
207 |
#include "ViewDefinition.any" |
|
|
208 |
}; |
|
|
209 |
|
|
|
210 |
|
|
|
211 |
// Hip lateral rotators |
|
|
212 |
AnyProjectModelViewDefinition Gemellus = { |
|
|
213 |
AnyString MuscName = "Gemellus"; |
|
|
214 |
|
|
|
215 |
#include "ViewDefinition.any" |
|
|
216 |
}; |
|
|
217 |
|
|
|
218 |
|
|
|
219 |
AnyProjectModelViewDefinition Obturators = { |
|
|
220 |
AnyString MuscName = "Obturator"; |
|
|
221 |
|
|
|
222 |
#include "ViewDefinition.any" |
|
|
223 |
}; |
|
|
224 |
|
|
|
225 |
AnyProjectModelViewDefinition Piriformis = { |
|
|
226 |
AnyString MuscName = "Piriformis"; |
|
|
227 |
|
|
|
228 |
#include "ViewDefinition.any" |
|
|
229 |
}; |
|
|
230 |
|
|
|
231 |
AnyProjectModelViewDefinition QuadratusFemoris = { |
|
|
232 |
AnyString MuscName = "QuadratusFemoris"; |
|
|
233 |
|
|
|
234 |
#include "ViewDefinition.any" |
|
|
235 |
}; |
|
|
236 |
|
|
|
237 |
// Plantar Flexors |
|
|
238 |
AnyProjectModelViewDefinition Gastrocnemius = { |
|
|
239 |
AnyString MuscName = "Gastrocnemius"; |
|
|
240 |
|
|
|
241 |
#include "ViewDefinition.any" |
|
|
242 |
}; |
|
|
243 |
|
|
|
244 |
AnyProjectModelViewDefinition Soleus = { |
|
|
245 |
AnyString MuscName = "Soleus"; |
|
|
246 |
|
|
|
247 |
#include "ViewDefinition.any" |
|
|
248 |
}; |
|
|
249 |
|
|
|
250 |
AnyProjectModelViewDefinition PeroneusBrevis = { |
|
|
251 |
AnyString MuscName = "PeroneusBrevis"; |
|
|
252 |
|
|
|
253 |
#include "ViewDefinition.any" |
|
|
254 |
}; |
|
|
255 |
|
|
|
256 |
AnyProjectModelViewDefinition PeroneusLongus = { |
|
|
257 |
AnyString MuscName = "PeroneusLongus"; |
|
|
258 |
|
|
|
259 |
#include "ViewDefinition.any" |
|
|
260 |
}; |
|
|
261 |
|
|
|
262 |
AnyProjectModelViewDefinition TibialisPosterior = { |
|
|
263 |
AnyString MuscName = "TibialisPosterior"; |
|
|
264 |
|
|
|
265 |
#include "ViewDefinition.any" |
|
|
266 |
}; |
|
|
267 |
|
|
|
268 |
AnyProjectModelViewDefinition Plantaris = { |
|
|
269 |
AnyString MuscName = "Plantaris"; |
|
|
270 |
|
|
|
271 |
#include "ViewDefinition.any" |
|
|
272 |
}; |
|
|
273 |
|
|
|
274 |
AnyProjectModelViewDefinition Popliteus = { |
|
|
275 |
AnyString MuscName = "Popliteus"; |
|
|
276 |
|
|
|
277 |
#include "ViewDefinition.any" |
|
|
278 |
}; |
|
|
279 |
|
|
|
280 |
|
|
|
281 |
|
|
|
282 |
// Foot Extensors |
|
|
283 |
AnyProjectModelViewDefinition ExtensorDigitorumLongus = { |
|
|
284 |
AnyString MuscName = "ExtensorDigitorumLongus"; |
|
|
285 |
|
|
|
286 |
#include "ViewDefinition.any" |
|
|
287 |
}; |
|
|
288 |
|
|
|
289 |
AnyProjectModelViewDefinition ExtensorHallucisLongus = { |
|
|
290 |
AnyString MuscName = "ExtensorHallucisLongus"; |
|
|
291 |
|
|
|
292 |
#include "ViewDefinition.any" |
|
|
293 |
}; |
|
|
294 |
|
|
|
295 |
AnyProjectModelViewDefinition FlexorDigitorumLongus = { |
|
|
296 |
AnyString MuscName = "FlexorDigitorumLongus"; |
|
|
297 |
|
|
|
298 |
#include "ViewDefinition.any" |
|
|
299 |
}; |
|
|
300 |
|
|
|
301 |
AnyProjectModelViewDefinition FlexorHallucisLongus = { |
|
|
302 |
AnyString MuscName = "FlexorHallucisLongus"; |
|
|
303 |
|
|
|
304 |
#include "ViewDefinition.any" |
|
|
305 |
}; |
|
|
306 |
|
|
|
307 |
AnyProjectModelViewDefinition TibialisAnterior = { |
|
|
308 |
AnyString MuscName = "TibialisAnterior"; |
|
|
309 |
|
|
|
310 |
#include "ViewDefinition.any" |
|
|
311 |
}; |
|
|
312 |
|
|
|
313 |
|
|
|
314 |
|
|
|
315 |
|
|
|
316 |
|
|
|
317 |
}; |
|
|
318 |
}; |
|
|
319 |
|
|
|
320 |
}; |
|
|
321 |
|
|
|
322 |
|
|
|
323 |
|