]> SALOME platform Git repositories - modules/superv.git/blob - examples/testvisu20_multi.xml
Salome HOME
DCQ : Merge with Ecole_Ete_a6.
[modules/superv.git] / examples / testvisu20_multi.xml
1 <!DOCTYPE Dataflow>
2 <dataflow>
3 <info-list>
4 <node>
5 <component-name>?</component-name>
6    <interface-name>?</interface-name>
7    <node-name>aNewDataFlow</node-name>
8    <kind>1</kind>
9    <coupled-node>?</coupled-node>
10    <service>
11 <service-name>aNewDataFlow</service-name>
12     <inParameter-list>
13 <inParameter>
14 <inParameter-type>long</inParameter-type>
15       <inParameter-name>Init\index</inParameter-name>     </inParameter>
16      <inParameter>
17 <inParameter-type>long</inParameter-type>
18       <inParameter-name>Init\min</inParameter-name>     </inParameter>
19      <inParameter>
20 <inParameter-type>long</inParameter-type>
21       <inParameter-name>Init\max</inParameter-name>     </inParameter>
22      <inParameter>
23 <inParameter-type>double</inParameter-type>
24       <inParameter-name>Init\x1</inParameter-name>     </inParameter>
25      <inParameter>
26 <inParameter-type>int</inParameter-type>
27       <inParameter-name>LoopOnViews\ViewCount</inParameter-name>     </inParameter>
28      <inParameter>
29 <inParameter-type>int</inParameter-type>
30       <inParameter-name>LoopOnViews\MinCount</inParameter-name>     </inParameter>
31      <inParameter>
32 <inParameter-type>int</inParameter-type>
33       <inParameter-name>LoopOnViews\MaxCount</inParameter-name>     </inParameter>    </inParameter-list>
34     <outParameter-list>
35 <outParameter>
36 <outParameter-type>long</outParameter-type>
37       <outParameter-name>EndOfInit\index</outParameter-name>     </outParameter>
38      <outParameter>
39 <outParameter-type>long</outParameter-type>
40       <outParameter-name>EndOfInit\min</outParameter-name>     </outParameter>
41      <outParameter>
42 <outParameter-type>long</outParameter-type>
43       <outParameter-name>EndOfInit\max</outParameter-name>     </outParameter>
44      <outParameter>
45 <outParameter-type>objref</outParameter-type>
46       <outParameter-name>EndOfInit\aVisu</outParameter-name>     </outParameter>
47      <outParameter>
48 <outParameter-type>objref</outParameter-type>
49       <outParameter-name>EndOfInit\aView</outParameter-name>     </outParameter>
50      <outParameter>
51 <outParameter-type>double</outParameter-type>
52       <outParameter-name>EndOfInit\x1</outParameter-name>     </outParameter>
53      <outParameter>
54 <outParameter-type>objref</outParameter-type>
55       <outParameter-name>EndOfLoopOnViews\aVisu</outParameter-name>     </outParameter>
56      <outParameter>
57 <outParameter-type>objref</outParameter-type>
58       <outParameter-name>EndOfLoopOnViews\aResult</outParameter-name>     </outParameter>
59      <outParameter>
60 <outParameter-type>int</outParameter-type>
61       <outParameter-name>EndOfLoopOnViews\ViewCount</outParameter-name>     </outParameter>
62      <outParameter>
63 <outParameter-type>int</outParameter-type>
64       <outParameter-name>EndOfLoopOnViews\MinCount</outParameter-name>     </outParameter>
65      <outParameter>
66 <outParameter-type>int</outParameter-type>
67       <outParameter-name>EndOfLoopOnViews\MaxCount</outParameter-name>     </outParameter>    </outParameter-list>   </service>
68    <Parameter-list/>
69    <PyFunction-list/>
70    <creation-date>13/11/2003 - 11:15:53</creation-date>
71    <lastmodification-date>6/5/2004 - 12:59:28</lastmodification-date>
72    <editor-release>1.05</editor-release>
73    <author>?</author>
74    <container>?</container>
75    <comment>?</comment>
76    <x-position>0</x-position>
77    <y-position>0</y-position>  </node> </info-list>
78  <node-list>
79 <node>
80 <component-name>?</component-name>
81    <interface-name>?</interface-name>
82    <node-name>InitDisplay</node-name>
83    <kind>3</kind>
84    <coupled-node>?</coupled-node>
85    <service>
86 <service-name>InitDisplay</service-name>
87     <inParameter-list/>
88     <outParameter-list>
89 <outParameter>
90 <outParameter-type>objref</outParameter-type>
91       <outParameter-name>aVisu</outParameter-name>     </outParameter>
92      <outParameter>
93 <outParameter-type>objref</outParameter-type>
94       <outParameter-name>myResult</outParameter-name>     </outParameter>    </outParameter-list>   </service>
95    <Parameter-list/>
96    <PyFunction-list>
97 <PyFunction>
98 <FuncName>InitDisplay</FuncName>
99      <PyFunc><![CDATA[import os          ]]></PyFunc>
100      <PyFunc><![CDATA[import time          ]]></PyFunc>
101      <PyFunc><![CDATA[from LifeCycleCORBA import *       ]]></PyFunc>
102      <PyFunc><![CDATA[from SALOME_NamingServicePy import *       ]]></PyFunc>
103      <PyFunc><![CDATA[import SALOMEDS       ]]></PyFunc>
104      <PyFunc><![CDATA[from VISU import *       ]]></PyFunc>
105      <PyFunc><![CDATA[def InitDisplay():          ]]></PyFunc>
106      <PyFunc><![CDATA[    #  --- initialize the ORB         ]]></PyFunc>
107      <PyFunc><![CDATA[    orb = CORBA.ORB_init([], CORBA.ORB_ID)       ]]></PyFunc>
108      <PyFunc><![CDATA[    # --- create a LifeCycleCORBA instance            ]]></PyFunc>
109      <PyFunc><![CDATA[    lcc = LifeCycleCORBA(orb)                      ]]></PyFunc>
110      <PyFunc><![CDATA[    # --- create a naming service instance               ]]></PyFunc>
111      <PyFunc><![CDATA[    naming_service = SALOME_NamingServicePy_i(orb)     ]]></PyFunc>
112      <PyFunc><![CDATA[    # --- get Study Manager reference                      ]]></PyFunc>
113      <PyFunc><![CDATA[    obj = naming_service.Resolve('myStudyManager')     ]]></PyFunc>
114      <PyFunc><![CDATA[    StudyManager = obj._narrow(SALOMEDS.StudyManager)     ]]></PyFunc>
115      <PyFunc><![CDATA[    # --- load visu component                           ]]></PyFunc>
116      <PyFunc><![CDATA[    aVisu = lcc.FindOrLoadComponent("FactoryServer","VISU")        ]]></PyFunc>
117      <PyFunc><![CDATA[    aStudy = StudyManager.GetStudyByID(1)       ]]></PyFunc>
118      <PyFunc><![CDATA[    aVisu.SetCurrentStudy(aStudy)       ]]></PyFunc>
119      <PyFunc><![CDATA[    print "InitDisplay --> aVisu ", aVisu          ]]></PyFunc>
120      <PyFunc><![CDATA[    time.sleep(2)          ]]></PyFunc>
121      <PyFunc><![CDATA[    #aViewManager=aVisu.GetViewManager()          ]]></PyFunc>
122      <PyFunc><![CDATA[    #print "InitDisplay --> aViewManager ", aViewManager          ]]></PyFunc>
123      <PyFunc><![CDATA[    #time.sleep(2)          ]]></PyFunc>
124      <PyFunc><![CDATA[    #aView=aViewManager.GetCurrentView()          ]]></PyFunc>
125      <PyFunc><![CDATA[    #aView=aViewManager.Create3DView()          ]]></PyFunc>
126      <PyFunc><![CDATA[    #print "InitDisplay --> aView ", aView          ]]></PyFunc>
127      <PyFunc><![CDATA[    #time.sleep(2)          ]]></PyFunc>
128      <PyFunc><![CDATA[    medFile = "TimeStamps.med"        ]]></PyFunc>
129      <PyFunc><![CDATA[    medFile = os.getenv('KERNEL_ROOT_DIR') + '/examples/' + medFile        ]]></PyFunc>
130      <PyFunc><![CDATA[    myResult = aVisu.ImportFile(medFile)        ]]></PyFunc>
131      <PyFunc><![CDATA[    print "InitDisplay --> myResult ", myResult          ]]></PyFunc>
132      <PyFunc><![CDATA[    return aVisu,myResult        ]]></PyFunc>
133      <PyFunc><![CDATA[?]]></PyFunc>    </PyFunction>   </PyFunction-list>
134    <creation-date>6/5/2004 - 12:59:28</creation-date>
135    <lastmodification-date>6/5/2004 - 12:59:28</lastmodification-date>
136    <editor-release>1.05</editor-release>
137    <author>?</author>
138    <container>?</container>
139    <comment>Compute Node</comment>
140    <x-position>13</x-position>
141    <y-position>173</y-position>  </node>
142   <node>
143 <component-name>?</component-name>
144    <interface-name>?</interface-name>
145    <node-name>Init</node-name>
146    <kind>4</kind>
147    <coupled-node>EndOfInit</coupled-node>
148    <service>
149 <service-name>Init</service-name>
150     <inParameter-list>
151 <inParameter>
152 <inParameter-type>long</inParameter-type>
153       <inParameter-name>index</inParameter-name>     </inParameter>
154      <inParameter>
155 <inParameter-type>long</inParameter-type>
156       <inParameter-name>min</inParameter-name>     </inParameter>
157      <inParameter>
158 <inParameter-type>long</inParameter-type>
159       <inParameter-name>max</inParameter-name>     </inParameter>
160      <inParameter>
161 <inParameter-type>objref</inParameter-type>
162       <inParameter-name>aVisu</inParameter-name>     </inParameter>
163      <inParameter>
164 <inParameter-type>objref</inParameter-type>
165       <inParameter-name>aView</inParameter-name>     </inParameter>
166      <inParameter>
167 <inParameter-type>objref</inParameter-type>
168       <inParameter-name>aResult</inParameter-name>     </inParameter>
169      <inParameter>
170 <inParameter-type>double</inParameter-type>
171       <inParameter-name>x1</inParameter-name>     </inParameter>    </inParameter-list>
172     <outParameter-list>
173 <outParameter>
174 <outParameter-type>long</outParameter-type>
175       <outParameter-name>index</outParameter-name>     </outParameter>
176      <outParameter>
177 <outParameter-type>long</outParameter-type>
178       <outParameter-name>min</outParameter-name>     </outParameter>
179      <outParameter>
180 <outParameter-type>long</outParameter-type>
181       <outParameter-name>max</outParameter-name>     </outParameter>
182      <outParameter>
183 <outParameter-type>objref</outParameter-type>
184       <outParameter-name>aVisu</outParameter-name>     </outParameter>
185      <outParameter>
186 <outParameter-type>objref</outParameter-type>
187       <outParameter-name>aView</outParameter-name>     </outParameter>
188      <outParameter>
189 <outParameter-type>objref</outParameter-type>
190       <outParameter-name>aResult</outParameter-name>     </outParameter>
191      <outParameter>
192 <outParameter-type>double</outParameter-type>
193       <outParameter-name>x1</outParameter-name>     </outParameter>    </outParameter-list>   </service>
194    <Parameter-list/>
195    <PyFunction-list>
196 <PyFunction>
197 <FuncName>Init</FuncName>
198      <PyFunc><![CDATA[def Init(index,min,max,aVisu,aView,myResult,x1):   ]]></PyFunc>
199      <PyFunc><![CDATA[    if max >= min :   ]]></PyFunc>
200      <PyFunc><![CDATA[        index = min      ]]></PyFunc>
201      <PyFunc><![CDATA[    else :     ]]></PyFunc>
202      <PyFunc><![CDATA[        index = max  ]]></PyFunc>
203      <PyFunc><![CDATA[    print "---- Init ",index,min,max,aVisu,aView,myResult,x1 ]]></PyFunc>
204      <PyFunc><![CDATA[    return index,min,max,aVisu,aView,myResult,x1  ]]></PyFunc>    </PyFunction>
205     <PyFunction>
206 <FuncName>More</FuncName>
207      <PyFunc><![CDATA[def More(index,min,max,aVisu,aView,myResult,x1):   ]]></PyFunc>
208      <PyFunc><![CDATA[    if max >= index :       ]]></PyFunc>
209      <PyFunc><![CDATA[        DoLoop = 1       ]]></PyFunc>
210      <PyFunc><![CDATA[    else :       ]]></PyFunc>
211      <PyFunc><![CDATA[        DoLoop = 0       ]]></PyFunc>
212      <PyFunc><![CDATA[    print "---- More",index,min,max,aVisu,aView,myResult,x1 ]]></PyFunc>
213      <PyFunc><![CDATA[    return DoLoop,index,min,max,aVisu,aView,myResult,x1   ]]></PyFunc>    </PyFunction>
214     <PyFunction>
215 <FuncName>Next</FuncName>
216      <PyFunc><![CDATA[def Next(index,min,max,aVisu,aView,myResult,x1):   ]]></PyFunc>
217      <PyFunc><![CDATA[    index = index + 1 ]]></PyFunc>
218      <PyFunc><![CDATA[    x1=x1+1.0 ]]></PyFunc>
219      <PyFunc><![CDATA[    print "---- Next",index,min,max,aVisu,aView,myResult,x1   ]]></PyFunc>
220      <PyFunc><![CDATA[    return index,min,max,aVisu,aView,myResult,x1   ]]></PyFunc>    </PyFunction>   </PyFunction-list>
221    <creation-date>6/5/2004 - 12:59:28</creation-date>
222    <lastmodification-date>6/5/2004 - 12:59:28</lastmodification-date>
223    <editor-release>1.05</editor-release>
224    <author>?</author>
225    <container>?</container>
226    <comment>?</comment>
227    <x-position>428</x-position>
228    <y-position>493</y-position>  </node>
229   <node>
230 <component-name>?</component-name>
231    <interface-name>?</interface-name>
232    <node-name>EndOfInit</node-name>
233    <kind>5</kind>
234    <coupled-node>Init</coupled-node>
235    <service>
236 <service-name>EndOfInit</service-name>
237     <inParameter-list>
238 <inParameter>
239 <inParameter-type>long</inParameter-type>
240       <inParameter-name>index</inParameter-name>     </inParameter>
241      <inParameter>
242 <inParameter-type>long</inParameter-type>
243       <inParameter-name>min</inParameter-name>     </inParameter>
244      <inParameter>
245 <inParameter-type>long</inParameter-type>
246       <inParameter-name>max</inParameter-name>     </inParameter>
247      <inParameter>
248 <inParameter-type>objref</inParameter-type>
249       <inParameter-name>aVisu</inParameter-name>     </inParameter>
250      <inParameter>
251 <inParameter-type>objref</inParameter-type>
252       <inParameter-name>aView</inParameter-name>     </inParameter>
253      <inParameter>
254 <inParameter-type>objref</inParameter-type>
255       <inParameter-name>aResult</inParameter-name>     </inParameter>
256      <inParameter>
257 <inParameter-type>double</inParameter-type>
258       <inParameter-name>x1</inParameter-name>     </inParameter>    </inParameter-list>
259     <outParameter-list>
260 <outParameter>
261 <outParameter-type>long</outParameter-type>
262       <outParameter-name>index</outParameter-name>     </outParameter>
263      <outParameter>
264 <outParameter-type>long</outParameter-type>
265       <outParameter-name>min</outParameter-name>     </outParameter>
266      <outParameter>
267 <outParameter-type>long</outParameter-type>
268       <outParameter-name>max</outParameter-name>     </outParameter>
269      <outParameter>
270 <outParameter-type>objref</outParameter-type>
271       <outParameter-name>aVisu</outParameter-name>     </outParameter>
272      <outParameter>
273 <outParameter-type>objref</outParameter-type>
274       <outParameter-name>aView</outParameter-name>     </outParameter>
275      <outParameter>
276 <outParameter-type>objref</outParameter-type>
277       <outParameter-name>aResult</outParameter-name>     </outParameter>
278      <outParameter>
279 <outParameter-type>double</outParameter-type>
280       <outParameter-name>x1</outParameter-name>     </outParameter>    </outParameter-list>   </service>
281    <Parameter-list/>
282    <PyFunction-list>
283 <PyFunction>
284 <FuncName>?</FuncName>
285      <PyFunc><![CDATA[?]]></PyFunc>    </PyFunction>   </PyFunction-list>
286    <creation-date>6/5/2004 - 12:59:28</creation-date>
287    <lastmodification-date>6/5/2004 - 12:59:28</lastmodification-date>
288    <editor-release>1.05</editor-release>
289    <author>?</author>
290    <container>?</container>
291    <comment>?</comment>
292    <x-position>797</x-position>
293    <y-position>507</y-position>  </node>
294   <node>
295 <component-name>?</component-name>
296    <interface-name>?</interface-name>
297    <node-name>DisplayVitesse</node-name>
298    <kind>3</kind>
299    <coupled-node>?</coupled-node>
300    <service>
301 <service-name>DisplayVitesse</service-name>
302     <inParameter-list>
303 <inParameter>
304 <inParameter-type>string</inParameter-type>
305       <inParameter-name>index</inParameter-name>     </inParameter>
306      <inParameter>
307 <inParameter-type>objref</inParameter-type>
308       <inParameter-name>aVisu</inParameter-name>     </inParameter>
309      <inParameter>
310 <inParameter-type>objref</inParameter-type>
311       <inParameter-name>aView</inParameter-name>     </inParameter>
312      <inParameter>
313 <inParameter-type>objref</inParameter-type>
314       <inParameter-name>aResult</inParameter-name>     </inParameter>
315      <inParameter>
316 <inParameter-type>double</inParameter-type>
317       <inParameter-name>x1</inParameter-name>     </inParameter>    </inParameter-list>
318     <outParameter-list>
319 <outParameter>
320 <outParameter-type>objref</outParameter-type>
321       <outParameter-name>theResult</outParameter-name>     </outParameter>    </outParameter-list>   </service>
322    <Parameter-list/>
323    <PyFunction-list>
324 <PyFunction>
325 <FuncName>DisplayVitesse</FuncName>
326      <PyFunc><![CDATA[import VISU                               ]]></PyFunc>
327      <PyFunc><![CDATA[import os                               ]]></PyFunc>
328      <PyFunc><![CDATA[import time                               ]]></PyFunc>
329      <PyFunc><![CDATA[def DisplayVitesse(index,aVisu,aView,aResult,x1):                          ]]></PyFunc>
330      <PyFunc><![CDATA[    print "----- Display 1 index = ", index,aVisu,aView,aResult,x1                    ]]></PyFunc>
331      <PyFunc><![CDATA[    aMeshName ="dom"                               ]]></PyFunc>
332      <PyFunc><![CDATA[    myFieldName = "vitesse"                     ]]></PyFunc>
333      <PyFunc><![CDATA[    anEntity = VISU.NODE                               ]]></PyFunc>
334      <PyFunc><![CDATA[    aMesh = aVisu.MeshOnEntity(aResult, aMeshName, anEntity)     ]]></PyFunc>
335      <PyFunc><![CDATA[    print "----- Display 2 ", aMesh                 ]]></PyFunc>
336      <PyFunc><![CDATA[    aScalarMap=aVisu.ScalarMapOnField(aResult,aMeshName,anEntity,myFieldName,x1)  ]]></PyFunc>
337      <PyFunc><![CDATA[    print "----- Display 4"                         ]]></PyFunc>
338      <PyFunc><![CDATA[    if aScalarMap is not None:                               ]]></PyFunc>
339      <PyFunc><![CDATA[        aScalarMap.SetScaling(VISU.LINEAR)                               ]]></PyFunc>
340      <PyFunc><![CDATA[    else:                               ]]></PyFunc>
341      <PyFunc><![CDATA[        print "Null scalar map is created"                               ]]></PyFunc>
342      <PyFunc><![CDATA[    print "----- Display 5"           ]]></PyFunc>
343      <PyFunc><![CDATA[    aView.DisplayOnly(aScalarMap)                               ]]></PyFunc>
344      <PyFunc><![CDATA[    aView.FitAll()                               ]]></PyFunc>
345      <PyFunc><![CDATA[    aView.Update()                              ]]></PyFunc>
346      <PyFunc><![CDATA[    print "----- Display 6"                         ]]></PyFunc>
347      <PyFunc><![CDATA[    theResult=aResult                           ]]></PyFunc>
348      <PyFunc><![CDATA[    #time.sleep(2)                   ]]></PyFunc>
349      <PyFunc><![CDATA[    return theResult                    ]]></PyFunc>
350      <PyFunc><![CDATA[?]]></PyFunc>    </PyFunction>   </PyFunction-list>
351    <creation-date>6/5/2004 - 12:59:28</creation-date>
352    <lastmodification-date>6/5/2004 - 12:59:28</lastmodification-date>
353    <editor-release>1.05</editor-release>
354    <author>?</author>
355    <container>?</container>
356    <comment>Compute Node</comment>
357    <x-position>609</x-position>
358    <y-position>506</y-position>  </node>
359   <node>
360 <component-name>?</component-name>
361    <interface-name>?</interface-name>
362    <node-name>LoopOnViews</node-name>
363    <kind>4</kind>
364    <coupled-node>EndOfLoopOnViews</coupled-node>
365    <service>
366 <service-name>LoopOnViews</service-name>
367     <inParameter-list>
368 <inParameter>
369 <inParameter-type>objref</inParameter-type>
370       <inParameter-name>aVisu</inParameter-name>     </inParameter>
371      <inParameter>
372 <inParameter-type>objref</inParameter-type>
373       <inParameter-name>aResult</inParameter-name>     </inParameter>
374      <inParameter>
375 <inParameter-type>int</inParameter-type>
376       <inParameter-name>ViewCount</inParameter-name>     </inParameter>
377      <inParameter>
378 <inParameter-type>int</inParameter-type>
379       <inParameter-name>MinCount</inParameter-name>     </inParameter>
380      <inParameter>
381 <inParameter-type>int</inParameter-type>
382       <inParameter-name>MaxCount</inParameter-name>     </inParameter>    </inParameter-list>
383     <outParameter-list>
384 <outParameter>
385 <outParameter-type>objref</outParameter-type>
386       <outParameter-name>aVisu</outParameter-name>     </outParameter>
387      <outParameter>
388 <outParameter-type>objref</outParameter-type>
389       <outParameter-name>aResult</outParameter-name>     </outParameter>
390      <outParameter>
391 <outParameter-type>int</outParameter-type>
392       <outParameter-name>ViewCount</outParameter-name>     </outParameter>
393      <outParameter>
394 <outParameter-type>int</outParameter-type>
395       <outParameter-name>MinCount</outParameter-name>     </outParameter>
396      <outParameter>
397 <outParameter-type>int</outParameter-type>
398       <outParameter-name>MaxCount</outParameter-name>     </outParameter>    </outParameter-list>   </service>
399    <Parameter-list/>
400    <PyFunction-list>
401 <PyFunction>
402 <FuncName>InitViews</FuncName>
403      <PyFunc><![CDATA[def InitViews( aVisu,aResult,ViewCount,MinCount,MaxCount ):    ]]></PyFunc>
404      <PyFunc><![CDATA[   ViewCount=MinCount   ]]></PyFunc>
405      <PyFunc><![CDATA[   return aVisu,aResult,ViewCount,MinCount,MaxCount      ]]></PyFunc>    </PyFunction>
406     <PyFunction>
407 <FuncName>MoreViews</FuncName>
408      <PyFunc><![CDATA[def MoreViews( aVisu,aResult,ViewCount,MinCount,MaxCount ):      ]]></PyFunc>
409      <PyFunc><![CDATA[   if ViewCount < MaxCount:     ]]></PyFunc>
410      <PyFunc><![CDATA[      return 1,aVisu,aResult,ViewCount,MinCount,MaxCount     ]]></PyFunc>
411      <PyFunc><![CDATA[   return 0,aVisu,aResult,ViewCount,MinCount,MaxCount     ]]></PyFunc>    </PyFunction>
412     <PyFunction>
413 <FuncName>NextViews</FuncName>
414      <PyFunc><![CDATA[def NextViews( aVisu,aResult,ViewCount,MinCount,MaxCount ):     ]]></PyFunc>
415      <PyFunc><![CDATA[   ViewCount = ViewCount + 1     ]]></PyFunc>
416      <PyFunc><![CDATA[   return aVisu,aResult,ViewCount,MinCount,MaxCount     ]]></PyFunc>    </PyFunction>   </PyFunction-list>
417    <creation-date>6/5/2004 - 12:59:28</creation-date>
418    <lastmodification-date>6/5/2004 - 12:59:28</lastmodification-date>
419    <editor-release>1.05</editor-release>
420    <author>?</author>
421    <container>?</container>
422    <comment>?</comment>
423    <x-position>219</x-position>
424    <y-position>218</y-position>  </node>
425   <node>
426 <component-name>?</component-name>
427    <interface-name>?</interface-name>
428    <node-name>EndOfLoopOnViews</node-name>
429    <kind>5</kind>
430    <coupled-node>LoopOnViews</coupled-node>
431    <service>
432 <service-name>EndOfLoopOnViews</service-name>
433     <inParameter-list>
434 <inParameter>
435 <inParameter-type>objref</inParameter-type>
436       <inParameter-name>aVisu</inParameter-name>     </inParameter>
437      <inParameter>
438 <inParameter-type>objref</inParameter-type>
439       <inParameter-name>aResult</inParameter-name>     </inParameter>
440      <inParameter>
441 <inParameter-type>int</inParameter-type>
442       <inParameter-name>ViewCount</inParameter-name>     </inParameter>
443      <inParameter>
444 <inParameter-type>int</inParameter-type>
445       <inParameter-name>MinCount</inParameter-name>     </inParameter>
446      <inParameter>
447 <inParameter-type>int</inParameter-type>
448       <inParameter-name>MaxCount</inParameter-name>     </inParameter>    </inParameter-list>
449     <outParameter-list>
450 <outParameter>
451 <outParameter-type>objref</outParameter-type>
452       <outParameter-name>aVisu</outParameter-name>     </outParameter>
453      <outParameter>
454 <outParameter-type>objref</outParameter-type>
455       <outParameter-name>aResult</outParameter-name>     </outParameter>
456      <outParameter>
457 <outParameter-type>int</outParameter-type>
458       <outParameter-name>ViewCount</outParameter-name>     </outParameter>
459      <outParameter>
460 <outParameter-type>int</outParameter-type>
461       <outParameter-name>MinCount</outParameter-name>     </outParameter>
462      <outParameter>
463 <outParameter-type>int</outParameter-type>
464       <outParameter-name>MaxCount</outParameter-name>     </outParameter>    </outParameter-list>   </service>
465    <Parameter-list/>
466    <PyFunction-list>
467 <PyFunction>
468 <FuncName>EndLoop</FuncName>
469      <PyFunc><![CDATA[?]]></PyFunc>    </PyFunction>   </PyFunction-list>
470    <creation-date>6/5/2004 - 12:59:28</creation-date>
471    <lastmodification-date>6/5/2004 - 12:59:28</lastmodification-date>
472    <editor-release>1.05</editor-release>
473    <author>?</author>
474    <container>?</container>
475    <comment>?</comment>
476    <x-position>773</x-position>
477    <y-position>224</y-position>  </node>
478   <node>
479 <component-name>?</component-name>
480    <interface-name>?</interface-name>
481    <node-name>CreateView</node-name>
482    <kind>3</kind>
483    <coupled-node>?</coupled-node>
484    <service>
485 <service-name>CreateView</service-name>
486     <inParameter-list>
487 <inParameter>
488 <inParameter-type>objref</inParameter-type>
489       <inParameter-name>aVisu</inParameter-name>     </inParameter>
490      <inParameter>
491 <inParameter-type>objref</inParameter-type>
492       <inParameter-name>aResult</inParameter-name>     </inParameter>    </inParameter-list>
493     <outParameter-list>
494 <outParameter>
495 <outParameter-type>objref</outParameter-type>
496       <outParameter-name>aView</outParameter-name>     </outParameter>
497      <outParameter>
498 <outParameter-type>objref</outParameter-type>
499       <outParameter-name>theVisu</outParameter-name>     </outParameter>
500      <outParameter>
501 <outParameter-type>objref</outParameter-type>
502       <outParameter-name>theResult</outParameter-name>     </outParameter>    </outParameter-list>   </service>
503    <Parameter-list/>
504    <PyFunction-list>
505 <PyFunction>
506 <FuncName>CreateView</FuncName>
507      <PyFunc><![CDATA[def CreateView(aVisu,aResult) :     ]]></PyFunc>
508      <PyFunc><![CDATA[   vm=aVisu.GetViewManager()        ]]></PyFunc>
509      <PyFunc><![CDATA[   aView=vm.Create3DView()   ]]></PyFunc>
510      <PyFunc><![CDATA[   theVisu=aVisu  ]]></PyFunc>
511      <PyFunc><![CDATA[   theResult=aResult       ]]></PyFunc>
512      <PyFunc><![CDATA[   return aView,theVisu,theResult      ]]></PyFunc>    </PyFunction>   </PyFunction-list>
513    <creation-date>6/5/2004 - 12:59:28</creation-date>
514    <lastmodification-date>6/5/2004 - 12:59:28</lastmodification-date>
515    <editor-release>1.05</editor-release>
516    <author>?</author>
517    <container>?</container>
518    <comment>Compute Node</comment>
519    <x-position>221</x-position>
520    <y-position>563</y-position>  </node> </node-list>
521  <link-list>
522 <link>
523 <fromnode-name>InitDisplay</fromnode-name>
524    <fromserviceparameter-name>aVisu</fromserviceparameter-name>
525    <tonode-name>LoopOnViews</tonode-name>
526    <toserviceparameter-name>InGate</toserviceparameter-name>
527    <coord-list/>  </link>
528   <link>
529 <fromnode-name>InitDisplay</fromnode-name>
530    <fromserviceparameter-name>aVisu</fromserviceparameter-name>
531    <tonode-name>LoopOnViews</tonode-name>
532    <toserviceparameter-name>aVisu</toserviceparameter-name>
533    <coord-list/>  </link>
534   <link>
535 <fromnode-name>InitDisplay</fromnode-name>
536    <fromserviceparameter-name>myResult</fromserviceparameter-name>
537    <tonode-name>LoopOnViews</tonode-name>
538    <toserviceparameter-name>aResult</toserviceparameter-name>
539    <coord-list/>  </link>
540   <link>
541 <fromnode-name>Init</fromnode-name>
542    <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
543    <tonode-name>EndOfInit</tonode-name>
544    <toserviceparameter-name>DoLoop</toserviceparameter-name>
545    <coord-list/>  </link>
546   <link>
547 <fromnode-name>Init</fromnode-name>
548    <fromserviceparameter-name>index</fromserviceparameter-name>
549    <tonode-name>EndOfInit</tonode-name>
550    <toserviceparameter-name>index</toserviceparameter-name>
551    <coord-list/>  </link>
552   <link>
553 <fromnode-name>Init</fromnode-name>
554    <fromserviceparameter-name>index</fromserviceparameter-name>
555    <tonode-name>DisplayVitesse</tonode-name>
556    <toserviceparameter-name>index</toserviceparameter-name>
557    <coord-list>
558 <coord>
559 <x>590</x>
560      <y>587</y>    </coord>
561     <coord>
562 <x>591</x>
563      <y>527</y>    </coord>   </coord-list>  </link>
564   <link>
565 <fromnode-name>Init</fromnode-name>
566    <fromserviceparameter-name>min</fromserviceparameter-name>
567    <tonode-name>EndOfInit</tonode-name>
568    <toserviceparameter-name>min</toserviceparameter-name>
569    <coord-list/>  </link>
570   <link>
571 <fromnode-name>Init</fromnode-name>
572    <fromserviceparameter-name>max</fromserviceparameter-name>
573    <tonode-name>EndOfInit</tonode-name>
574    <toserviceparameter-name>max</toserviceparameter-name>
575    <coord-list/>  </link>
576   <link>
577 <fromnode-name>Init</fromnode-name>
578    <fromserviceparameter-name>aVisu</fromserviceparameter-name>
579    <tonode-name>EndOfInit</tonode-name>
580    <toserviceparameter-name>aVisu</toserviceparameter-name>
581    <coord-list/>  </link>
582   <link>
583 <fromnode-name>Init</fromnode-name>
584    <fromserviceparameter-name>aVisu</fromserviceparameter-name>
585    <tonode-name>DisplayVitesse</tonode-name>
586    <toserviceparameter-name>aVisu</toserviceparameter-name>
587    <coord-list/>  </link>
588   <link>
589 <fromnode-name>Init</fromnode-name>
590    <fromserviceparameter-name>aView</fromserviceparameter-name>
591    <tonode-name>EndOfInit</tonode-name>
592    <toserviceparameter-name>aView</toserviceparameter-name>
593    <coord-list/>  </link>
594   <link>
595 <fromnode-name>Init</fromnode-name>
596    <fromserviceparameter-name>aView</fromserviceparameter-name>
597    <tonode-name>DisplayVitesse</tonode-name>
598    <toserviceparameter-name>aView</toserviceparameter-name>
599    <coord-list/>  </link>
600   <link>
601 <fromnode-name>Init</fromnode-name>
602    <fromserviceparameter-name>aResult</fromserviceparameter-name>
603    <tonode-name>DisplayVitesse</tonode-name>
604    <toserviceparameter-name>aResult</toserviceparameter-name>
605    <coord-list/>  </link>
606   <link>
607 <fromnode-name>Init</fromnode-name>
608    <fromserviceparameter-name>x1</fromserviceparameter-name>
609    <tonode-name>EndOfInit</tonode-name>
610    <toserviceparameter-name>x1</toserviceparameter-name>
611    <coord-list/>  </link>
612   <link>
613 <fromnode-name>Init</fromnode-name>
614    <fromserviceparameter-name>x1</fromserviceparameter-name>
615    <tonode-name>DisplayVitesse</tonode-name>
616    <toserviceparameter-name>x1</toserviceparameter-name>
617    <coord-list/>  </link>
618   <link>
619 <fromnode-name>EndOfInit</fromnode-name>
620    <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
621    <tonode-name>Init</tonode-name>
622    <toserviceparameter-name>InitLoop</toserviceparameter-name>
623    <coord-list/>  </link>
624   <link>
625 <fromnode-name>EndOfInit</fromnode-name>
626    <fromserviceparameter-name>aResult</fromserviceparameter-name>
627    <tonode-name>EndOfLoopOnViews</tonode-name>
628    <toserviceparameter-name>aResult</toserviceparameter-name>
629    <coord-list>
630 <coord>
631 <x>762</x>
632      <y>288</y>    </coord>
633     <coord>
634 <x>763</x>
635      <y>424</y>    </coord>
636     <coord>
637 <x>972</x>
638      <y>425</y>    </coord>
639     <coord>
640 <x>971</x>
641      <y>687</y>    </coord>   </coord-list>  </link>
642   <link>
643 <fromnode-name>DisplayVitesse</fromnode-name>
644    <fromserviceparameter-name>theResult</fromserviceparameter-name>
645    <tonode-name>EndOfInit</tonode-name>
646    <toserviceparameter-name>aResult</toserviceparameter-name>
647    <coord-list>
648 <coord>
649 <x>787</x>
650      <y>687</y>    </coord>
651     <coord>
652 <x>786</x>
653      <y>585</y>    </coord>   </coord-list>  </link>
654   <link>
655 <fromnode-name>LoopOnViews</fromnode-name>
656    <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
657    <tonode-name>EndOfLoopOnViews</tonode-name>
658    <toserviceparameter-name>DoLoop</toserviceparameter-name>
659    <coord-list/>  </link>
660   <link>
661 <fromnode-name>LoopOnViews</fromnode-name>
662    <fromserviceparameter-name>aVisu</fromserviceparameter-name>
663    <tonode-name>EndOfLoopOnViews</tonode-name>
664    <toserviceparameter-name>aVisu</toserviceparameter-name>
665    <coord-list/>  </link>
666   <link>
667 <fromnode-name>LoopOnViews</fromnode-name>
668    <fromserviceparameter-name>aVisu</fromserviceparameter-name>
669    <tonode-name>CreateView</tonode-name>
670    <toserviceparameter-name>aVisu</toserviceparameter-name>
671    <coord-list>
672 <coord>
673 <x>186</x>
674      <y>643</y>    </coord>
675     <coord>
676 <x>186</x>
677      <y>442</y>    </coord>
678     <coord>
679 <x>400</x>
680      <y>441</y>    </coord>
681     <coord>
682 <x>401</x>
683      <y>251</y>    </coord>   </coord-list>  </link>
684   <link>
685 <fromnode-name>LoopOnViews</fromnode-name>
686    <fromserviceparameter-name>aResult</fromserviceparameter-name>
687    <tonode-name>CreateView</tonode-name>
688    <toserviceparameter-name>aResult</toserviceparameter-name>
689    <coord-list>
690 <coord>
691 <x>169</x>
692      <y>671</y>    </coord>
693     <coord>
694 <x>170</x>
695      <y>412</y>    </coord>
696     <coord>
697 <x>386</x>
698      <y>413</y>    </coord>
699     <coord>
700 <x>387</x>
701      <y>280</y>    </coord>   </coord-list>  </link>
702   <link>
703 <fromnode-name>LoopOnViews</fromnode-name>
704    <fromserviceparameter-name>ViewCount</fromserviceparameter-name>
705    <tonode-name>EndOfLoopOnViews</tonode-name>
706    <toserviceparameter-name>ViewCount</toserviceparameter-name>
707    <coord-list/>  </link>
708   <link>
709 <fromnode-name>LoopOnViews</fromnode-name>
710    <fromserviceparameter-name>MinCount</fromserviceparameter-name>
711    <tonode-name>EndOfLoopOnViews</tonode-name>
712    <toserviceparameter-name>MinCount</toserviceparameter-name>
713    <coord-list/>  </link>
714   <link>
715 <fromnode-name>LoopOnViews</fromnode-name>
716    <fromserviceparameter-name>MaxCount</fromserviceparameter-name>
717    <tonode-name>EndOfLoopOnViews</tonode-name>
718    <toserviceparameter-name>MaxCount</toserviceparameter-name>
719    <coord-list/>  </link>
720   <link>
721 <fromnode-name>EndOfLoopOnViews</fromnode-name>
722    <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
723    <tonode-name>LoopOnViews</tonode-name>
724    <toserviceparameter-name>InitLoop</toserviceparameter-name>
725    <coord-list/>  </link>
726   <link>
727 <fromnode-name>CreateView</fromnode-name>
728    <fromserviceparameter-name>aView</fromserviceparameter-name>
729    <tonode-name>Init</tonode-name>
730    <toserviceparameter-name>aView</toserviceparameter-name>
731    <coord-list/>  </link>
732   <link>
733 <fromnode-name>CreateView</fromnode-name>
734    <fromserviceparameter-name>theVisu</fromserviceparameter-name>
735    <tonode-name>Init</tonode-name>
736    <toserviceparameter-name>aVisu</toserviceparameter-name>
737    <coord-list/>  </link>
738   <link>
739 <fromnode-name>CreateView</fromnode-name>
740    <fromserviceparameter-name>theResult</fromserviceparameter-name>
741    <tonode-name>Init</tonode-name>
742    <toserviceparameter-name>aResult</toserviceparameter-name>
743    <coord-list/>  </link> </link-list>
744  <data-list>
745 <data>
746 <fromnode-name>aNewDataFlow</fromnode-name>
747    <fromserviceparameter-name>Init\index</fromserviceparameter-name>
748    <tonode-name>Init</tonode-name>
749    <toserviceparameter-name>index</toserviceparameter-name>
750    <data-value>
751 <value-type>3</value-type>
752     <value>1</value>   </data-value>
753    <coord-list/>  </data>
754   <data>
755 <fromnode-name>aNewDataFlow</fromnode-name>
756    <fromserviceparameter-name>Init\min</fromserviceparameter-name>
757    <tonode-name>Init</tonode-name>
758    <toserviceparameter-name>min</toserviceparameter-name>
759    <data-value>
760 <value-type>3</value-type>
761     <value>1</value>   </data-value>
762    <coord-list/>  </data>
763   <data>
764 <fromnode-name>aNewDataFlow</fromnode-name>
765    <fromserviceparameter-name>Init\max</fromserviceparameter-name>
766    <tonode-name>Init</tonode-name>
767    <toserviceparameter-name>max</toserviceparameter-name>
768    <data-value>
769 <value-type>3</value-type>
770     <value>10</value>   </data-value>
771    <coord-list/>  </data>
772   <data>
773 <fromnode-name>aNewDataFlow</fromnode-name>
774    <fromserviceparameter-name>Init\x1</fromserviceparameter-name>
775    <tonode-name>Init</tonode-name>
776    <toserviceparameter-name>x1</toserviceparameter-name>
777    <data-value>
778 <value-type>7</value-type>
779     <value>1</value>   </data-value>
780    <coord-list/>  </data>
781   <data>
782 <fromnode-name>aNewDataFlow</fromnode-name>
783    <fromserviceparameter-name>LoopOnViews\ViewCount</fromserviceparameter-name>
784    <tonode-name>LoopOnViews</tonode-name>
785    <toserviceparameter-name>ViewCount</toserviceparameter-name>
786    <data-value>
787 <value-type>3</value-type>
788     <value>0</value>   </data-value>
789    <coord-list/>  </data>
790   <data>
791 <fromnode-name>aNewDataFlow</fromnode-name>
792    <fromserviceparameter-name>LoopOnViews\MinCount</fromserviceparameter-name>
793    <tonode-name>LoopOnViews</tonode-name>
794    <toserviceparameter-name>MinCount</toserviceparameter-name>
795    <data-value>
796 <value-type>3</value-type>
797     <value>0</value>   </data-value>
798    <coord-list/>  </data>
799   <data>
800 <fromnode-name>aNewDataFlow</fromnode-name>
801    <fromserviceparameter-name>LoopOnViews\MaxCount</fromserviceparameter-name>
802    <tonode-name>LoopOnViews</tonode-name>
803    <toserviceparameter-name>MaxCount</toserviceparameter-name>
804    <data-value>
805 <value-type>3</value-type>
806     <value>10</value>   </data-value>
807    <coord-list/>  </data> </data-list></dataflow>