# Generated python file of Graph aNewDataFlow
from SuperV import *
-# Graph creation
-aNewDataFlow = Graph( 'aNewDataFlow' )
-aNewDataFlow.SetName( 'aNewDataFlow' )
-aNewDataFlow.SetAuthor( '' )
-aNewDataFlow.SetComment( '' )
-aNewDataFlow.Coords( 0 , 0 )
-# Creation of Factory Nodes
-
-# Creation of InLine Nodes
-PyInitDisplay = []
-PyInitDisplay.append( 'import os ' )
-PyInitDisplay.append( 'import time ' )
-PyInitDisplay.append( 'from LifeCycleCORBA import * ' )
-PyInitDisplay.append( 'from SALOME_NamingServicePy import * ' )
-PyInitDisplay.append( 'import SALOMEDS ' )
-PyInitDisplay.append( 'from VISU import * ' )
-PyInitDisplay.append( 'def InitDisplay(): ' )
-PyInitDisplay.append( ' # --- initialize the ORB ' )
-PyInitDisplay.append( ' orb = CORBA.ORB_init([], CORBA.ORB_ID) ' )
-PyInitDisplay.append( ' # --- create a LifeCycleCORBA instance ' )
-PyInitDisplay.append( ' lcc = LifeCycleCORBA(orb) ' )
-PyInitDisplay.append( ' # --- create a naming service instance ' )
-PyInitDisplay.append( ' naming_service = SALOME_NamingServicePy_i(orb) ' )
-PyInitDisplay.append( ' # --- get Study Manager reference ' )
-PyInitDisplay.append( ' obj = naming_service.Resolve('myStudyManager') ' )
-PyInitDisplay.append( ' StudyManager = obj._narrow(SALOMEDS.StudyManager) ' )
-PyInitDisplay.append( ' # --- load visu component ' )
-PyInitDisplay.append( ' aVisu = lcc.FindOrLoadComponent("FactoryServer","VISU") ' )
-PyInitDisplay.append( ' aStudy = StudyManager.GetStudyByID(1) ' )
-PyInitDisplay.append( ' aVisu.SetCurrentStudy(aStudy) ' )
-PyInitDisplay.append( ' print "InitDisplay --> aVisu ", aVisu ' )
-PyInitDisplay.append( ' time.sleep(2) ' )
-PyInitDisplay.append( ' #aViewManager=aVisu.GetViewManager() ' )
-PyInitDisplay.append( ' #print "InitDisplay --> aViewManager ", aViewManager ' )
-PyInitDisplay.append( ' #time.sleep(2) ' )
-PyInitDisplay.append( ' #aView=aViewManager.GetCurrentView() ' )
-PyInitDisplay.append( ' #aView=aViewManager.Create3DView() ' )
-PyInitDisplay.append( ' #print "InitDisplay --> aView ", aView ' )
-PyInitDisplay.append( ' #time.sleep(2) ' )
-PyInitDisplay.append( ' medFile = "TimeStamps.med" ' )
-PyInitDisplay.append( ' medFile = os.getenv('KERNEL_ROOT_DIR') + '/examples/' + medFile ' )
-PyInitDisplay.append( ' myResult = aVisu.ImportFile(medFile) ' )
-PyInitDisplay.append( ' print "InitDisplay --> myResult ", myResult ' )
-PyInitDisplay.append( ' return aVisu,myResult ' )
-PyInitDisplay.append( '' )
-InitDisplay = aNewDataFlow.INode( 'InitDisplay' , PyInitDisplay )
-InitDisplay.SetName( 'InitDisplay' )
-InitDisplay.SetAuthor( '' )
-InitDisplay.SetComment( 'Compute Node' )
-InitDisplay.Coords( 13 , 173 )
-InitDisplay.OutPort( 'aVisu' , 'objref' )
-InitDisplay.OutPort( 'myResult' , 'objref' )
-
-PyDisplayVitesse = []
-PyDisplayVitesse.append( 'import VISU ' )
-PyDisplayVitesse.append( 'import os ' )
-PyDisplayVitesse.append( 'import time ' )
-PyDisplayVitesse.append( 'def DisplayVitesse(index,aVisu,aView,aResult,x1): ' )
-PyDisplayVitesse.append( ' print "----- Display 1 index = ", index,aVisu,aView,aResult,x1 ' )
-PyDisplayVitesse.append( ' aMeshName ="dom" ' )
-PyDisplayVitesse.append( ' myFieldName = "vitesse" ' )
-PyDisplayVitesse.append( ' anEntity = VISU.NODE ' )
-PyDisplayVitesse.append( ' aMesh = aVisu.MeshOnEntity(aResult, aMeshName, anEntity) ' )
-PyDisplayVitesse.append( ' print "----- Display 2 ", aMesh ' )
-PyDisplayVitesse.append( ' aScalarMap=aVisu.ScalarMapOnField(aResult,aMeshName,anEntity,myFieldName,x1) ' )
-PyDisplayVitesse.append( ' print "----- Display 4" ' )
-PyDisplayVitesse.append( ' if aScalarMap is not None: ' )
-PyDisplayVitesse.append( ' aScalarMap.SetScaling(VISU.LINEAR) ' )
-PyDisplayVitesse.append( ' else: ' )
-PyDisplayVitesse.append( ' print "Null scalar map is created" ' )
-PyDisplayVitesse.append( ' print "----- Display 5" ' )
-PyDisplayVitesse.append( ' aView.DisplayOnly(aScalarMap) ' )
-PyDisplayVitesse.append( ' aView.FitAll() ' )
-PyDisplayVitesse.append( ' aView.Update() ' )
-PyDisplayVitesse.append( ' print "----- Display 6" ' )
-PyDisplayVitesse.append( ' theResult=aResult ' )
-PyDisplayVitesse.append( ' #time.sleep(2) ' )
-PyDisplayVitesse.append( ' return theResult ' )
-PyDisplayVitesse.append( '' )
-DisplayVitesse = aNewDataFlow.INode( 'DisplayVitesse' , PyDisplayVitesse )
-DisplayVitesse.SetName( 'DisplayVitesse' )
-DisplayVitesse.SetAuthor( '' )
-DisplayVitesse.SetComment( 'Compute Node' )
-DisplayVitesse.Coords( 609 , 506 )
-DisplayVitesse.InPort( 'index' , 'string' )
-DisplayVitesse.InPort( 'aVisu' , 'objref' )
-DisplayVitesse.InPort( 'aView' , 'objref' )
-DisplayVitesse.InPort( 'aResult' , 'objref' )
-DisplayVitesse.InPort( 'x1' , 'double' )
-DisplayVitesse.OutPort( 'theResult' , 'objref' )
-
-PyCreateView = []
-PyCreateView.append( 'def CreateView(aVisu,aResult) : ' )
-PyCreateView.append( ' vm=aVisu.GetViewManager() ' )
-PyCreateView.append( ' aView=vm.Create3DView() ' )
-PyCreateView.append( ' theVisu=aVisu ' )
-PyCreateView.append( ' theResult=aResult ' )
-PyCreateView.append( ' return aView,theVisu,theResult ' )
-CreateView = aNewDataFlow.INode( 'CreateView' , PyCreateView )
-CreateView.SetName( 'CreateView' )
-CreateView.SetAuthor( '' )
-CreateView.SetComment( 'Compute Node' )
-CreateView.Coords( 221 , 563 )
-CreateView.InPort( 'aVisu' , 'objref' )
-CreateView.InPort( 'aResult' , 'objref' )
-CreateView.OutPort( 'aView' , 'objref' )
-CreateView.OutPort( 'theVisu' , 'objref' )
-CreateView.OutPort( 'theResult' , 'objref' )
-
-# Creation of Loop Nodes
-PyInit = []
-PyInit.append( 'def Init(index,min,max,aVisu,aView,myResult,x1): ' )
-PyInit.append( ' if max >= min : ' )
-PyInit.append( ' index = min ' )
-PyInit.append( ' else : ' )
-PyInit.append( ' index = max ' )
-PyInit.append( ' print "---- Init ",index,min,max,aVisu,aView,myResult,x1 ' )
-PyInit.append( ' return index,min,max,aVisu,aView,myResult,x1 ' )
-PyMoreInit = []
-PyMoreInit.append( 'def More(index,min,max,aVisu,aView,myResult,x1): ' )
-PyMoreInit.append( ' if max >= index : ' )
-PyMoreInit.append( ' DoLoop = 1 ' )
-PyMoreInit.append( ' else : ' )
-PyMoreInit.append( ' DoLoop = 0 ' )
-PyMoreInit.append( ' print "---- More",index,min,max,aVisu,aView,myResult,x1 ' )
-PyMoreInit.append( ' return DoLoop,index,min,max,aVisu,aView,myResult,x1 ' )
-PyNextInit = []
-PyNextInit.append( 'def Next(index,min,max,aVisu,aView,myResult,x1): ' )
-PyNextInit.append( ' index = index + 1 ' )
-PyNextInit.append( ' x1=x1+1.0 ' )
-PyNextInit.append( ' print "---- Next",index,min,max,aVisu,aView,myResult,x1 ' )
-PyNextInit.append( ' return index,min,max,aVisu,aView,myResult,x1 ' )
-Init,EndOfInit = aNewDataFlow.LNode( 'Init' , PyInit , 'More' , PyMoreInit , 'Next' , PyNextInit )
-EndOfInit.SetName( 'EndOfInit' )
-EndOfInit.SetAuthor( '' )
-EndOfInit.SetComment( '' )
-EndOfInit.Coords( 797 , 507 )
-PyEndOfInit = []
-EndOfInit.SetPyFunction( 'EndInit' , PyEndOfInit )
-Init.SetName( 'Init' )
-Init.SetAuthor( '' )
-Init.SetComment( '' )
-Init.Coords( 428 , 493 )
-Init.InPort( 'index' , 'long' )
-Init.InPort( 'min' , 'long' )
-Init.InPort( 'max' , 'long' )
-Init.InPort( 'aVisu' , 'objref' )
-Init.InPort( 'aView' , 'objref' )
-Init.InPort( 'aResult' , 'objref' )
-Init.InPort( 'x1' , 'double' )
-Init.OutPort( 'index' , 'long' )
-Init.OutPort( 'min' , 'long' )
-Init.OutPort( 'max' , 'long' )
-Init.OutPort( 'aVisu' , 'objref' )
-Init.OutPort( 'aView' , 'objref' )
-Init.OutPort( 'aResult' , 'objref' )
-Init.OutPort( 'x1' , 'double' )
-
-PyLoopOnViews = []
-PyLoopOnViews.append( 'def InitViews( aVisu,aResult,ViewCount,MinCount,MaxCount ): ' )
-PyLoopOnViews.append( ' ViewCount=MinCount ' )
-PyLoopOnViews.append( ' return aVisu,aResult,ViewCount,MinCount,MaxCount ' )
-PyMoreLoopOnViews = []
-PyMoreLoopOnViews.append( 'def MoreViews( aVisu,aResult,ViewCount,MinCount,MaxCount ): ' )
-PyMoreLoopOnViews.append( ' if ViewCount < MaxCount: ' )
-PyMoreLoopOnViews.append( ' return 1,aVisu,aResult,ViewCount,MinCount,MaxCount ' )
-PyMoreLoopOnViews.append( ' return 0,aVisu,aResult,ViewCount,MinCount,MaxCount ' )
-PyNextLoopOnViews = []
-PyNextLoopOnViews.append( 'def NextViews( aVisu,aResult,ViewCount,MinCount,MaxCount ): ' )
-PyNextLoopOnViews.append( ' ViewCount = ViewCount + 1 ' )
-PyNextLoopOnViews.append( ' return aVisu,aResult,ViewCount,MinCount,MaxCount ' )
-LoopOnViews,EndOfLoopOnViews = aNewDataFlow.LNode( 'InitViews' , PyLoopOnViews , 'MoreViews' , PyMoreLoopOnViews , 'NextViews' , PyNextLoopOnViews )
-EndOfLoopOnViews.SetName( 'EndOfLoopOnViews' )
-EndOfLoopOnViews.SetAuthor( '' )
-EndOfLoopOnViews.SetComment( '' )
-EndOfLoopOnViews.Coords( 773 , 224 )
-PyEndOfLoopOnViews = []
-EndOfLoopOnViews.SetPyFunction( 'EndInitViews' , PyEndOfLoopOnViews )
-LoopOnViews.SetName( 'LoopOnViews' )
-LoopOnViews.SetAuthor( '' )
-LoopOnViews.SetComment( '' )
-LoopOnViews.Coords( 219 , 218 )
-LoopOnViews.InPort( 'aVisu' , 'objref' )
-LoopOnViews.InPort( 'aResult' , 'objref' )
-LoopOnViews.InPort( 'ViewCount' , 'int' )
-LoopOnViews.InPort( 'MinCount' , 'int' )
-LoopOnViews.InPort( 'MaxCount' , 'int' )
-LoopOnViews.OutPort( 'aVisu' , 'objref' )
-LoopOnViews.OutPort( 'aResult' , 'objref' )
-LoopOnViews.OutPort( 'ViewCount' , 'int' )
-LoopOnViews.OutPort( 'MinCount' , 'int' )
-LoopOnViews.OutPort( 'MaxCount' , 'int' )
-
-# Creation of Links
-InitDisplayaVisu = InitDisplay.Port( 'aVisu' )
-LoopOnViewsInGate = aNewDataFlow.Link( InitDisplayaVisu , LoopOnViews.Port( 'InGate' ) )
-
-LoopOnViewsaVisu = aNewDataFlow.Link( InitDisplayaVisu , LoopOnViews.Port( 'aVisu' ) )
-
-InitDisplaymyResult = InitDisplay.Port( 'myResult' )
-LoopOnViewsaResult = aNewDataFlow.Link( InitDisplaymyResult , LoopOnViews.Port( 'aResult' ) )
-
-Initindex = Init.Port( 'index' )
-EndOfInitindex = aNewDataFlow.Link( Initindex , EndOfInit.Port( 'index' ) )
-
-DisplayVitesseindex = aNewDataFlow.Link( Initindex , DisplayVitesse.Port( 'index' ) )
-DisplayVitesseindex.AddCoord( 1 , 590 , 587 )
-DisplayVitesseindex.AddCoord( 2 , 591 , 527 )
-
-Initmin = Init.Port( 'min' )
-EndOfInitmin = aNewDataFlow.Link( Initmin , EndOfInit.Port( 'min' ) )
-
-Initmax = Init.Port( 'max' )
-EndOfInitmax = aNewDataFlow.Link( Initmax , EndOfInit.Port( 'max' ) )
-
-InitaVisu = Init.Port( 'aVisu' )
-EndOfInitaVisu = aNewDataFlow.Link( InitaVisu , EndOfInit.Port( 'aVisu' ) )
-
-DisplayVitesseaVisu = aNewDataFlow.Link( InitaVisu , DisplayVitesse.Port( 'aVisu' ) )
-
-InitaView = Init.Port( 'aView' )
-EndOfInitaView = aNewDataFlow.Link( InitaView , EndOfInit.Port( 'aView' ) )
-
-DisplayVitesseaView = aNewDataFlow.Link( InitaView , DisplayVitesse.Port( 'aView' ) )
-
-InitaResult = Init.Port( 'aResult' )
-DisplayVitesseaResult = aNewDataFlow.Link( InitaResult , DisplayVitesse.Port( 'aResult' ) )
-
-Initx1 = Init.Port( 'x1' )
-EndOfInitx1 = aNewDataFlow.Link( Initx1 , EndOfInit.Port( 'x1' ) )
-
-DisplayVitessex1 = aNewDataFlow.Link( Initx1 , DisplayVitesse.Port( 'x1' ) )
-
-EndOfInitaResult = EndOfInit.Port( 'aResult' )
-EndOfLoopOnViewsaResult = aNewDataFlow.Link( EndOfInitaResult , EndOfLoopOnViews.Port( 'aResult' ) )
-EndOfLoopOnViewsaResult.AddCoord( 1 , 762 , 288 )
-EndOfLoopOnViewsaResult.AddCoord( 2 , 763 , 424 )
-EndOfLoopOnViewsaResult.AddCoord( 3 , 972 , 425 )
-EndOfLoopOnViewsaResult.AddCoord( 4 , 971 , 687 )
-
-DisplayVitessetheResult = DisplayVitesse.Port( 'theResult' )
-EndOfInitaResult = aNewDataFlow.Link( DisplayVitessetheResult , EndOfInit.Port( 'aResult' ) )
-EndOfInitaResult.AddCoord( 1 , 787 , 687 )
-EndOfInitaResult.AddCoord( 2 , 786 , 585 )
-
-LoopOnViewsaVisu = LoopOnViews.Port( 'aVisu' )
-EndOfLoopOnViewsaVisu = aNewDataFlow.Link( LoopOnViewsaVisu , EndOfLoopOnViews.Port( 'aVisu' ) )
-
-CreateViewaVisu = aNewDataFlow.Link( LoopOnViewsaVisu , CreateView.Port( 'aVisu' ) )
-CreateViewaVisu.AddCoord( 1 , 186 , 643 )
-CreateViewaVisu.AddCoord( 2 , 186 , 442 )
-CreateViewaVisu.AddCoord( 3 , 400 , 441 )
-CreateViewaVisu.AddCoord( 4 , 401 , 251 )
-
-LoopOnViewsaResult = LoopOnViews.Port( 'aResult' )
-CreateViewaResult = aNewDataFlow.Link( LoopOnViewsaResult , CreateView.Port( 'aResult' ) )
-CreateViewaResult.AddCoord( 1 , 169 , 671 )
-CreateViewaResult.AddCoord( 2 , 170 , 412 )
-CreateViewaResult.AddCoord( 3 , 386 , 413 )
-CreateViewaResult.AddCoord( 4 , 387 , 280 )
-
-LoopOnViewsViewCount = LoopOnViews.Port( 'ViewCount' )
-EndOfLoopOnViewsViewCount = aNewDataFlow.Link( LoopOnViewsViewCount , EndOfLoopOnViews.Port( 'ViewCount' ) )
-
-LoopOnViewsMinCount = LoopOnViews.Port( 'MinCount' )
-EndOfLoopOnViewsMinCount = aNewDataFlow.Link( LoopOnViewsMinCount , EndOfLoopOnViews.Port( 'MinCount' ) )
-
-LoopOnViewsMaxCount = LoopOnViews.Port( 'MaxCount' )
-EndOfLoopOnViewsMaxCount = aNewDataFlow.Link( LoopOnViewsMaxCount , EndOfLoopOnViews.Port( 'MaxCount' ) )
-
-CreateViewaView = CreateView.Port( 'aView' )
-InitaView = aNewDataFlow.Link( CreateViewaView , Init.Port( 'aView' ) )
-
-CreateViewtheVisu = CreateView.Port( 'theVisu' )
-InitaVisu = aNewDataFlow.Link( CreateViewtheVisu , Init.Port( 'aVisu' ) )
-
-CreateViewtheResult = CreateView.Port( 'theResult' )
-InitaResult = aNewDataFlow.Link( CreateViewtheResult , Init.Port( 'aResult' ) )
-
-# Creation of Input datas
-Initindex = Init.Input( 'index' , 1)
-Initmin = Init.Input( 'min' , 1)
-Initmax = Init.Input( 'max' , 10)
-Initx1 = Init.Input( 'x1' , 1)
-LoopOnViewsViewCount = LoopOnViews.Input( 'ViewCount' , 0)
-LoopOnViewsMinCount = LoopOnViews.Input( 'MinCount' , 0)
-LoopOnViewsMaxCount = LoopOnViews.Input( 'MaxCount' , 10)
-
-# Creation of Output variables
-EndOfInitindex = EndOfInit.Port( 'index' )
-EndOfInitmin = EndOfInit.Port( 'min' )
-EndOfInitmax = EndOfInit.Port( 'max' )
-EndOfInitaVisu = EndOfInit.Port( 'aVisu' )
-EndOfInitaView = EndOfInit.Port( 'aView' )
-EndOfInitx1 = EndOfInit.Port( 'x1' )
-EndOfLoopOnViewsaVisu = EndOfLoopOnViews.Port( 'aVisu' )
-EndOfLoopOnViewsaResult = EndOfLoopOnViews.Port( 'aResult' )
-EndOfLoopOnViewsViewCount = EndOfLoopOnViews.Port( 'ViewCount' )
-EndOfLoopOnViewsMinCount = EndOfLoopOnViews.Port( 'MinCount' )
-EndOfLoopOnViewsMaxCount = EndOfLoopOnViews.Port( 'MaxCount' )
+# Graph creation of aNewDataFlow
+def DefaNewDataFlow() :
+ aNewDataFlow = Graph( 'aNewDataFlow' )
+ aNewDataFlow.SetName( 'aNewDataFlow' )
+ aNewDataFlow.SetAuthor( '' )
+ aNewDataFlow.SetComment( '' )
+ aNewDataFlow.Coords( 0 , 0 )
+
+ # Creation of Factory Nodes
+
+ # Creation of InLine Nodes
+ PyInitDisplay = []
+ PyInitDisplay.append( 'import os ' )
+ PyInitDisplay.append( 'import time ' )
+ PyInitDisplay.append( 'from LifeCycleCORBA import * ' )
+ PyInitDisplay.append( 'from SALOME_NamingServicePy import * ' )
+ PyInitDisplay.append( 'import SALOMEDS ' )
+ PyInitDisplay.append( 'from VISU import * ' )
+ PyInitDisplay.append( 'def InitDisplay(): ' )
+ PyInitDisplay.append( ' # --- initialize the ORB ' )
+ PyInitDisplay.append( ' orb = CORBA.ORB_init([], CORBA.ORB_ID) ' )
+ PyInitDisplay.append( ' # --- create a LifeCycleCORBA instance ' )
+ PyInitDisplay.append( ' lcc = LifeCycleCORBA(orb) ' )
+ PyInitDisplay.append( ' # --- create a naming service instance ' )
+ PyInitDisplay.append( ' naming_service = SALOME_NamingServicePy_i(orb) ' )
+ PyInitDisplay.append( ' # --- get Study Manager reference ' )
+ PyInitDisplay.append( ' obj = naming_service.Resolve('myStudyManager') ' )
+ PyInitDisplay.append( ' StudyManager = obj._narrow(SALOMEDS.StudyManager) ' )
+ PyInitDisplay.append( ' # --- load visu component ' )
+ PyInitDisplay.append( ' aVisu = lcc.FindOrLoadComponent("FactoryServer","VISU") ' )
+ PyInitDisplay.append( ' aStudy = StudyManager.GetStudyByID(1) ' )
+ PyInitDisplay.append( ' aVisu.SetCurrentStudy(aStudy) ' )
+ PyInitDisplay.append( ' print "InitDisplay --> aVisu ", aVisu ' )
+ PyInitDisplay.append( ' time.sleep(2) ' )
+ PyInitDisplay.append( ' #aViewManager=aVisu.GetViewManager() ' )
+ PyInitDisplay.append( ' #print "InitDisplay --> aViewManager ", aViewManager ' )
+ PyInitDisplay.append( ' #time.sleep(2) ' )
+ PyInitDisplay.append( ' #aView=aViewManager.GetCurrentView() ' )
+ PyInitDisplay.append( ' #aView=aViewManager.Create3DView() ' )
+ PyInitDisplay.append( ' #print "InitDisplay --> aView ", aView ' )
+ PyInitDisplay.append( ' #time.sleep(2) ' )
+ PyInitDisplay.append( ' medFile = "TimeStamps.med" ' )
+ PyInitDisplay.append( ' medFile = os.getenv('KERNEL_ROOT_DIR') + '/examples/' + medFile ' )
+ PyInitDisplay.append( ' myResult = aVisu.ImportFile(medFile) ' )
+ PyInitDisplay.append( ' print "InitDisplay --> myResult ", myResult ' )
+ PyInitDisplay.append( ' return aVisu,myResult ' )
+ PyInitDisplay.append( '' )
+ InitDisplay = aNewDataFlow.INode( 'InitDisplay' , PyInitDisplay )
+ InitDisplay.SetName( 'InitDisplay' )
+ InitDisplay.SetAuthor( '' )
+ InitDisplay.SetComment( 'Compute Node' )
+ InitDisplay.Coords( 13 , 173 )
+ IInitDisplayGate = InitDisplay.GetInPort( 'Gate' )
+ OInitDisplayaVisu = InitDisplay.OutPort( 'aVisu' , 'objref' )
+ OInitDisplaymyResult = InitDisplay.OutPort( 'myResult' , 'objref' )
+ OInitDisplayGate = InitDisplay.GetOutPort( 'Gate' )
+
+ PyDisplayVitesse = []
+ PyDisplayVitesse.append( 'import VISU ' )
+ PyDisplayVitesse.append( 'import os ' )
+ PyDisplayVitesse.append( 'import time ' )
+ PyDisplayVitesse.append( 'def DisplayVitesse(index,aVisu,aView,aResult,x1): ' )
+ PyDisplayVitesse.append( ' print "----- Display 1 index = ", index,aVisu,aView,aResult,x1 ' )
+ PyDisplayVitesse.append( ' aMeshName ="dom" ' )
+ PyDisplayVitesse.append( ' myFieldName = "vitesse" ' )
+ PyDisplayVitesse.append( ' anEntity = VISU.NODE ' )
+ PyDisplayVitesse.append( ' aMesh = aVisu.MeshOnEntity(aResult, aMeshName, anEntity) ' )
+ PyDisplayVitesse.append( ' print "----- Display 2 ", aMesh ' )
+ PyDisplayVitesse.append( ' aScalarMap=aVisu.ScalarMapOnField(aResult,aMeshName,anEntity,myFieldName,x1) ' )
+ PyDisplayVitesse.append( ' print "----- Display 4" ' )
+ PyDisplayVitesse.append( ' if aScalarMap is not None: ' )
+ PyDisplayVitesse.append( ' aScalarMap.SetScaling(VISU.LINEAR) ' )
+ PyDisplayVitesse.append( ' else: ' )
+ PyDisplayVitesse.append( ' print "Null scalar map is created" ' )
+ PyDisplayVitesse.append( ' print "----- Display 5" ' )
+ PyDisplayVitesse.append( ' aView.DisplayOnly(aScalarMap) ' )
+ PyDisplayVitesse.append( ' aView.FitAll() ' )
+ PyDisplayVitesse.append( ' aView.Update() ' )
+ PyDisplayVitesse.append( ' print "----- Display 6" ' )
+ PyDisplayVitesse.append( ' theResult=aResult ' )
+ PyDisplayVitesse.append( ' #time.sleep(2) ' )
+ PyDisplayVitesse.append( ' return theResult ' )
+ PyDisplayVitesse.append( '' )
+ DisplayVitesse = aNewDataFlow.INode( 'DisplayVitesse' , PyDisplayVitesse )
+ DisplayVitesse.SetName( 'DisplayVitesse' )
+ DisplayVitesse.SetAuthor( '' )
+ DisplayVitesse.SetComment( 'Compute Node' )
+ DisplayVitesse.Coords( 609 , 506 )
+ IDisplayVitesseindex = DisplayVitesse.InPort( 'index' , 'string' )
+ IDisplayVitesseaVisu = DisplayVitesse.InPort( 'aVisu' , 'objref' )
+ IDisplayVitesseaView = DisplayVitesse.InPort( 'aView' , 'objref' )
+ IDisplayVitesseaResult = DisplayVitesse.InPort( 'aResult' , 'objref' )
+ IDisplayVitessex1 = DisplayVitesse.InPort( 'x1' , 'double' )
+ IDisplayVitesseGate = DisplayVitesse.GetInPort( 'Gate' )
+ ODisplayVitessetheResult = DisplayVitesse.OutPort( 'theResult' , 'objref' )
+ ODisplayVitesseGate = DisplayVitesse.GetOutPort( 'Gate' )
+
+ PyCreateView = []
+ PyCreateView.append( 'def CreateView(aVisu,aResult) : ' )
+ PyCreateView.append( ' vm=aVisu.GetViewManager() ' )
+ PyCreateView.append( ' aView=vm.Create3DView() ' )
+ PyCreateView.append( ' theVisu=aVisu ' )
+ PyCreateView.append( ' theResult=aResult ' )
+ PyCreateView.append( ' return aView,theVisu,theResult ' )
+ CreateView = aNewDataFlow.INode( 'CreateView' , PyCreateView )
+ CreateView.SetName( 'CreateView' )
+ CreateView.SetAuthor( '' )
+ CreateView.SetComment( 'Compute Node' )
+ CreateView.Coords( 221 , 563 )
+ ICreateViewaVisu = CreateView.InPort( 'aVisu' , 'objref' )
+ ICreateViewaResult = CreateView.InPort( 'aResult' , 'objref' )
+ ICreateViewGate = CreateView.GetInPort( 'Gate' )
+ OCreateViewaView = CreateView.OutPort( 'aView' , 'objref' )
+ OCreateViewtheVisu = CreateView.OutPort( 'theVisu' , 'objref' )
+ OCreateViewtheResult = CreateView.OutPort( 'theResult' , 'objref' )
+ OCreateViewGate = CreateView.GetOutPort( 'Gate' )
+
+ # Creation of Loop Nodes
+ PyInit = []
+ PyInit.append( 'def Init(index,min,max,aVisu,aView,myResult,x1): ' )
+ PyInit.append( ' if max >= min : ' )
+ PyInit.append( ' index = min ' )
+ PyInit.append( ' else : ' )
+ PyInit.append( ' index = max ' )
+ PyInit.append( ' print "---- Init ",index,min,max,aVisu,aView,myResult,x1 ' )
+ PyInit.append( ' return index,min,max,aVisu,aView,myResult,x1 ' )
+ PyMoreInit = []
+ PyMoreInit.append( 'def More(index,min,max,aVisu,aView,myResult,x1): ' )
+ PyMoreInit.append( ' if max >= index : ' )
+ PyMoreInit.append( ' DoLoop = 1 ' )
+ PyMoreInit.append( ' else : ' )
+ PyMoreInit.append( ' DoLoop = 0 ' )
+ PyMoreInit.append( ' print "---- More",index,min,max,aVisu,aView,myResult,x1 ' )
+ PyMoreInit.append( ' return DoLoop,index,min,max,aVisu,aView,myResult,x1 ' )
+ PyNextInit = []
+ PyNextInit.append( 'def Next(index,min,max,aVisu,aView,myResult,x1): ' )
+ PyNextInit.append( ' index = index + 1 ' )
+ PyNextInit.append( ' x1=x1+1.0 ' )
+ PyNextInit.append( ' print "---- Next",index,min,max,aVisu,aView,myResult,x1 ' )
+ PyNextInit.append( ' return index,min,max,aVisu,aView,myResult,x1 ' )
+ Init,EndOfInit = aNewDataFlow.LNode( 'Init' , PyInit , 'More' , PyMoreInit , 'Next' , PyNextInit )
+ EndOfInit.SetName( 'EndOfInit' )
+ EndOfInit.SetAuthor( '' )
+ EndOfInit.SetComment( 'Compute Node' )
+ EndOfInit.Coords( 797 , 507 )
+ PyEndOfInit = []
+ EndOfInit.SetPyFunction( '' , PyEndOfInit )
+ IInitDoLoop = Init.GetInPort( 'DoLoop' )
+ IInitindex = Init.InPort( 'index' , 'long' )
+ IInitmin = Init.InPort( 'min' , 'long' )
+ IInitmax = Init.InPort( 'max' , 'long' )
+ IInitaVisu = Init.InPort( 'aVisu' , 'objref' )
+ IInitaView = Init.InPort( 'aView' , 'objref' )
+ IInitaResult = Init.InPort( 'aResult' , 'objref' )
+ IInitx1 = Init.InPort( 'x1' , 'double' )
+ IInitGate = Init.GetInPort( 'Gate' )
+ OInitDoLoop = Init.GetOutPort( 'DoLoop' )
+ OInitindex = Init.GetOutPort( 'index' )
+ OInitmin = Init.GetOutPort( 'min' )
+ OInitmax = Init.GetOutPort( 'max' )
+ OInitaVisu = Init.GetOutPort( 'aVisu' )
+ OInitaView = Init.GetOutPort( 'aView' )
+ OInitaResult = Init.GetOutPort( 'aResult' )
+ OInitx1 = Init.GetOutPort( 'x1' )
+ IEndOfInitDoLoop = EndOfInit.GetInPort( 'DoLoop' )
+ IEndOfInitindex = EndOfInit.GetInPort( 'index' )
+ IEndOfInitmin = EndOfInit.GetInPort( 'min' )
+ IEndOfInitmax = EndOfInit.GetInPort( 'max' )
+ IEndOfInitaVisu = EndOfInit.GetInPort( 'aVisu' )
+ IEndOfInitaView = EndOfInit.GetInPort( 'aView' )
+ IEndOfInitaResult = EndOfInit.GetInPort( 'aResult' )
+ IEndOfInitx1 = EndOfInit.GetInPort( 'x1' )
+ IEndOfInitGate = EndOfInit.GetInPort( 'Gate' )
+ OEndOfInitDoLoop = EndOfInit.GetOutPort( 'DoLoop' )
+ OEndOfInitindex = EndOfInit.GetOutPort( 'index' )
+ OEndOfInitmin = EndOfInit.GetOutPort( 'min' )
+ OEndOfInitmax = EndOfInit.GetOutPort( 'max' )
+ OEndOfInitaVisu = EndOfInit.GetOutPort( 'aVisu' )
+ OEndOfInitaView = EndOfInit.GetOutPort( 'aView' )
+ OEndOfInitaResult = EndOfInit.GetOutPort( 'aResult' )
+ OEndOfInitx1 = EndOfInit.GetOutPort( 'x1' )
+ OEndOfInitGate = EndOfInit.GetOutPort( 'Gate' )
+ Init.SetName( 'Init' )
+ Init.SetAuthor( '' )
+ Init.SetComment( 'Compute Node' )
+ Init.Coords( 428 , 493 )
+
+ PyLoopOnViews = []
+ PyLoopOnViews.append( 'def InitViews( aVisu,aResult,ViewCount,MinCount,MaxCount ): ' )
+ PyLoopOnViews.append( ' ViewCount=MinCount ' )
+ PyLoopOnViews.append( ' return aVisu,aResult,ViewCount,MinCount,MaxCount ' )
+ PyMoreLoopOnViews = []
+ PyMoreLoopOnViews.append( 'def MoreViews( aVisu,aResult,ViewCount,MinCount,MaxCount ): ' )
+ PyMoreLoopOnViews.append( ' if ViewCount < MaxCount: ' )
+ PyMoreLoopOnViews.append( ' return 1,aVisu,aResult,ViewCount,MinCount,MaxCount ' )
+ PyMoreLoopOnViews.append( ' return 0,aVisu,aResult,ViewCount,MinCount,MaxCount ' )
+ PyNextLoopOnViews = []
+ PyNextLoopOnViews.append( 'def NextViews( aVisu,aResult,ViewCount,MinCount,MaxCount ): ' )
+ PyNextLoopOnViews.append( ' ViewCount = ViewCount + 1 ' )
+ PyNextLoopOnViews.append( ' return aVisu,aResult,ViewCount,MinCount,MaxCount ' )
+ LoopOnViews,EndOfLoopOnViews = aNewDataFlow.LNode( 'InitViews' , PyLoopOnViews , 'MoreViews' , PyMoreLoopOnViews , 'NextViews' , PyNextLoopOnViews )
+ EndOfLoopOnViews.SetName( 'EndOfLoopOnViews' )
+ EndOfLoopOnViews.SetAuthor( '' )
+ EndOfLoopOnViews.SetComment( 'Compute Node' )
+ EndOfLoopOnViews.Coords( 773 , 224 )
+ PyEndOfLoopOnViews = []
+ EndOfLoopOnViews.SetPyFunction( 'EndLoop' , PyEndOfLoopOnViews )
+ ILoopOnViewsDoLoop = LoopOnViews.GetInPort( 'DoLoop' )
+ ILoopOnViewsaVisu = LoopOnViews.InPort( 'aVisu' , 'objref' )
+ ILoopOnViewsaResult = LoopOnViews.InPort( 'aResult' , 'objref' )
+ ILoopOnViewsViewCount = LoopOnViews.InPort( 'ViewCount' , 'int' )
+ ILoopOnViewsMinCount = LoopOnViews.InPort( 'MinCount' , 'int' )
+ ILoopOnViewsMaxCount = LoopOnViews.InPort( 'MaxCount' , 'int' )
+ ILoopOnViewsGate = LoopOnViews.GetInPort( 'Gate' )
+ OLoopOnViewsDoLoop = LoopOnViews.GetOutPort( 'DoLoop' )
+ OLoopOnViewsaVisu = LoopOnViews.GetOutPort( 'aVisu' )
+ OLoopOnViewsaResult = LoopOnViews.GetOutPort( 'aResult' )
+ OLoopOnViewsViewCount = LoopOnViews.GetOutPort( 'ViewCount' )
+ OLoopOnViewsMinCount = LoopOnViews.GetOutPort( 'MinCount' )
+ OLoopOnViewsMaxCount = LoopOnViews.GetOutPort( 'MaxCount' )
+ IEndOfLoopOnViewsDoLoop = EndOfLoopOnViews.GetInPort( 'DoLoop' )
+ IEndOfLoopOnViewsaVisu = EndOfLoopOnViews.GetInPort( 'aVisu' )
+ IEndOfLoopOnViewsaResult = EndOfLoopOnViews.GetInPort( 'aResult' )
+ IEndOfLoopOnViewsViewCount = EndOfLoopOnViews.GetInPort( 'ViewCount' )
+ IEndOfLoopOnViewsMinCount = EndOfLoopOnViews.GetInPort( 'MinCount' )
+ IEndOfLoopOnViewsMaxCount = EndOfLoopOnViews.GetInPort( 'MaxCount' )
+ IEndOfLoopOnViewsGate = EndOfLoopOnViews.GetInPort( 'Gate' )
+ OEndOfLoopOnViewsDoLoop = EndOfLoopOnViews.GetOutPort( 'DoLoop' )
+ OEndOfLoopOnViewsaVisu = EndOfLoopOnViews.GetOutPort( 'aVisu' )
+ OEndOfLoopOnViewsaResult = EndOfLoopOnViews.GetOutPort( 'aResult' )
+ OEndOfLoopOnViewsViewCount = EndOfLoopOnViews.GetOutPort( 'ViewCount' )
+ OEndOfLoopOnViewsMinCount = EndOfLoopOnViews.GetOutPort( 'MinCount' )
+ OEndOfLoopOnViewsMaxCount = EndOfLoopOnViews.GetOutPort( 'MaxCount' )
+ OEndOfLoopOnViewsGate = EndOfLoopOnViews.GetOutPort( 'Gate' )
+ LoopOnViews.SetName( 'LoopOnViews' )
+ LoopOnViews.SetAuthor( '' )
+ LoopOnViews.SetComment( 'Compute Node' )
+ LoopOnViews.Coords( 219 , 218 )
+
+ # Creation of Links
+ LInitDisplayaVisuLoopOnViewsaVisu = aNewDataFlow.Link( OInitDisplayaVisu , ILoopOnViewsaVisu )
+
+ LInitDisplaymyResultLoopOnViewsaResult = aNewDataFlow.Link( OInitDisplaymyResult , ILoopOnViewsaResult )
+
+ LInitindexEndOfInitindex = aNewDataFlow.Link( OInitindex , IEndOfInitindex )
+
+ LInitindexDisplayVitesseindex = aNewDataFlow.Link( OInitindex , IDisplayVitesseindex )
+ LInitindexDisplayVitesseindex.AddCoord( 1 , 590 , 587 )
+ LInitindexDisplayVitesseindex.AddCoord( 2 , 591 , 527 )
+
+ LInitminEndOfInitmin = aNewDataFlow.Link( OInitmin , IEndOfInitmin )
+
+ LInitmaxEndOfInitmax = aNewDataFlow.Link( OInitmax , IEndOfInitmax )
+
+ LInitaVisuEndOfInitaVisu = aNewDataFlow.Link( OInitaVisu , IEndOfInitaVisu )
+
+ LInitaVisuDisplayVitesseaVisu = aNewDataFlow.Link( OInitaVisu , IDisplayVitesseaVisu )
+
+ LInitaViewEndOfInitaView = aNewDataFlow.Link( OInitaView , IEndOfInitaView )
+
+ LInitaViewDisplayVitesseaView = aNewDataFlow.Link( OInitaView , IDisplayVitesseaView )
+
+ LInitaResultDisplayVitesseaResult = aNewDataFlow.Link( OInitaResult , IDisplayVitesseaResult )
+
+ LInitx1EndOfInitx1 = aNewDataFlow.Link( OInitx1 , IEndOfInitx1 )
+
+ LInitx1DisplayVitessex1 = aNewDataFlow.Link( OInitx1 , IDisplayVitessex1 )
+
+ LEndOfInitaResultEndOfLoopOnViewsaResult = aNewDataFlow.Link( OEndOfInitaResult , IEndOfLoopOnViewsaResult )
+ LEndOfInitaResultEndOfLoopOnViewsaResult.AddCoord( 1 , 762 , 288 )
+ LEndOfInitaResultEndOfLoopOnViewsaResult.AddCoord( 2 , 763 , 424 )
+ LEndOfInitaResultEndOfLoopOnViewsaResult.AddCoord( 3 , 972 , 425 )
+ LEndOfInitaResultEndOfLoopOnViewsaResult.AddCoord( 4 , 971 , 687 )
+
+ LDisplayVitessetheResultEndOfInitaResult = aNewDataFlow.Link( ODisplayVitessetheResult , IEndOfInitaResult )
+ LDisplayVitessetheResultEndOfInitaResult.AddCoord( 1 , 787 , 687 )
+ LDisplayVitessetheResultEndOfInitaResult.AddCoord( 2 , 786 , 585 )
+
+ LLoopOnViewsaVisuEndOfLoopOnViewsaVisu = aNewDataFlow.Link( OLoopOnViewsaVisu , IEndOfLoopOnViewsaVisu )
+
+ LLoopOnViewsaVisuCreateViewaVisu = aNewDataFlow.Link( OLoopOnViewsaVisu , ICreateViewaVisu )
+ LLoopOnViewsaVisuCreateViewaVisu.AddCoord( 1 , 186 , 643 )
+ LLoopOnViewsaVisuCreateViewaVisu.AddCoord( 2 , 186 , 442 )
+ LLoopOnViewsaVisuCreateViewaVisu.AddCoord( 3 , 400 , 441 )
+ LLoopOnViewsaVisuCreateViewaVisu.AddCoord( 4 , 401 , 251 )
+
+ LLoopOnViewsaResultCreateViewaResult = aNewDataFlow.Link( OLoopOnViewsaResult , ICreateViewaResult )
+ LLoopOnViewsaResultCreateViewaResult.AddCoord( 1 , 169 , 671 )
+ LLoopOnViewsaResultCreateViewaResult.AddCoord( 2 , 170 , 412 )
+ LLoopOnViewsaResultCreateViewaResult.AddCoord( 3 , 386 , 413 )
+ LLoopOnViewsaResultCreateViewaResult.AddCoord( 4 , 387 , 280 )
+
+ LLoopOnViewsViewCountEndOfLoopOnViewsViewCount = aNewDataFlow.Link( OLoopOnViewsViewCount , IEndOfLoopOnViewsViewCount )
+
+ LLoopOnViewsMinCountEndOfLoopOnViewsMinCount = aNewDataFlow.Link( OLoopOnViewsMinCount , IEndOfLoopOnViewsMinCount )
+
+ LLoopOnViewsMaxCountEndOfLoopOnViewsMaxCount = aNewDataFlow.Link( OLoopOnViewsMaxCount , IEndOfLoopOnViewsMaxCount )
+
+ LCreateViewaViewInitaView = aNewDataFlow.Link( OCreateViewaView , IInitaView )
+
+ LCreateViewtheVisuInitaVisu = aNewDataFlow.Link( OCreateViewtheVisu , IInitaVisu )
+
+ LCreateViewtheResultInitaResult = aNewDataFlow.Link( OCreateViewtheResult , IInitaResult )
+
+ # Input datas
+ IInitindex.Input( 1 )
+ IInitmin.Input( 1 )
+ IInitmax.Input( 10 )
+ IInitx1.Input( 1 )
+ ILoopOnViewsViewCount.Input( 0 )
+ ILoopOnViewsMinCount.Input( 0 )
+ ILoopOnViewsMaxCount.Input( 10 )
+
+ # Output Ports of the graph
+ #OEndOfInitindex = EndOfInit.GetOutPort( 'index' )
+ #OEndOfInitmin = EndOfInit.GetOutPort( 'min' )
+ #OEndOfInitmax = EndOfInit.GetOutPort( 'max' )
+ #OEndOfInitaVisu = EndOfInit.GetOutPort( 'aVisu' )
+ #OEndOfInitaView = EndOfInit.GetOutPort( 'aView' )
+ #OEndOfInitx1 = EndOfInit.GetOutPort( 'x1' )
+ #OEndOfLoopOnViewsaVisu = EndOfLoopOnViews.GetOutPort( 'aVisu' )
+ #OEndOfLoopOnViewsaResult = EndOfLoopOnViews.GetOutPort( 'aResult' )
+ #OEndOfLoopOnViewsViewCount = EndOfLoopOnViews.GetOutPort( 'ViewCount' )
+ #OEndOfLoopOnViewsMinCount = EndOfLoopOnViews.GetOutPort( 'MinCount' )
+ #OEndOfLoopOnViewsMaxCount = EndOfLoopOnViews.GetOutPort( 'MaxCount' )
+ return aNewDataFlow
+
+
+aNewDataFlow = DefaNewDataFlow()
-<!DOCTYPE Dataflow>
+<!DOCTYPE SuperGraph>
+<supergraph>
<dataflow>
<info-list>
<node>
<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>aNewDataFlow</node-name>
- <kind>1</kind>
- <coupled-node>?</coupled-node>
- <service>
+ <interface-name>?</interface-name>
+ <node-name>aNewDataFlow</node-name>
+ <kind>1</kind>
+ <coupled-node>?</coupled-node>
+ <service>
<service-name>aNewDataFlow</service-name>
- <inParameter-list>
+ <inParameter-list>
<inParameter>
<inParameter-type>long</inParameter-type>
- <inParameter-name>Init\index</inParameter-name> </inParameter>
- <inParameter>
+ <inParameter-name>Init__index</inParameter-name> </inParameter>
+ <inParameter>
<inParameter-type>long</inParameter-type>
- <inParameter-name>Init\min</inParameter-name> </inParameter>
- <inParameter>
+ <inParameter-name>Init__min</inParameter-name> </inParameter>
+ <inParameter>
<inParameter-type>long</inParameter-type>
- <inParameter-name>Init\max</inParameter-name> </inParameter>
- <inParameter>
+ <inParameter-name>Init__max</inParameter-name> </inParameter>
+ <inParameter>
<inParameter-type>double</inParameter-type>
- <inParameter-name>Init\x1</inParameter-name> </inParameter>
- <inParameter>
+ <inParameter-name>Init__x1</inParameter-name> </inParameter>
+ <inParameter>
<inParameter-type>int</inParameter-type>
- <inParameter-name>LoopOnViews\ViewCount</inParameter-name> </inParameter>
- <inParameter>
+ <inParameter-name>LoopOnViews__ViewCount</inParameter-name> </inParameter>
+ <inParameter>
<inParameter-type>int</inParameter-type>
- <inParameter-name>LoopOnViews\MinCount</inParameter-name> </inParameter>
- <inParameter>
+ <inParameter-name>LoopOnViews__MinCount</inParameter-name> </inParameter>
+ <inParameter>
<inParameter-type>int</inParameter-type>
- <inParameter-name>LoopOnViews\MaxCount</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
+ <inParameter-name>LoopOnViews__MaxCount</inParameter-name> </inParameter> </inParameter-list>
+ <outParameter-list>
<outParameter>
<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInit\index</outParameter-name> </outParameter>
- <outParameter>
+ <outParameter-name>EndOfInit__index</outParameter-name> </outParameter>
+ <outParameter>
<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInit\min</outParameter-name> </outParameter>
- <outParameter>
+ <outParameter-name>EndOfInit__min</outParameter-name> </outParameter>
+ <outParameter>
<outParameter-type>long</outParameter-type>
- <outParameter-name>EndOfInit\max</outParameter-name> </outParameter>
- <outParameter>
+ <outParameter-name>EndOfInit__max</outParameter-name> </outParameter>
+ <outParameter>
<outParameter-type>objref</outParameter-type>
- <outParameter-name>EndOfInit\aVisu</outParameter-name> </outParameter>
- <outParameter>
+ <outParameter-name>EndOfInit__aVisu</outParameter-name> </outParameter>
+ <outParameter>
<outParameter-type>objref</outParameter-type>
- <outParameter-name>EndOfInit\aView</outParameter-name> </outParameter>
- <outParameter>
+ <outParameter-name>EndOfInit__aView</outParameter-name> </outParameter>
+ <outParameter>
<outParameter-type>double</outParameter-type>
- <outParameter-name>EndOfInit\x1</outParameter-name> </outParameter>
- <outParameter>
+ <outParameter-name>EndOfInit__x1</outParameter-name> </outParameter>
+ <outParameter>
<outParameter-type>objref</outParameter-type>
- <outParameter-name>EndOfLoopOnViews\aVisu</outParameter-name> </outParameter>
- <outParameter>
+ <outParameter-name>EndOfLoopOnViews__aVisu</outParameter-name> </outParameter>
+ <outParameter>
<outParameter-type>objref</outParameter-type>
- <outParameter-name>EndOfLoopOnViews\aResult</outParameter-name> </outParameter>
- <outParameter>
+ <outParameter-name>EndOfLoopOnViews__aResult</outParameter-name> </outParameter>
+ <outParameter>
<outParameter-type>int</outParameter-type>
- <outParameter-name>EndOfLoopOnViews\ViewCount</outParameter-name> </outParameter>
- <outParameter>
+ <outParameter-name>EndOfLoopOnViews__ViewCount</outParameter-name> </outParameter>
+ <outParameter>
<outParameter-type>int</outParameter-type>
- <outParameter-name>EndOfLoopOnViews\MinCount</outParameter-name> </outParameter>
- <outParameter>
+ <outParameter-name>EndOfLoopOnViews__MinCount</outParameter-name> </outParameter>
+ <outParameter>
<outParameter-type>int</outParameter-type>
- <outParameter-name>EndOfLoopOnViews\MaxCount</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list/>
- <creation-date>13/11/2003 - 11:15:53</creation-date>
- <lastmodification-date>6/5/2004 - 12:59:28</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>0</x-position>
- <y-position>0</y-position> </node> </info-list>
- <node-list>
+ <outParameter-name>EndOfLoopOnViews__MaxCount</outParameter-name> </outParameter> </outParameter-list> </service>
+ <DataStream-list/>
+ <PyFunction-list/>
+ <creation-date>13/11/2003 - 11:15:53</creation-date>
+ <lastmodification-date>26/1/2005 - 15:3:36</lastmodification-date>
+ <editor-release>1.05</editor-release>
+ <author>?</author>
+ <container>?</container>
+ <comment>?</comment>
+ <x-position>0</x-position>
+ <y-position>0</y-position> </node> </info-list>
+ <node-list>
<node>
<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>InitDisplay</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
+ <interface-name>?</interface-name>
+ <node-name>InitDisplay</node-name>
+ <kind>3</kind>
+ <coupled-node>?</coupled-node>
+ <service>
<service-name>InitDisplay</service-name>
- <inParameter-list/>
- <outParameter-list>
+ <inParameter-list/>
+ <outParameter-list>
<outParameter>
<outParameter-type>objref</outParameter-type>
- <outParameter-name>aVisu</outParameter-name> </outParameter>
- <outParameter>
+ <outParameter-name>aVisu</outParameter-name> </outParameter>
+ <outParameter>
<outParameter-type>objref</outParameter-type>
- <outParameter-name>myResult</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
+ <outParameter-name>myResult</outParameter-name> </outParameter> </outParameter-list> </service>
+ <DataStream-list/>
+ <PyFunction-list>
<PyFunction>
<FuncName>InitDisplay</FuncName>
- <PyFunc><![CDATA[import os ]]></PyFunc>
- <PyFunc><![CDATA[import time ]]></PyFunc>
- <PyFunc><![CDATA[from LifeCycleCORBA import * ]]></PyFunc>
- <PyFunc><![CDATA[from SALOME_NamingServicePy import * ]]></PyFunc>
- <PyFunc><![CDATA[import SALOMEDS ]]></PyFunc>
- <PyFunc><![CDATA[from VISU import * ]]></PyFunc>
- <PyFunc><![CDATA[def InitDisplay(): ]]></PyFunc>
- <PyFunc><![CDATA[ # --- initialize the ORB ]]></PyFunc>
- <PyFunc><![CDATA[ orb = CORBA.ORB_init([], CORBA.ORB_ID) ]]></PyFunc>
- <PyFunc><![CDATA[ # --- create a LifeCycleCORBA instance ]]></PyFunc>
- <PyFunc><![CDATA[ lcc = LifeCycleCORBA(orb) ]]></PyFunc>
- <PyFunc><![CDATA[ # --- create a naming service instance ]]></PyFunc>
- <PyFunc><![CDATA[ naming_service = SALOME_NamingServicePy_i(orb) ]]></PyFunc>
- <PyFunc><![CDATA[ # --- get Study Manager reference ]]></PyFunc>
- <PyFunc><![CDATA[ obj = naming_service.Resolve('myStudyManager') ]]></PyFunc>
- <PyFunc><![CDATA[ StudyManager = obj._narrow(SALOMEDS.StudyManager) ]]></PyFunc>
- <PyFunc><![CDATA[ # --- load visu component ]]></PyFunc>
- <PyFunc><![CDATA[ aVisu = lcc.FindOrLoadComponent("FactoryServer","VISU") ]]></PyFunc>
- <PyFunc><![CDATA[ aStudy = StudyManager.GetStudyByID(1) ]]></PyFunc>
- <PyFunc><![CDATA[ aVisu.SetCurrentStudy(aStudy) ]]></PyFunc>
- <PyFunc><![CDATA[ print "InitDisplay --> aVisu ", aVisu ]]></PyFunc>
- <PyFunc><![CDATA[ time.sleep(2) ]]></PyFunc>
- <PyFunc><![CDATA[ #aViewManager=aVisu.GetViewManager() ]]></PyFunc>
- <PyFunc><![CDATA[ #print "InitDisplay --> aViewManager ", aViewManager ]]></PyFunc>
- <PyFunc><![CDATA[ #time.sleep(2) ]]></PyFunc>
- <PyFunc><![CDATA[ #aView=aViewManager.GetCurrentView() ]]></PyFunc>
- <PyFunc><![CDATA[ #aView=aViewManager.Create3DView() ]]></PyFunc>
- <PyFunc><![CDATA[ #print "InitDisplay --> aView ", aView ]]></PyFunc>
- <PyFunc><![CDATA[ #time.sleep(2) ]]></PyFunc>
- <PyFunc><![CDATA[ medFile = "TimeStamps.med" ]]></PyFunc>
- <PyFunc><![CDATA[ medFile = os.getenv('KERNEL_ROOT_DIR') + '/examples/' + medFile ]]></PyFunc>
- <PyFunc><![CDATA[ myResult = aVisu.ImportFile(medFile) ]]></PyFunc>
- <PyFunc><![CDATA[ print "InitDisplay --> myResult ", myResult ]]></PyFunc>
- <PyFunc><![CDATA[ return aVisu,myResult ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/5/2004 - 12:59:28</creation-date>
- <lastmodification-date>6/5/2004 - 12:59:28</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>13</x-position>
- <y-position>173</y-position> </node>
- <node>
+ <PyFunc><![CDATA[import os ]]></PyFunc>
+ <PyFunc><![CDATA[import time ]]></PyFunc>
+ <PyFunc><![CDATA[from LifeCycleCORBA import * ]]></PyFunc>
+ <PyFunc><![CDATA[from SALOME_NamingServicePy import * ]]></PyFunc>
+ <PyFunc><![CDATA[import SALOMEDS ]]></PyFunc>
+ <PyFunc><![CDATA[from VISU import * ]]></PyFunc>
+ <PyFunc><![CDATA[def InitDisplay(): ]]></PyFunc>
+ <PyFunc><![CDATA[ # --- initialize the ORB ]]></PyFunc>
+ <PyFunc><![CDATA[ orb = CORBA.ORB_init([], CORBA.ORB_ID) ]]></PyFunc>
+ <PyFunc><![CDATA[ # --- create a LifeCycleCORBA instance ]]></PyFunc>
+ <PyFunc><![CDATA[ lcc = LifeCycleCORBA(orb) ]]></PyFunc>
+ <PyFunc><![CDATA[ # --- create a naming service instance ]]></PyFunc>
+ <PyFunc><![CDATA[ naming_service = SALOME_NamingServicePy_i(orb) ]]></PyFunc>
+ <PyFunc><![CDATA[ # --- get Study Manager reference ]]></PyFunc>
+ <PyFunc><![CDATA[ obj = naming_service.Resolve('myStudyManager') ]]></PyFunc>
+ <PyFunc><![CDATA[ StudyManager = obj._narrow(SALOMEDS.StudyManager) ]]></PyFunc>
+ <PyFunc><![CDATA[ # --- load visu component ]]></PyFunc>
+ <PyFunc><![CDATA[ aVisu = lcc.FindOrLoadComponent("FactoryServer","VISU") ]]></PyFunc>
+ <PyFunc><![CDATA[ aStudy = StudyManager.GetStudyByID(1) ]]></PyFunc>
+ <PyFunc><![CDATA[ aVisu.SetCurrentStudy(aStudy) ]]></PyFunc>
+ <PyFunc><![CDATA[ print "InitDisplay --> aVisu ", aVisu ]]></PyFunc>
+ <PyFunc><![CDATA[ time.sleep(2) ]]></PyFunc>
+ <PyFunc><![CDATA[ #aViewManager=aVisu.GetViewManager() ]]></PyFunc>
+ <PyFunc><![CDATA[ #print "InitDisplay --> aViewManager ", aViewManager ]]></PyFunc>
+ <PyFunc><![CDATA[ #time.sleep(2) ]]></PyFunc>
+ <PyFunc><![CDATA[ #aView=aViewManager.GetCurrentView() ]]></PyFunc>
+ <PyFunc><![CDATA[ #aView=aViewManager.Create3DView() ]]></PyFunc>
+ <PyFunc><![CDATA[ #print "InitDisplay --> aView ", aView ]]></PyFunc>
+ <PyFunc><![CDATA[ #time.sleep(2) ]]></PyFunc>
+ <PyFunc><![CDATA[ medFile = "TimeStamps.med" ]]></PyFunc>
+ <PyFunc><![CDATA[ medFile = os.getenv('KERNEL_ROOT_DIR') + '/examples/' + medFile ]]></PyFunc>
+ <PyFunc><![CDATA[ myResult = aVisu.ImportFile(medFile) ]]></PyFunc>
+ <PyFunc><![CDATA[ print "InitDisplay --> myResult ", myResult ]]></PyFunc>
+ <PyFunc><![CDATA[ return aVisu,myResult ]]></PyFunc>
+ <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
+ <creation-date>26/1/2005 - 15:3:29</creation-date>
+ <lastmodification-date>26/1/2005 - 15:3:29</lastmodification-date>
+ <editor-release>1.05</editor-release>
+ <author>?</author>
+ <container>?</container>
+ <comment>Compute Node</comment>
+ <x-position>13</x-position>
+ <y-position>173</y-position> </node>
+ <node>
<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>Init</node-name>
- <kind>4</kind>
- <coupled-node>EndOfInit</coupled-node>
- <service>
+ <interface-name>?</interface-name>
+ <node-name>Init</node-name>
+ <kind>4</kind>
+ <coupled-node>EndOfInit</coupled-node>
+ <service>
<service-name>Init</service-name>
- <inParameter-list>
+ <inParameter-list>
<inParameter>
<inParameter-type>long</inParameter-type>
- <inParameter-name>index</inParameter-name> </inParameter>
- <inParameter>
+ <inParameter-name>index</inParameter-name> </inParameter>
+ <inParameter>
<inParameter-type>long</inParameter-type>
- <inParameter-name>min</inParameter-name> </inParameter>
- <inParameter>
+ <inParameter-name>min</inParameter-name> </inParameter>
+ <inParameter>
<inParameter-type>long</inParameter-type>
- <inParameter-name>max</inParameter-name> </inParameter>
- <inParameter>
+ <inParameter-name>max</inParameter-name> </inParameter>
+ <inParameter>
<inParameter-type>objref</inParameter-type>
- <inParameter-name>aVisu</inParameter-name> </inParameter>
- <inParameter>
+ <inParameter-name>aVisu</inParameter-name> </inParameter>
+ <inParameter>
<inParameter-type>objref</inParameter-type>
- <inParameter-name>aView</inParameter-name> </inParameter>
- <inParameter>
+ <inParameter-name>aView</inParameter-name> </inParameter>
+ <inParameter>
<inParameter-type>objref</inParameter-type>
- <inParameter-name>aResult</inParameter-name> </inParameter>
- <inParameter>
+ <inParameter-name>aResult</inParameter-name> </inParameter>
+ <inParameter>
<inParameter-type>double</inParameter-type>
- <inParameter-name>x1</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
+ <inParameter-name>x1</inParameter-name> </inParameter> </inParameter-list>
+ <outParameter-list>
<outParameter>
<outParameter-type>long</outParameter-type>
- <outParameter-name>index</outParameter-name> </outParameter>
- <outParameter>
+ <outParameter-name>index</outParameter-name> </outParameter>
+ <outParameter>
<outParameter-type>long</outParameter-type>
- <outParameter-name>min</outParameter-name> </outParameter>
- <outParameter>
+ <outParameter-name>min</outParameter-name> </outParameter>
+ <outParameter>
<outParameter-type>long</outParameter-type>
- <outParameter-name>max</outParameter-name> </outParameter>
- <outParameter>
+ <outParameter-name>max</outParameter-name> </outParameter>
+ <outParameter>
<outParameter-type>objref</outParameter-type>
- <outParameter-name>aVisu</outParameter-name> </outParameter>
- <outParameter>
+ <outParameter-name>aVisu</outParameter-name> </outParameter>
+ <outParameter>
<outParameter-type>objref</outParameter-type>
- <outParameter-name>aView</outParameter-name> </outParameter>
- <outParameter>
+ <outParameter-name>aView</outParameter-name> </outParameter>
+ <outParameter>
<outParameter-type>objref</outParameter-type>
- <outParameter-name>aResult</outParameter-name> </outParameter>
- <outParameter>
+ <outParameter-name>aResult</outParameter-name> </outParameter>
+ <outParameter>
<outParameter-type>double</outParameter-type>
- <outParameter-name>x1</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
+ <outParameter-name>x1</outParameter-name> </outParameter> </outParameter-list> </service>
+ <DataStream-list/>
+ <PyFunction-list>
<PyFunction>
<FuncName>Init</FuncName>
- <PyFunc><![CDATA[def Init(index,min,max,aVisu,aView,myResult,x1): ]]></PyFunc>
- <PyFunc><![CDATA[ if max >= min : ]]></PyFunc>
- <PyFunc><![CDATA[ index = min ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ index = max ]]></PyFunc>
- <PyFunc><![CDATA[ print "---- Init ",index,min,max,aVisu,aView,myResult,x1 ]]></PyFunc>
- <PyFunc><![CDATA[ return index,min,max,aVisu,aView,myResult,x1 ]]></PyFunc> </PyFunction>
- <PyFunction>
+ <PyFunc><![CDATA[def Init(index,min,max,aVisu,aView,myResult,x1): ]]></PyFunc>
+ <PyFunc><![CDATA[ if max >= min : ]]></PyFunc>
+ <PyFunc><![CDATA[ index = min ]]></PyFunc>
+ <PyFunc><![CDATA[ else : ]]></PyFunc>
+ <PyFunc><![CDATA[ index = max ]]></PyFunc>
+ <PyFunc><![CDATA[ print "---- Init ",index,min,max,aVisu,aView,myResult,x1 ]]></PyFunc>
+ <PyFunc><![CDATA[ return index,min,max,aVisu,aView,myResult,x1 ]]></PyFunc> </PyFunction>
+ <PyFunction>
<FuncName>More</FuncName>
- <PyFunc><![CDATA[def More(index,min,max,aVisu,aView,myResult,x1): ]]></PyFunc>
- <PyFunc><![CDATA[ if max >= index : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 1 ]]></PyFunc>
- <PyFunc><![CDATA[ else : ]]></PyFunc>
- <PyFunc><![CDATA[ DoLoop = 0 ]]></PyFunc>
- <PyFunc><![CDATA[ print "---- More",index,min,max,aVisu,aView,myResult,x1 ]]></PyFunc>
- <PyFunc><![CDATA[ return DoLoop,index,min,max,aVisu,aView,myResult,x1 ]]></PyFunc> </PyFunction>
- <PyFunction>
+ <PyFunc><![CDATA[def More(index,min,max,aVisu,aView,myResult,x1): ]]></PyFunc>
+ <PyFunc><![CDATA[ if max >= index : ]]></PyFunc>
+ <PyFunc><![CDATA[ DoLoop = 1 ]]></PyFunc>
+ <PyFunc><![CDATA[ else : ]]></PyFunc>
+ <PyFunc><![CDATA[ DoLoop = 0 ]]></PyFunc>
+ <PyFunc><![CDATA[ print "---- More",index,min,max,aVisu,aView,myResult,x1 ]]></PyFunc>
+ <PyFunc><![CDATA[ return DoLoop,index,min,max,aVisu,aView,myResult,x1 ]]></PyFunc> </PyFunction>
+ <PyFunction>
<FuncName>Next</FuncName>
- <PyFunc><![CDATA[def Next(index,min,max,aVisu,aView,myResult,x1): ]]></PyFunc>
- <PyFunc><![CDATA[ index = index + 1 ]]></PyFunc>
- <PyFunc><![CDATA[ x1=x1+1.0 ]]></PyFunc>
- <PyFunc><![CDATA[ print "---- Next",index,min,max,aVisu,aView,myResult,x1 ]]></PyFunc>
- <PyFunc><![CDATA[ return index,min,max,aVisu,aView,myResult,x1 ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/5/2004 - 12:59:28</creation-date>
- <lastmodification-date>6/5/2004 - 12:59:28</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>428</x-position>
- <y-position>493</y-position> </node>
- <node>
+ <PyFunc><![CDATA[def Next(index,min,max,aVisu,aView,myResult,x1): ]]></PyFunc>
+ <PyFunc><![CDATA[ index = index + 1 ]]></PyFunc>
+ <PyFunc><![CDATA[ x1=x1+1.0 ]]></PyFunc>
+ <PyFunc><![CDATA[ print "---- Next",index,min,max,aVisu,aView,myResult,x1 ]]></PyFunc>
+ <PyFunc><![CDATA[ return index,min,max,aVisu,aView,myResult,x1 ]]></PyFunc> </PyFunction> </PyFunction-list>
+ <creation-date>26/1/2005 - 15:3:29</creation-date>
+ <lastmodification-date>26/1/2005 - 15:3:29</lastmodification-date>
+ <editor-release>1.05</editor-release>
+ <author>?</author>
+ <container>?</container>
+ <comment>Compute Node</comment>
+ <x-position>428</x-position>
+ <y-position>493</y-position> </node>
+ <node>
<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfInit</node-name>
- <kind>5</kind>
- <coupled-node>Init</coupled-node>
- <service>
+ <interface-name>?</interface-name>
+ <node-name>EndOfInit</node-name>
+ <kind>5</kind>
+ <coupled-node>Init</coupled-node>
+ <service>
<service-name>EndOfInit</service-name>
- <inParameter-list>
+ <inParameter-list>
<inParameter>
<inParameter-type>long</inParameter-type>
- <inParameter-name>index</inParameter-name> </inParameter>
- <inParameter>
+ <inParameter-name>index</inParameter-name> </inParameter>
+ <inParameter>
<inParameter-type>long</inParameter-type>
- <inParameter-name>min</inParameter-name> </inParameter>
- <inParameter>
+ <inParameter-name>min</inParameter-name> </inParameter>
+ <inParameter>
<inParameter-type>long</inParameter-type>
- <inParameter-name>max</inParameter-name> </inParameter>
- <inParameter>
+ <inParameter-name>max</inParameter-name> </inParameter>
+ <inParameter>
<inParameter-type>objref</inParameter-type>
- <inParameter-name>aVisu</inParameter-name> </inParameter>
- <inParameter>
+ <inParameter-name>aVisu</inParameter-name> </inParameter>
+ <inParameter>
<inParameter-type>objref</inParameter-type>
- <inParameter-name>aView</inParameter-name> </inParameter>
- <inParameter>
+ <inParameter-name>aView</inParameter-name> </inParameter>
+ <inParameter>
<inParameter-type>objref</inParameter-type>
- <inParameter-name>aResult</inParameter-name> </inParameter>
- <inParameter>
+ <inParameter-name>aResult</inParameter-name> </inParameter>
+ <inParameter>
<inParameter-type>double</inParameter-type>
- <inParameter-name>x1</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
+ <inParameter-name>x1</inParameter-name> </inParameter> </inParameter-list>
+ <outParameter-list>
<outParameter>
<outParameter-type>long</outParameter-type>
- <outParameter-name>index</outParameter-name> </outParameter>
- <outParameter>
+ <outParameter-name>index</outParameter-name> </outParameter>
+ <outParameter>
<outParameter-type>long</outParameter-type>
- <outParameter-name>min</outParameter-name> </outParameter>
- <outParameter>
+ <outParameter-name>min</outParameter-name> </outParameter>
+ <outParameter>
<outParameter-type>long</outParameter-type>
- <outParameter-name>max</outParameter-name> </outParameter>
- <outParameter>
+ <outParameter-name>max</outParameter-name> </outParameter>
+ <outParameter>
<outParameter-type>objref</outParameter-type>
- <outParameter-name>aVisu</outParameter-name> </outParameter>
- <outParameter>
+ <outParameter-name>aVisu</outParameter-name> </outParameter>
+ <outParameter>
<outParameter-type>objref</outParameter-type>
- <outParameter-name>aView</outParameter-name> </outParameter>
- <outParameter>
+ <outParameter-name>aView</outParameter-name> </outParameter>
+ <outParameter>
<outParameter-type>objref</outParameter-type>
- <outParameter-name>aResult</outParameter-name> </outParameter>
- <outParameter>
+ <outParameter-name>aResult</outParameter-name> </outParameter>
+ <outParameter>
<outParameter-type>double</outParameter-type>
- <outParameter-name>x1</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
+ <outParameter-name>x1</outParameter-name> </outParameter> </outParameter-list> </service>
+ <DataStream-list/>
+ <PyFunction-list>
<PyFunction>
<FuncName>?</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/5/2004 - 12:59:28</creation-date>
- <lastmodification-date>6/5/2004 - 12:59:28</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>797</x-position>
- <y-position>507</y-position> </node>
- <node>
+ <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
+ <creation-date>26/1/2005 - 15:3:29</creation-date>
+ <lastmodification-date>26/1/2005 - 15:3:29</lastmodification-date>
+ <editor-release>1.05</editor-release>
+ <author>?</author>
+ <container>?</container>
+ <comment>Compute Node</comment>
+ <x-position>797</x-position>
+ <y-position>507</y-position> </node>
+ <node>
<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>DisplayVitesse</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
+ <interface-name>?</interface-name>
+ <node-name>DisplayVitesse</node-name>
+ <kind>3</kind>
+ <coupled-node>?</coupled-node>
+ <service>
<service-name>DisplayVitesse</service-name>
- <inParameter-list>
+ <inParameter-list>
<inParameter>
<inParameter-type>string</inParameter-type>
- <inParameter-name>index</inParameter-name> </inParameter>
- <inParameter>
+ <inParameter-name>index</inParameter-name> </inParameter>
+ <inParameter>
<inParameter-type>objref</inParameter-type>
- <inParameter-name>aVisu</inParameter-name> </inParameter>
- <inParameter>
+ <inParameter-name>aVisu</inParameter-name> </inParameter>
+ <inParameter>
<inParameter-type>objref</inParameter-type>
- <inParameter-name>aView</inParameter-name> </inParameter>
- <inParameter>
+ <inParameter-name>aView</inParameter-name> </inParameter>
+ <inParameter>
<inParameter-type>objref</inParameter-type>
- <inParameter-name>aResult</inParameter-name> </inParameter>
- <inParameter>
+ <inParameter-name>aResult</inParameter-name> </inParameter>
+ <inParameter>
<inParameter-type>double</inParameter-type>
- <inParameter-name>x1</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
+ <inParameter-name>x1</inParameter-name> </inParameter> </inParameter-list>
+ <outParameter-list>
<outParameter>
<outParameter-type>objref</outParameter-type>
- <outParameter-name>theResult</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
+ <outParameter-name>theResult</outParameter-name> </outParameter> </outParameter-list> </service>
+ <DataStream-list/>
+ <PyFunction-list>
<PyFunction>
<FuncName>DisplayVitesse</FuncName>
- <PyFunc><![CDATA[import VISU ]]></PyFunc>
- <PyFunc><![CDATA[import os ]]></PyFunc>
- <PyFunc><![CDATA[import time ]]></PyFunc>
- <PyFunc><![CDATA[def DisplayVitesse(index,aVisu,aView,aResult,x1): ]]></PyFunc>
- <PyFunc><![CDATA[ print "----- Display 1 index = ", index,aVisu,aView,aResult,x1 ]]></PyFunc>
- <PyFunc><![CDATA[ aMeshName ="dom" ]]></PyFunc>
- <PyFunc><![CDATA[ myFieldName = "vitesse" ]]></PyFunc>
- <PyFunc><![CDATA[ anEntity = VISU.NODE ]]></PyFunc>
- <PyFunc><![CDATA[ aMesh = aVisu.MeshOnEntity(aResult, aMeshName, anEntity) ]]></PyFunc>
- <PyFunc><![CDATA[ print "----- Display 2 ", aMesh ]]></PyFunc>
- <PyFunc><![CDATA[ aScalarMap=aVisu.ScalarMapOnField(aResult,aMeshName,anEntity,myFieldName,x1) ]]></PyFunc>
- <PyFunc><![CDATA[ print "----- Display 4" ]]></PyFunc>
- <PyFunc><![CDATA[ if aScalarMap is not None: ]]></PyFunc>
- <PyFunc><![CDATA[ aScalarMap.SetScaling(VISU.LINEAR) ]]></PyFunc>
- <PyFunc><![CDATA[ else: ]]></PyFunc>
- <PyFunc><![CDATA[ print "Null scalar map is created" ]]></PyFunc>
- <PyFunc><![CDATA[ print "----- Display 5" ]]></PyFunc>
- <PyFunc><![CDATA[ aView.DisplayOnly(aScalarMap) ]]></PyFunc>
- <PyFunc><![CDATA[ aView.FitAll() ]]></PyFunc>
- <PyFunc><![CDATA[ aView.Update() ]]></PyFunc>
- <PyFunc><![CDATA[ print "----- Display 6" ]]></PyFunc>
- <PyFunc><![CDATA[ theResult=aResult ]]></PyFunc>
- <PyFunc><![CDATA[ #time.sleep(2) ]]></PyFunc>
- <PyFunc><![CDATA[ return theResult ]]></PyFunc>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/5/2004 - 12:59:28</creation-date>
- <lastmodification-date>6/5/2004 - 12:59:28</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>609</x-position>
- <y-position>506</y-position> </node>
- <node>
+ <PyFunc><![CDATA[import VISU ]]></PyFunc>
+ <PyFunc><![CDATA[import os ]]></PyFunc>
+ <PyFunc><![CDATA[import time ]]></PyFunc>
+ <PyFunc><![CDATA[def DisplayVitesse(index,aVisu,aView,aResult,x1): ]]></PyFunc>
+ <PyFunc><![CDATA[ print "----- Display 1 index = ", index,aVisu,aView,aResult,x1 ]]></PyFunc>
+ <PyFunc><![CDATA[ aMeshName ="dom" ]]></PyFunc>
+ <PyFunc><![CDATA[ myFieldName = "vitesse" ]]></PyFunc>
+ <PyFunc><![CDATA[ anEntity = VISU.NODE ]]></PyFunc>
+ <PyFunc><![CDATA[ aMesh = aVisu.MeshOnEntity(aResult, aMeshName, anEntity) ]]></PyFunc>
+ <PyFunc><![CDATA[ print "----- Display 2 ", aMesh ]]></PyFunc>
+ <PyFunc><![CDATA[ aScalarMap=aVisu.ScalarMapOnField(aResult,aMeshName,anEntity,myFieldName,x1) ]]></PyFunc>
+ <PyFunc><![CDATA[ print "----- Display 4" ]]></PyFunc>
+ <PyFunc><![CDATA[ if aScalarMap is not None: ]]></PyFunc>
+ <PyFunc><![CDATA[ aScalarMap.SetScaling(VISU.LINEAR) ]]></PyFunc>
+ <PyFunc><![CDATA[ else: ]]></PyFunc>
+ <PyFunc><![CDATA[ print "Null scalar map is created" ]]></PyFunc>
+ <PyFunc><![CDATA[ print "----- Display 5" ]]></PyFunc>
+ <PyFunc><![CDATA[ aView.DisplayOnly(aScalarMap) ]]></PyFunc>
+ <PyFunc><![CDATA[ aView.FitAll() ]]></PyFunc>
+ <PyFunc><![CDATA[ aView.Update() ]]></PyFunc>
+ <PyFunc><![CDATA[ print "----- Display 6" ]]></PyFunc>
+ <PyFunc><![CDATA[ theResult=aResult ]]></PyFunc>
+ <PyFunc><![CDATA[ #time.sleep(2) ]]></PyFunc>
+ <PyFunc><![CDATA[ return theResult ]]></PyFunc>
+ <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
+ <creation-date>26/1/2005 - 15:3:29</creation-date>
+ <lastmodification-date>26/1/2005 - 15:3:29</lastmodification-date>
+ <editor-release>1.05</editor-release>
+ <author>?</author>
+ <container>?</container>
+ <comment>Compute Node</comment>
+ <x-position>609</x-position>
+ <y-position>506</y-position> </node>
+ <node>
<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>LoopOnViews</node-name>
- <kind>4</kind>
- <coupled-node>EndOfLoopOnViews</coupled-node>
- <service>
+ <interface-name>?</interface-name>
+ <node-name>LoopOnViews</node-name>
+ <kind>4</kind>
+ <coupled-node>EndOfLoopOnViews</coupled-node>
+ <service>
<service-name>LoopOnViews</service-name>
- <inParameter-list>
+ <inParameter-list>
<inParameter>
<inParameter-type>objref</inParameter-type>
- <inParameter-name>aVisu</inParameter-name> </inParameter>
- <inParameter>
+ <inParameter-name>aVisu</inParameter-name> </inParameter>
+ <inParameter>
<inParameter-type>objref</inParameter-type>
- <inParameter-name>aResult</inParameter-name> </inParameter>
- <inParameter>
+ <inParameter-name>aResult</inParameter-name> </inParameter>
+ <inParameter>
<inParameter-type>int</inParameter-type>
- <inParameter-name>ViewCount</inParameter-name> </inParameter>
- <inParameter>
+ <inParameter-name>ViewCount</inParameter-name> </inParameter>
+ <inParameter>
<inParameter-type>int</inParameter-type>
- <inParameter-name>MinCount</inParameter-name> </inParameter>
- <inParameter>
+ <inParameter-name>MinCount</inParameter-name> </inParameter>
+ <inParameter>
<inParameter-type>int</inParameter-type>
- <inParameter-name>MaxCount</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
+ <inParameter-name>MaxCount</inParameter-name> </inParameter> </inParameter-list>
+ <outParameter-list>
<outParameter>
<outParameter-type>objref</outParameter-type>
- <outParameter-name>aVisu</outParameter-name> </outParameter>
- <outParameter>
+ <outParameter-name>aVisu</outParameter-name> </outParameter>
+ <outParameter>
<outParameter-type>objref</outParameter-type>
- <outParameter-name>aResult</outParameter-name> </outParameter>
- <outParameter>
+ <outParameter-name>aResult</outParameter-name> </outParameter>
+ <outParameter>
<outParameter-type>int</outParameter-type>
- <outParameter-name>ViewCount</outParameter-name> </outParameter>
- <outParameter>
+ <outParameter-name>ViewCount</outParameter-name> </outParameter>
+ <outParameter>
<outParameter-type>int</outParameter-type>
- <outParameter-name>MinCount</outParameter-name> </outParameter>
- <outParameter>
+ <outParameter-name>MinCount</outParameter-name> </outParameter>
+ <outParameter>
<outParameter-type>int</outParameter-type>
- <outParameter-name>MaxCount</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
+ <outParameter-name>MaxCount</outParameter-name> </outParameter> </outParameter-list> </service>
+ <DataStream-list/>
+ <PyFunction-list>
<PyFunction>
<FuncName>InitViews</FuncName>
- <PyFunc><![CDATA[def InitViews( aVisu,aResult,ViewCount,MinCount,MaxCount ): ]]></PyFunc>
- <PyFunc><![CDATA[ ViewCount=MinCount ]]></PyFunc>
- <PyFunc><![CDATA[ return aVisu,aResult,ViewCount,MinCount,MaxCount ]]></PyFunc> </PyFunction>
- <PyFunction>
+ <PyFunc><![CDATA[def InitViews( aVisu,aResult,ViewCount,MinCount,MaxCount ): ]]></PyFunc>
+ <PyFunc><![CDATA[ ViewCount=MinCount ]]></PyFunc>
+ <PyFunc><![CDATA[ return aVisu,aResult,ViewCount,MinCount,MaxCount ]]></PyFunc> </PyFunction>
+ <PyFunction>
<FuncName>MoreViews</FuncName>
- <PyFunc><![CDATA[def MoreViews( aVisu,aResult,ViewCount,MinCount,MaxCount ): ]]></PyFunc>
- <PyFunc><![CDATA[ if ViewCount < MaxCount: ]]></PyFunc>
- <PyFunc><![CDATA[ return 1,aVisu,aResult,ViewCount,MinCount,MaxCount ]]></PyFunc>
- <PyFunc><![CDATA[ return 0,aVisu,aResult,ViewCount,MinCount,MaxCount ]]></PyFunc> </PyFunction>
- <PyFunction>
+ <PyFunc><![CDATA[def MoreViews( aVisu,aResult,ViewCount,MinCount,MaxCount ): ]]></PyFunc>
+ <PyFunc><![CDATA[ if ViewCount < MaxCount: ]]></PyFunc>
+ <PyFunc><![CDATA[ return 1,aVisu,aResult,ViewCount,MinCount,MaxCount ]]></PyFunc>
+ <PyFunc><![CDATA[ return 0,aVisu,aResult,ViewCount,MinCount,MaxCount ]]></PyFunc> </PyFunction>
+ <PyFunction>
<FuncName>NextViews</FuncName>
- <PyFunc><![CDATA[def NextViews( aVisu,aResult,ViewCount,MinCount,MaxCount ): ]]></PyFunc>
- <PyFunc><![CDATA[ ViewCount = ViewCount + 1 ]]></PyFunc>
- <PyFunc><![CDATA[ return aVisu,aResult,ViewCount,MinCount,MaxCount ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/5/2004 - 12:59:28</creation-date>
- <lastmodification-date>6/5/2004 - 12:59:28</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>219</x-position>
- <y-position>218</y-position> </node>
- <node>
+ <PyFunc><![CDATA[def NextViews( aVisu,aResult,ViewCount,MinCount,MaxCount ): ]]></PyFunc>
+ <PyFunc><![CDATA[ ViewCount = ViewCount + 1 ]]></PyFunc>
+ <PyFunc><![CDATA[ return aVisu,aResult,ViewCount,MinCount,MaxCount ]]></PyFunc> </PyFunction> </PyFunction-list>
+ <creation-date>26/1/2005 - 15:3:29</creation-date>
+ <lastmodification-date>26/1/2005 - 15:3:29</lastmodification-date>
+ <editor-release>1.05</editor-release>
+ <author>?</author>
+ <container>?</container>
+ <comment>Compute Node</comment>
+ <x-position>219</x-position>
+ <y-position>218</y-position> </node>
+ <node>
<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>EndOfLoopOnViews</node-name>
- <kind>5</kind>
- <coupled-node>LoopOnViews</coupled-node>
- <service>
+ <interface-name>?</interface-name>
+ <node-name>EndOfLoopOnViews</node-name>
+ <kind>5</kind>
+ <coupled-node>LoopOnViews</coupled-node>
+ <service>
<service-name>EndOfLoopOnViews</service-name>
- <inParameter-list>
+ <inParameter-list>
<inParameter>
<inParameter-type>objref</inParameter-type>
- <inParameter-name>aVisu</inParameter-name> </inParameter>
- <inParameter>
+ <inParameter-name>aVisu</inParameter-name> </inParameter>
+ <inParameter>
<inParameter-type>objref</inParameter-type>
- <inParameter-name>aResult</inParameter-name> </inParameter>
- <inParameter>
+ <inParameter-name>aResult</inParameter-name> </inParameter>
+ <inParameter>
<inParameter-type>int</inParameter-type>
- <inParameter-name>ViewCount</inParameter-name> </inParameter>
- <inParameter>
+ <inParameter-name>ViewCount</inParameter-name> </inParameter>
+ <inParameter>
<inParameter-type>int</inParameter-type>
- <inParameter-name>MinCount</inParameter-name> </inParameter>
- <inParameter>
+ <inParameter-name>MinCount</inParameter-name> </inParameter>
+ <inParameter>
<inParameter-type>int</inParameter-type>
- <inParameter-name>MaxCount</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
+ <inParameter-name>MaxCount</inParameter-name> </inParameter> </inParameter-list>
+ <outParameter-list>
<outParameter>
<outParameter-type>objref</outParameter-type>
- <outParameter-name>aVisu</outParameter-name> </outParameter>
- <outParameter>
+ <outParameter-name>aVisu</outParameter-name> </outParameter>
+ <outParameter>
<outParameter-type>objref</outParameter-type>
- <outParameter-name>aResult</outParameter-name> </outParameter>
- <outParameter>
+ <outParameter-name>aResult</outParameter-name> </outParameter>
+ <outParameter>
<outParameter-type>int</outParameter-type>
- <outParameter-name>ViewCount</outParameter-name> </outParameter>
- <outParameter>
+ <outParameter-name>ViewCount</outParameter-name> </outParameter>
+ <outParameter>
<outParameter-type>int</outParameter-type>
- <outParameter-name>MinCount</outParameter-name> </outParameter>
- <outParameter>
+ <outParameter-name>MinCount</outParameter-name> </outParameter>
+ <outParameter>
<outParameter-type>int</outParameter-type>
- <outParameter-name>MaxCount</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
+ <outParameter-name>MaxCount</outParameter-name> </outParameter> </outParameter-list> </service>
+ <DataStream-list/>
+ <PyFunction-list>
<PyFunction>
<FuncName>EndLoop</FuncName>
- <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/5/2004 - 12:59:28</creation-date>
- <lastmodification-date>6/5/2004 - 12:59:28</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>?</comment>
- <x-position>773</x-position>
- <y-position>224</y-position> </node>
- <node>
+ <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
+ <creation-date>26/1/2005 - 15:3:29</creation-date>
+ <lastmodification-date>26/1/2005 - 15:3:29</lastmodification-date>
+ <editor-release>1.05</editor-release>
+ <author>?</author>
+ <container>?</container>
+ <comment>Compute Node</comment>
+ <x-position>773</x-position>
+ <y-position>224</y-position> </node>
+ <node>
<component-name>?</component-name>
- <interface-name>?</interface-name>
- <node-name>CreateView</node-name>
- <kind>3</kind>
- <coupled-node>?</coupled-node>
- <service>
+ <interface-name>?</interface-name>
+ <node-name>CreateView</node-name>
+ <kind>3</kind>
+ <coupled-node>?</coupled-node>
+ <service>
<service-name>CreateView</service-name>
- <inParameter-list>
+ <inParameter-list>
<inParameter>
<inParameter-type>objref</inParameter-type>
- <inParameter-name>aVisu</inParameter-name> </inParameter>
- <inParameter>
+ <inParameter-name>aVisu</inParameter-name> </inParameter>
+ <inParameter>
<inParameter-type>objref</inParameter-type>
- <inParameter-name>aResult</inParameter-name> </inParameter> </inParameter-list>
- <outParameter-list>
+ <inParameter-name>aResult</inParameter-name> </inParameter> </inParameter-list>
+ <outParameter-list>
<outParameter>
<outParameter-type>objref</outParameter-type>
- <outParameter-name>aView</outParameter-name> </outParameter>
- <outParameter>
+ <outParameter-name>aView</outParameter-name> </outParameter>
+ <outParameter>
<outParameter-type>objref</outParameter-type>
- <outParameter-name>theVisu</outParameter-name> </outParameter>
- <outParameter>
+ <outParameter-name>theVisu</outParameter-name> </outParameter>
+ <outParameter>
<outParameter-type>objref</outParameter-type>
- <outParameter-name>theResult</outParameter-name> </outParameter> </outParameter-list> </service>
- <Parameter-list/>
- <PyFunction-list>
+ <outParameter-name>theResult</outParameter-name> </outParameter> </outParameter-list> </service>
+ <DataStream-list/>
+ <PyFunction-list>
<PyFunction>
<FuncName>CreateView</FuncName>
- <PyFunc><![CDATA[def CreateView(aVisu,aResult) : ]]></PyFunc>
- <PyFunc><![CDATA[ vm=aVisu.GetViewManager() ]]></PyFunc>
- <PyFunc><![CDATA[ aView=vm.Create3DView() ]]></PyFunc>
- <PyFunc><![CDATA[ theVisu=aVisu ]]></PyFunc>
- <PyFunc><![CDATA[ theResult=aResult ]]></PyFunc>
- <PyFunc><![CDATA[ return aView,theVisu,theResult ]]></PyFunc> </PyFunction> </PyFunction-list>
- <creation-date>6/5/2004 - 12:59:28</creation-date>
- <lastmodification-date>6/5/2004 - 12:59:28</lastmodification-date>
- <editor-release>1.05</editor-release>
- <author>?</author>
- <container>?</container>
- <comment>Compute Node</comment>
- <x-position>221</x-position>
- <y-position>563</y-position> </node> </node-list>
- <link-list>
+ <PyFunc><![CDATA[def CreateView(aVisu,aResult) : ]]></PyFunc>
+ <PyFunc><![CDATA[ vm=aVisu.GetViewManager() ]]></PyFunc>
+ <PyFunc><![CDATA[ aView=vm.Create3DView() ]]></PyFunc>
+ <PyFunc><![CDATA[ theVisu=aVisu ]]></PyFunc>
+ <PyFunc><![CDATA[ theResult=aResult ]]></PyFunc>
+ <PyFunc><![CDATA[ return aView,theVisu,theResult ]]></PyFunc> </PyFunction> </PyFunction-list>
+ <creation-date>26/1/2005 - 15:3:29</creation-date>
+ <lastmodification-date>26/1/2005 - 15:3:29</lastmodification-date>
+ <editor-release>1.05</editor-release>
+ <author>?</author>
+ <container>?</container>
+ <comment>Compute Node</comment>
+ <x-position>221</x-position>
+ <y-position>563</y-position> </node> </node-list>
+ <link-list>
<link>
<fromnode-name>InitDisplay</fromnode-name>
- <fromserviceparameter-name>aVisu</fromserviceparameter-name>
- <tonode-name>LoopOnViews</tonode-name>
- <toserviceparameter-name>InGate</toserviceparameter-name>
- <coord-list/> </link>
- <link>
+ <fromserviceparameter-name>aVisu</fromserviceparameter-name>
+ <tonode-name>LoopOnViews</tonode-name>
+ <toserviceparameter-name>aVisu</toserviceparameter-name>
+ <coord-list/> </link>
+ <link>
<fromnode-name>InitDisplay</fromnode-name>
- <fromserviceparameter-name>aVisu</fromserviceparameter-name>
- <tonode-name>LoopOnViews</tonode-name>
- <toserviceparameter-name>aVisu</toserviceparameter-name>
- <coord-list/> </link>
- <link>
-<fromnode-name>InitDisplay</fromnode-name>
- <fromserviceparameter-name>myResult</fromserviceparameter-name>
- <tonode-name>LoopOnViews</tonode-name>
- <toserviceparameter-name>aResult</toserviceparameter-name>
- <coord-list/> </link>
- <link>
+ <fromserviceparameter-name>myResult</fromserviceparameter-name>
+ <tonode-name>LoopOnViews</tonode-name>
+ <toserviceparameter-name>aResult</toserviceparameter-name>
+ <coord-list/> </link>
+ <link>
<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndOfInit</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
+ <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
+ <tonode-name>EndOfInit</tonode-name>
+ <toserviceparameter-name>DoLoop</toserviceparameter-name>
+ <coord-list/> </link>
+ <link>
<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>index</fromserviceparameter-name>
- <tonode-name>EndOfInit</tonode-name>
- <toserviceparameter-name>index</toserviceparameter-name>
- <coord-list/> </link>
- <link>
+ <fromserviceparameter-name>index</fromserviceparameter-name>
+ <tonode-name>EndOfInit</tonode-name>
+ <toserviceparameter-name>index</toserviceparameter-name>
+ <coord-list/> </link>
+ <link>
<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>index</fromserviceparameter-name>
- <tonode-name>DisplayVitesse</tonode-name>
- <toserviceparameter-name>index</toserviceparameter-name>
- <coord-list>
+ <fromserviceparameter-name>index</fromserviceparameter-name>
+ <tonode-name>DisplayVitesse</tonode-name>
+ <toserviceparameter-name>index</toserviceparameter-name>
+ <coord-list>
<coord>
<x>590</x>
- <y>587</y> </coord>
- <coord>
+ <y>587</y> </coord>
+ <coord>
<x>591</x>
- <y>527</y> </coord> </coord-list> </link>
- <link>
+ <y>527</y> </coord> </coord-list> </link>
+ <link>
<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>min</fromserviceparameter-name>
- <tonode-name>EndOfInit</tonode-name>
- <toserviceparameter-name>min</toserviceparameter-name>
- <coord-list/> </link>
- <link>
+ <fromserviceparameter-name>min</fromserviceparameter-name>
+ <tonode-name>EndOfInit</tonode-name>
+ <toserviceparameter-name>min</toserviceparameter-name>
+ <coord-list/> </link>
+ <link>
<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>max</fromserviceparameter-name>
- <tonode-name>EndOfInit</tonode-name>
- <toserviceparameter-name>max</toserviceparameter-name>
- <coord-list/> </link>
- <link>
+ <fromserviceparameter-name>max</fromserviceparameter-name>
+ <tonode-name>EndOfInit</tonode-name>
+ <toserviceparameter-name>max</toserviceparameter-name>
+ <coord-list/> </link>
+ <link>
<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>aVisu</fromserviceparameter-name>
- <tonode-name>EndOfInit</tonode-name>
- <toserviceparameter-name>aVisu</toserviceparameter-name>
- <coord-list/> </link>
- <link>
+ <fromserviceparameter-name>aVisu</fromserviceparameter-name>
+ <tonode-name>EndOfInit</tonode-name>
+ <toserviceparameter-name>aVisu</toserviceparameter-name>
+ <coord-list/> </link>
+ <link>
<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>aVisu</fromserviceparameter-name>
- <tonode-name>DisplayVitesse</tonode-name>
- <toserviceparameter-name>aVisu</toserviceparameter-name>
- <coord-list/> </link>
- <link>
+ <fromserviceparameter-name>aVisu</fromserviceparameter-name>
+ <tonode-name>DisplayVitesse</tonode-name>
+ <toserviceparameter-name>aVisu</toserviceparameter-name>
+ <coord-list/> </link>
+ <link>
<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>aView</fromserviceparameter-name>
- <tonode-name>EndOfInit</tonode-name>
- <toserviceparameter-name>aView</toserviceparameter-name>
- <coord-list/> </link>
- <link>
+ <fromserviceparameter-name>aView</fromserviceparameter-name>
+ <tonode-name>EndOfInit</tonode-name>
+ <toserviceparameter-name>aView</toserviceparameter-name>
+ <coord-list/> </link>
+ <link>
<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>aView</fromserviceparameter-name>
- <tonode-name>DisplayVitesse</tonode-name>
- <toserviceparameter-name>aView</toserviceparameter-name>
- <coord-list/> </link>
- <link>
+ <fromserviceparameter-name>aView</fromserviceparameter-name>
+ <tonode-name>DisplayVitesse</tonode-name>
+ <toserviceparameter-name>aView</toserviceparameter-name>
+ <coord-list/> </link>
+ <link>
<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>aResult</fromserviceparameter-name>
- <tonode-name>DisplayVitesse</tonode-name>
- <toserviceparameter-name>aResult</toserviceparameter-name>
- <coord-list/> </link>
- <link>
+ <fromserviceparameter-name>aResult</fromserviceparameter-name>
+ <tonode-name>DisplayVitesse</tonode-name>
+ <toserviceparameter-name>aResult</toserviceparameter-name>
+ <coord-list/> </link>
+ <link>
<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>x1</fromserviceparameter-name>
- <tonode-name>EndOfInit</tonode-name>
- <toserviceparameter-name>x1</toserviceparameter-name>
- <coord-list/> </link>
- <link>
+ <fromserviceparameter-name>x1</fromserviceparameter-name>
+ <tonode-name>EndOfInit</tonode-name>
+ <toserviceparameter-name>x1</toserviceparameter-name>
+ <coord-list/> </link>
+ <link>
<fromnode-name>Init</fromnode-name>
- <fromserviceparameter-name>x1</fromserviceparameter-name>
- <tonode-name>DisplayVitesse</tonode-name>
- <toserviceparameter-name>x1</toserviceparameter-name>
- <coord-list/> </link>
- <link>
+ <fromserviceparameter-name>x1</fromserviceparameter-name>
+ <tonode-name>DisplayVitesse</tonode-name>
+ <toserviceparameter-name>x1</toserviceparameter-name>
+ <coord-list/> </link>
+ <link>
<fromnode-name>EndOfInit</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
+ <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
+ <tonode-name>Init</tonode-name>
+ <toserviceparameter-name>DoLoop</toserviceparameter-name>
+ <coord-list/> </link>
+ <link>
<fromnode-name>EndOfInit</fromnode-name>
- <fromserviceparameter-name>aResult</fromserviceparameter-name>
- <tonode-name>EndOfLoopOnViews</tonode-name>
- <toserviceparameter-name>aResult</toserviceparameter-name>
- <coord-list>
+ <fromserviceparameter-name>aResult</fromserviceparameter-name>
+ <tonode-name>EndOfLoopOnViews</tonode-name>
+ <toserviceparameter-name>aResult</toserviceparameter-name>
+ <coord-list>
<coord>
<x>762</x>
- <y>288</y> </coord>
- <coord>
+ <y>288</y> </coord>
+ <coord>
<x>763</x>
- <y>424</y> </coord>
- <coord>
+ <y>424</y> </coord>
+ <coord>
<x>972</x>
- <y>425</y> </coord>
- <coord>
+ <y>425</y> </coord>
+ <coord>
<x>971</x>
- <y>687</y> </coord> </coord-list> </link>
- <link>
+ <y>687</y> </coord> </coord-list> </link>
+ <link>
<fromnode-name>DisplayVitesse</fromnode-name>
- <fromserviceparameter-name>theResult</fromserviceparameter-name>
- <tonode-name>EndOfInit</tonode-name>
- <toserviceparameter-name>aResult</toserviceparameter-name>
- <coord-list>
+ <fromserviceparameter-name>theResult</fromserviceparameter-name>
+ <tonode-name>EndOfInit</tonode-name>
+ <toserviceparameter-name>aResult</toserviceparameter-name>
+ <coord-list>
<coord>
<x>787</x>
- <y>687</y> </coord>
- <coord>
+ <y>687</y> </coord>
+ <coord>
<x>786</x>
- <y>585</y> </coord> </coord-list> </link>
- <link>
+ <y>585</y> </coord> </coord-list> </link>
+ <link>
<fromnode-name>LoopOnViews</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>EndOfLoopOnViews</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
+ <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
+ <tonode-name>EndOfLoopOnViews</tonode-name>
+ <toserviceparameter-name>DoLoop</toserviceparameter-name>
+ <coord-list/> </link>
+ <link>
<fromnode-name>LoopOnViews</fromnode-name>
- <fromserviceparameter-name>aVisu</fromserviceparameter-name>
- <tonode-name>EndOfLoopOnViews</tonode-name>
- <toserviceparameter-name>aVisu</toserviceparameter-name>
- <coord-list/> </link>
- <link>
+ <fromserviceparameter-name>aVisu</fromserviceparameter-name>
+ <tonode-name>EndOfLoopOnViews</tonode-name>
+ <toserviceparameter-name>aVisu</toserviceparameter-name>
+ <coord-list/> </link>
+ <link>
<fromnode-name>LoopOnViews</fromnode-name>
- <fromserviceparameter-name>aVisu</fromserviceparameter-name>
- <tonode-name>CreateView</tonode-name>
- <toserviceparameter-name>aVisu</toserviceparameter-name>
- <coord-list>
+ <fromserviceparameter-name>aVisu</fromserviceparameter-name>
+ <tonode-name>CreateView</tonode-name>
+ <toserviceparameter-name>aVisu</toserviceparameter-name>
+ <coord-list>
<coord>
<x>186</x>
- <y>643</y> </coord>
- <coord>
+ <y>643</y> </coord>
+ <coord>
<x>186</x>
- <y>442</y> </coord>
- <coord>
+ <y>442</y> </coord>
+ <coord>
<x>400</x>
- <y>441</y> </coord>
- <coord>
+ <y>441</y> </coord>
+ <coord>
<x>401</x>
- <y>251</y> </coord> </coord-list> </link>
- <link>
+ <y>251</y> </coord> </coord-list> </link>
+ <link>
<fromnode-name>LoopOnViews</fromnode-name>
- <fromserviceparameter-name>aResult</fromserviceparameter-name>
- <tonode-name>CreateView</tonode-name>
- <toserviceparameter-name>aResult</toserviceparameter-name>
- <coord-list>
+ <fromserviceparameter-name>aResult</fromserviceparameter-name>
+ <tonode-name>CreateView</tonode-name>
+ <toserviceparameter-name>aResult</toserviceparameter-name>
+ <coord-list>
<coord>
<x>169</x>
- <y>671</y> </coord>
- <coord>
+ <y>671</y> </coord>
+ <coord>
<x>170</x>
- <y>412</y> </coord>
- <coord>
+ <y>412</y> </coord>
+ <coord>
<x>386</x>
- <y>413</y> </coord>
- <coord>
+ <y>413</y> </coord>
+ <coord>
<x>387</x>
- <y>280</y> </coord> </coord-list> </link>
- <link>
+ <y>280</y> </coord> </coord-list> </link>
+ <link>
<fromnode-name>LoopOnViews</fromnode-name>
- <fromserviceparameter-name>ViewCount</fromserviceparameter-name>
- <tonode-name>EndOfLoopOnViews</tonode-name>
- <toserviceparameter-name>ViewCount</toserviceparameter-name>
- <coord-list/> </link>
- <link>
+ <fromserviceparameter-name>ViewCount</fromserviceparameter-name>
+ <tonode-name>EndOfLoopOnViews</tonode-name>
+ <toserviceparameter-name>ViewCount</toserviceparameter-name>
+ <coord-list/> </link>
+ <link>
<fromnode-name>LoopOnViews</fromnode-name>
- <fromserviceparameter-name>MinCount</fromserviceparameter-name>
- <tonode-name>EndOfLoopOnViews</tonode-name>
- <toserviceparameter-name>MinCount</toserviceparameter-name>
- <coord-list/> </link>
- <link>
+ <fromserviceparameter-name>MinCount</fromserviceparameter-name>
+ <tonode-name>EndOfLoopOnViews</tonode-name>
+ <toserviceparameter-name>MinCount</toserviceparameter-name>
+ <coord-list/> </link>
+ <link>
<fromnode-name>LoopOnViews</fromnode-name>
- <fromserviceparameter-name>MaxCount</fromserviceparameter-name>
- <tonode-name>EndOfLoopOnViews</tonode-name>
- <toserviceparameter-name>MaxCount</toserviceparameter-name>
- <coord-list/> </link>
- <link>
+ <fromserviceparameter-name>MaxCount</fromserviceparameter-name>
+ <tonode-name>EndOfLoopOnViews</tonode-name>
+ <toserviceparameter-name>MaxCount</toserviceparameter-name>
+ <coord-list/> </link>
+ <link>
<fromnode-name>EndOfLoopOnViews</fromnode-name>
- <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
- <tonode-name>LoopOnViews</tonode-name>
- <toserviceparameter-name>DoLoop</toserviceparameter-name>
- <coord-list/> </link>
- <link>
+ <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
+ <tonode-name>LoopOnViews</tonode-name>
+ <toserviceparameter-name>DoLoop</toserviceparameter-name>
+ <coord-list/> </link>
+ <link>
<fromnode-name>CreateView</fromnode-name>
- <fromserviceparameter-name>aView</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>aView</toserviceparameter-name>
- <coord-list/> </link>
- <link>
+ <fromserviceparameter-name>aView</fromserviceparameter-name>
+ <tonode-name>Init</tonode-name>
+ <toserviceparameter-name>aView</toserviceparameter-name>
+ <coord-list/> </link>
+ <link>
<fromnode-name>CreateView</fromnode-name>
- <fromserviceparameter-name>theVisu</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>aVisu</toserviceparameter-name>
- <coord-list/> </link>
- <link>
+ <fromserviceparameter-name>theVisu</fromserviceparameter-name>
+ <tonode-name>Init</tonode-name>
+ <toserviceparameter-name>aVisu</toserviceparameter-name>
+ <coord-list/> </link>
+ <link>
<fromnode-name>CreateView</fromnode-name>
- <fromserviceparameter-name>theResult</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>aResult</toserviceparameter-name>
- <coord-list/> </link> </link-list>
- <data-list>
+ <fromserviceparameter-name>theResult</fromserviceparameter-name>
+ <tonode-name>Init</tonode-name>
+ <toserviceparameter-name>aResult</toserviceparameter-name>
+ <coord-list/> </link> </link-list>
+ <data-list>
<data>
<fromnode-name>aNewDataFlow</fromnode-name>
- <fromserviceparameter-name>Init\index</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>index</toserviceparameter-name>
- <data-value>
+ <fromserviceparameter-name>Init__index</fromserviceparameter-name>
+ <tonode-name>Init</tonode-name>
+ <toserviceparameter-name>index</toserviceparameter-name>
+ <data-value>
<value-type>3</value-type>
- <value>1</value> </data-value>
- <coord-list/> </data>
- <data>
+ <value>1</value> </data-value>
+ <coord-list/> </data>
+ <data>
<fromnode-name>aNewDataFlow</fromnode-name>
- <fromserviceparameter-name>Init\min</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>min</toserviceparameter-name>
- <data-value>
+ <fromserviceparameter-name>Init__min</fromserviceparameter-name>
+ <tonode-name>Init</tonode-name>
+ <toserviceparameter-name>min</toserviceparameter-name>
+ <data-value>
<value-type>3</value-type>
- <value>1</value> </data-value>
- <coord-list/> </data>
- <data>
+ <value>1</value> </data-value>
+ <coord-list/> </data>
+ <data>
<fromnode-name>aNewDataFlow</fromnode-name>
- <fromserviceparameter-name>Init\max</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>max</toserviceparameter-name>
- <data-value>
+ <fromserviceparameter-name>Init__max</fromserviceparameter-name>
+ <tonode-name>Init</tonode-name>
+ <toserviceparameter-name>max</toserviceparameter-name>
+ <data-value>
<value-type>3</value-type>
- <value>10</value> </data-value>
- <coord-list/> </data>
- <data>
+ <value>10</value> </data-value>
+ <coord-list/> </data>
+ <data>
<fromnode-name>aNewDataFlow</fromnode-name>
- <fromserviceparameter-name>Init\x1</fromserviceparameter-name>
- <tonode-name>Init</tonode-name>
- <toserviceparameter-name>x1</toserviceparameter-name>
- <data-value>
+ <fromserviceparameter-name>Init__x1</fromserviceparameter-name>
+ <tonode-name>Init</tonode-name>
+ <toserviceparameter-name>x1</toserviceparameter-name>
+ <data-value>
<value-type>7</value-type>
- <value>1</value> </data-value>
- <coord-list/> </data>
- <data>
+ <value>1</value> </data-value>
+ <coord-list/> </data>
+ <data>
<fromnode-name>aNewDataFlow</fromnode-name>
- <fromserviceparameter-name>LoopOnViews\ViewCount</fromserviceparameter-name>
- <tonode-name>LoopOnViews</tonode-name>
- <toserviceparameter-name>ViewCount</toserviceparameter-name>
- <data-value>
+ <fromserviceparameter-name>LoopOnViews__ViewCount</fromserviceparameter-name>
+ <tonode-name>LoopOnViews</tonode-name>
+ <toserviceparameter-name>ViewCount</toserviceparameter-name>
+ <data-value>
<value-type>3</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
+ <value>0</value> </data-value>
+ <coord-list/> </data>
+ <data>
<fromnode-name>aNewDataFlow</fromnode-name>
- <fromserviceparameter-name>LoopOnViews\MinCount</fromserviceparameter-name>
- <tonode-name>LoopOnViews</tonode-name>
- <toserviceparameter-name>MinCount</toserviceparameter-name>
- <data-value>
+ <fromserviceparameter-name>LoopOnViews__MinCount</fromserviceparameter-name>
+ <tonode-name>LoopOnViews</tonode-name>
+ <toserviceparameter-name>MinCount</toserviceparameter-name>
+ <data-value>
<value-type>3</value-type>
- <value>0</value> </data-value>
- <coord-list/> </data>
- <data>
+ <value>0</value> </data-value>
+ <coord-list/> </data>
+ <data>
<fromnode-name>aNewDataFlow</fromnode-name>
- <fromserviceparameter-name>LoopOnViews\MaxCount</fromserviceparameter-name>
- <tonode-name>LoopOnViews</tonode-name>
- <toserviceparameter-name>MaxCount</toserviceparameter-name>
- <data-value>
+ <fromserviceparameter-name>LoopOnViews__MaxCount</fromserviceparameter-name>
+ <tonode-name>LoopOnViews</tonode-name>
+ <toserviceparameter-name>MaxCount</toserviceparameter-name>
+ <data-value>
<value-type>3</value-type>
- <value>10</value> </data-value>
- <coord-list/> </data> </data-list></dataflow>
+ <value>10</value> </data-value>
+ <coord-list/> </data> </data-list> </dataflow></supergraph>